Skip to content
This repository was archived by the owner on Dec 11, 2025. It is now read-only.

Repository files navigation

🔑 @topgunbuild/webcrypto

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

npmbundlephobiaLicense: MIT

What?

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

Install

npm install @topgunbuild/webcrypto

Usage

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

constcrypto=require('@topgunbuild/webcrypto')// orimportcryptofrom'@topgunbuild/webcrypto';crypto.randomUUID();// => '43e16416-7a2a-4c00-b2e8-1ea7a57adfb9'

License

MIT

About

⚠️ Archived. See github.com/TopGunBuild/topgun

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages