topgun-webcrypto
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

🔑 topgun-webcrypto

An isomorphic WebCrypto for Javascript in Node and the browser, used in TopGun

semantic-release npm bundlephobia License: MIT

What?

It is an isomorphic WebCrypto object that combines a great Node polyfill and Web Crypto API.

Install

npm install topgun-webcrypto

Usage

There's a simple hashing example below, but there are many more WebCrypto examples here.

const crypto = require('topgun-webcrypto')
// or
import crypto from 'topgun-webcrypto';

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

License

MIT

Package Sidebar

Install

npm i topgun-webcrypto

Weekly Downloads

2

Version

1.0.5

License

MIT

Unpacked Size

159 kB

Total Files

11

Last publish

Collaborators

  • ivkan