# cls-bcrypt

> Continuation local storage shim for bcrypt

Latest version **1.0.0** (published 2015-03-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install cls-bcrypt
pnpm add cls-bcrypt
yarn add cls-bcrypt
bun add cls-bcrypt
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2015-03-17 |
| First published | 2015-03-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | David M. Lee, II |
| Maintainers | leedm777 |
| Keywords | continuation-local-storage, bcrypt, shim, glue |

## Links

- npm: https://www.npmjs.com/package/cls-bcrypt
- Repository: https://github.com/building5/cls-bcrypt
- Issues: https://github.com/building5/cls-bcrypt/issues
- npm.io page: https://npm.io/package/cls-bcrypt

## Dependencies (1)

- [shimmer](https://npm.io/package/shimmer.md) ^1.0.0

## Alternatives

- [localforage](https://npm.io/package/localforage.md) — 6.2M weekly downloads
- [localforage-observable](https://npm.io/package/localforage-observable.md) — 30.8K weekly downloads
- [@y/y](https://npm.io/package/@y/y.md) — 30.1K weekly downloads
- [@metaobjectsdev/render](https://npm.io/package/@metaobjectsdev/render.md) — 3.5K weekly downloads
- [@ledgerhq/coin-algorand](https://npm.io/package/@ledgerhq/coin-algorand.md) — 1.1K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2015-03-17

## README

# 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.

```js
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`.

 [cls-bcrypt]: https://www.npmjs.com/package/cls-bcrypt
 [bcrypt]: https://www.npmjs.com/package/bcrypt
 [continuation-local-storage]: https://www.npmjs.com/package/continuation-local-storage

---
_Source: https://npm.io/package/cls-bcrypt · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
