Socket
Socket
Sign inDemoInstall

cls-bcrypt

Package Overview
Dependencies
64
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cls-bcrypt

Continuation local storage shim for bcrypt


Version published
Maintainers
1
Install size
33.3 kB
Created

Readme

Source

cls-bcrypt

cls-bcrypt provides a shim layer for bcrypt so that it will work with continuation-local-storage. It does this by binding all callbacks passed to bcrypt's functions.

var cls = require('continuation-local-storage');
var ns = cls.createNamespace('NODESPACE');

var bcrypt = require('bcrypt');

// load shim
require('cls-bcrypt')(ns);

tests

The tests can be run with npm test.

Keywords

FAQs

Last updated on 17 Mar 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc