diff --git a/README.md b/README.md index d083fea..8643749 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ -[![Build Status](https://travis-ci.org/Prismatik/password.svg)](https://travis-ci.org/Prismatik/simple-password) +[![Build Status](https://travis-ci.org/Prismatik/simple-password.svg)](https://travis-ci.org/Prismatik/simple-password) -# Password +# Simple Password Simple password hashing and verification. ## Installation -`npm install simple-password +`npm install simple-password` ## Usage diff --git a/index.js b/index.js index 2983ecd..eda3ce2 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,4 @@ -var bcrypt = require('bcrypt'); +var bcrypt = require('bcryptjs'); exports.create = function(pass, salt) { return new Promise((resolve, reject) => { diff --git a/package.json b/package.json index b7111ea..a01ce9d 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ }, "homepage": "https://github.com/Prismatik/simple-password", "dependencies": { - "bcrypt": "^0.8.5" + "bcryptjs": "^2.3.0" }, "devDependencies": { "tap-spec": "^4.1.0", diff --git a/test/index.js b/test/index.js index 6f704ab..d91ea30 100644 --- a/test/index.js +++ b/test/index.js @@ -1,4 +1,4 @@ -var bcrypt = require('bcrypt'); +var bcrypt = require('bcryptjs'); var test = require('tape'); var tapSpec = require('tap-spec'); var password = require('../index');