# @f/array-to-promise

> Convert array to a promise.

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

## Install

```sh
npm install @f/array-to-promise
pnpm add @f/array-to-promise
yarn add @f/array-to-promise
bun add @f/array-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.2.1 |
| Published | 2015-12-16 |
| First published | 2015-12-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | f |

## Links

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

## Recent versions

- 1.2.1 (latest) — 2015-12-16
- 1.2.0 — 2015-12-16
- 1.1.0 — 2015-12-16

## README

# array-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 array to a promise.

## Installation

    $ npm install @f/array-to-promise

## Usage

```js
var arrayToPromise = require('@f/array-to-promise')

arrayToPromise([1, Promise.resolve(2)]).then(function (res) {
  res // => [1, 2]
})

```

## API

### arrayToPromise(array)

- `array` - array of promises and non-promises

**Returns:** array with all promises resolved

## License

MIT

[travis-image]: https://img.shields.io/travis/micro-js/array-to-promise.svg?style=flat-square
[travis-url]: https://travis-ci.org/micro-js/array-to-promise
[git-image]: https://img.shields.io/github/tag/micro-js/array-to-promise.svg
[git-url]: https://github.com/micro-js/array-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/array-to-promise.svg?style=flat-square
[npm-url]: https://npmjs.org/package/@f/array-to-promise

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