This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@simplewebauthn/iso-webcrypto
TypeScript icon, indicating that this package has built-in type declarations

7.4.0 • Public • Published

@simplewebauthn/iso-webcrypto

WebAuthn npm (scoped)

A small library for accessing a runtime's WebCrypto API. Supports browsers, and Node projects using ESM and/or CommonJS.

This library is not officially supported for use outside of SimpleWebAuthn!

Install

npm install --save @simplewebauthn/iso-webcrypto

Usage

import WebCrypto from '@simplewebauthn/iso-webcrypto';

WebCrypto.randomUUID (); // => '43e16416-7a2a-4c00-b2e8-1ea7a57adfb9'

Acknowledgements

Thank you to Fabio Spampinato and their tiny-webcrypto project that all but solves the issue of isomorphic WebCrypto use across browsers and Node. I forked that project and made this one to add in support for Node libraries written in TypeScript that transpile to CommonJS modules.

Package Sidebar

Install

npm i @simplewebauthn/iso-webcrypto

Weekly Downloads

5,287

Version

7.4.0

License

MIT

Unpacked Size

4.98 kB

Total Files

9

Last publish

Collaborators

  • iamkale