# @protobufjs/aspromise

> Returns a promise from a node-style callback function.

Latest version **1.1.2** (published 2017-04-24) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install @protobufjs/aspromise
pnpm add @protobufjs/aspromise
yarn add @protobufjs/aspromise
bun add @protobufjs/aspromise
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; high quality score; popular repo.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2017-04-24 |
| First published | 2016-12-12 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 10586 |
| Author | Daniel Wirtz |
| Maintainers | dcode, protobufjs |

## Links

- npm: https://www.npmjs.com/package/@protobufjs/aspromise
- Repository: https://github.com/dcodeIO/protobuf.js
- Homepage: https://github.com/dcodeIO/protobuf.js#readme
- Issues: https://github.com/dcodeIO/protobuf.js/issues
- npm.io page: https://npm.io/package/@protobufjs/aspromise

## Recent versions

- 1.1.2 (latest) — 2017-04-24
- 1.1.1 — 2017-01-25
- 1.1.0 — 2017-01-25
- 1.0.5 — 2017-01-03
- 1.0.4 — 2016-12-20
- 1.0.3 — 2016-12-12
- 1.0.2 — 2016-12-12

## README

@protobufjs/aspromise
=====================
[![npm](https://img.shields.io/npm/v/@protobufjs/aspromise.svg)](https://www.npmjs.com/package/@protobufjs/aspromise)

Returns a promise from a node-style callback function.

API
---

* **asPromise(fn: `function`, ctx: `Object`, ...params: `*`): `Promise<*>`**<br />
  Returns a promise from a node-style callback function.

**License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)

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