We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6051e3a + 1cddbb0 commit 7f01a67Copy full SHA for 7f01a67
crypto.js
@@ -1,6 +1,6 @@
1
// Tools for encrypting and decrypting passwords.
2
// Basically promise-friendly wrappers for bcrypt.
3
-var bcrypt = require('bcrypt');
+var bcrypt = require('bcrypt-nodejs');
4
5
// Returns a promise for a hashed password string.
6
function hash(password) {
package.json
@@ -9,7 +9,7 @@
9
},
10
"license": "BSD-3-Clause",
11
"dependencies": {
12
- "bcrypt": "~0.8",
+ "bcrypt-nodejs": "0.0.3",
13
"body-parser": "~1.12.4",
14
"deepcopy": "^0.5.0",
15
"express": "~4.2.x",
0 commit comments