# @f/object-to-promise

> Convert an object to a promise.

Latest version **1.1.3** (published 2015-12-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install @f/object-to-promise
pnpm add @f/object-to-promise
yarn add @f/object-to-promise
bun add @f/object-to-promise
```

## 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.3 |
| Published | 2015-12-16 |
| First published | 2015-12-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | f |

## Links

- npm: https://www.npmjs.com/package/@f/object-to-promise
- Repository: https://github.com/micro-js/object-to-promise
- Homepage: https://github.com/micro-js/object-to-promise#readme
- Issues: https://github.com/micro-js/object-to-promise/issues
- npm.io page: https://npm.io/package/@f/object-to-promise

## Dependencies (3)

- [@f/values](https://npm.io/package/@f/values.md) ^1.0.0
- [@f/zip-obj](https://npm.io/package/@f/zip-obj.md) ^1.0.0
- [@f/curry-once](https://npm.io/package/@f/curry-once.md) ^1.0.0

## Recent versions

- 1.1.3 (latest) — 2015-12-16
- 1.1.2 — 2015-12-16
- 1.1.1 — 2015-12-16
- 1.1.0 — 2015-12-16

## README

# obj-to-promise

[![Build status][travis-image]][travis-url]
[![Git tag][git-image]][git-url]
[![NPM version][npm-image]][npm-url]
[![Code style][standard-image]][standard-url]

Convert an object to a promise.

## Installation

    $ npm install @f/obj-to-promise

## Usage

```js
var objectToPromise = require('@f/obj-to-promise')

objectToPromise({
  1: Promise.resolve(1),
  2: Promise.resolve(2)
}).then(function (obj) {
  console.log(obj) // => { 1: 1, 2: 2 }
})

```

## API

### objectToPromise(object)

- `object` - an object of "resolavables"

**Returns:** a promise

## License

MIT

[travis-image]: https://img.shields.io/travis/micro-js/obj-to-promise.svg?style=flat-square
[travis-url]: https://travis-ci.org/micro-js/obj-to-promise
[git-image]: https://img.shields.io/github/tag/micro-js/obj-to-promise.svg
[git-url]: https://github.com/micro-js/obj-to-promise
[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat
[standard-url]: https://github.com/feross/standard
[npm-image]: https://img.shields.io/npm/v/@f/obj-to-promise.svg?style=flat-square
[npm-url]: https://npmjs.org/package/@f/obj-to-promise

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