Reputation: 308
I was wondering if there's a chance to distribute software that uses bcrypt without having to depend on the user having node-gyp installed.
The bcrypt npm module does depend on the user having node-gyp installed.
Upvotes: 4
Views: 1386
Reputation: 146134
bcryptjs is a pure-javascript implementation and available in npm.
Upvotes: 6
Reputation: 4848
This question has a good overview of the options available.
Based on that, and a cursory googling, javascript-bcrypt may be your best bet. It's not a Node module, but including it is super simple.
Upvotes: 0