@panzi/isomorphic-webcrypto
v1.0.0
Published
Expose the WebCrypto object in browser and NodeJS including types.
Downloads
2
Readme
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.