An easy-to-use module that generates and validates Bcrypt hashes.
npm install bcrypt-hash-component --save
const hash = require('bcrypt-hash-component');
const myEpicPassword = 'letmein';
const hashedPassword = hash.generate(myEpicPassword);
hash.validate(myEpicPassword, hashedPassword); // Returns true
This repository is licensed under the MIT License © 2015-2020 Thiradus