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

1.0.0 • Public • Published

isomorphic-webcrypto

Expose the WebCrypto object in browser and NodeJS including types.

All this does is:

exports.default = crypto;

Plus giving it types via:

import { webcrypto } from 'node:crypto';
export default webcrypto;

This way you can use the WebCrypto API the same way in a browser or a NodeJS based project.

Readme

Keywords

Package Sidebar

Install

npm i @panzi/isomorphic-webcrypto

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

2.35 kB

Total Files

5

Last publish

Collaborators

  • panzi