0.0.2 • Published 2 years ago

iron-webcrypto-vvo v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

iron-webcrypto

This module is a drop-in replacement for @hapi/iron, written using the Web Crypto API that makes it compatible with browser and edge environments.


Installation

To use this module, run:

npm add iron-webcrypto
npm remove @hapi/iron

and change:

const Iron = require('@hapi/iron');
// or
import Iron from '@hapi/iron';

to:

const Iron = require('iron-webcrypto');
// or
import * as Iron from 'iron-webcrypto';