Live Table: https://diafygi.github.io/webcrypto-examples/
I couldn't find anywhere that had clear examples of WebCryptoAPI, so I wrote examples and made a live table with them. Pull requests welcome!
127.0.0.1 localhost | |
142.251.12.91 dev.sicepat.com | |
::1 ip6-localhost |
type ErrorWithMessage = { | |
message: string; | |
}; | |
function isErrorWithMessage(error: unknown): error is ErrorWithMessage { | |
return ( | |
typeof error === 'object' && | |
error !== null && | |
'message' in error && | |
typeof (error as Record<string, unknown>).message === 'string' |
Live Table: https://diafygi.github.io/webcrypto-examples/
I couldn't find anywhere that had clear examples of WebCryptoAPI, so I wrote examples and made a live table with them. Pull requests welcome!