# bluebird-nodeify

> Use bluebird's nodeify to convert promises to node style callbacks.

Latest version **1.1.1** (published 2016-04-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install bluebird-nodeify
pnpm add bluebird-nodeify
yarn add bluebird-nodeify
bun add bluebird-nodeify
```

## 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.1.1 |
| Published | 2016-04-01 |
| First published | 2015-04-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Adam Crabtree |
| Maintainers | crabdude |
| Keywords | promise, then, nodeify, callback |

## Links

- npm: https://www.npmjs.com/package/bluebird-nodeify
- Repository: https://github.com/crabdude/bluebird-nodeify
- Homepage: https://github.com/crabdude/bluebird-nodeify#readme
- Issues: https://github.com/crabdude/bluebird-nodeify/issues
- npm.io page: https://npm.io/package/bluebird-nodeify

## Alternatives

- [@clerk/clerk-expo](https://npm.io/package/@clerk/clerk-expo.md) — 133.6K weekly downloads
- [@pothos/plugin-authz](https://npm.io/package/@pothos/plugin-authz.md) — 12.4K weekly downloads
- [@bounded-sh/client](https://npm.io/package/@bounded-sh/client.md) — 3.2K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads
- [@nocobase/plugin-verification](https://npm.io/package/@nocobase/plugin-verification.md) — 2.0K weekly downloads

## Recent versions

- 1.1.1 (latest) — 2016-04-01
- 1.1.0 — 2016-02-08
- 1.0.0 — 2015-04-20

## README

# Nodeify

Use `bluebird`'s `promise.nodeify(callback)` method as a function to convert non-bluebird promises to node style callbacks.

## Installation

```bash
$ npm install bluebird-nodeify
```

## Usage

### Functional

Call `nodeify` directly passing the `promise`, `callback` and an optional `options` argument.

```javascript
var nodeify = require('bluebird-nodeify')

function myAsyncMethod(arg, callback) {
  return nodeify(myPromiseMethod(arg), callback)
}
```

See the [bluebird docs](https://github.com/petkaantonov/bluebird/blob/master/API.md#nodeifyfunction-callback--object-options---promise) for full feature set and supported options like [spread](https://github.com/petkaantonov/bluebird/blob/master/API.md#option-spread).

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