Osk
Osk

Reputation: 308

Is there any NodeJS bcrypt module that does not rely on node-gyp?

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

Answers (2)

Peter Lyons
Peter Lyons

Reputation: 146134

bcryptjs is a pure-javascript implementation and available in npm.

Upvotes: 6

Just Jake
Just Jake

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

Related Questions