Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace bcrypt with bcryptjs #3

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var bcrypt = require('bcrypt');
var bcrypt = require('bcryptjs');

exports.create = function(pass, salt) {
return new Promise((resolve, reject) => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
@@ -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');
Expand Down