Check out https://npmjs.org/package/bcryptjs, it’s fully compatible with bcrypt just without the dependencies.
Or https://npmjs.org/package/simplecrypt if you don’t want the crypto boilerplate and just need to encrypt and decrypt strings.
Check out https://npmjs.org/package/bcryptjs, it’s fully compatible with bcrypt just without the dependencies.
Or https://npmjs.org/package/simplecrypt if you don’t want the crypto boilerplate and just need to encrypt and decrypt strings.