# easy-promise

> Pnly Promises/A+ implementation

Latest version **0.1.0** (published 2018-08-10) · BSD-2-Clause license · 0 weekly downloads

## Install

```sh
npm install easy-promise
pnpm add easy-promise
yarn add easy-promise
bun add easy-promise
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2018-08-10 |
| First published | 2016-12-14 |
| Weekly downloads | 0 |
| License | BSD-2-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 17.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | cnwhy |
| Maintainers | cnwhy |
| Keywords | promise |

## Links

- npm: https://www.npmjs.com/package/easy-promise
- Repository: https://github.com/cnwhy/promise
- Homepage: https://github.com/cnwhy/promise#readme
- Issues: https://github.com/cnwhy/promise/issues
- npm.io page: https://npm.io/package/easy-promise

## Alternatives

- [@commercetools/sync-actions](https://npm.io/package/@commercetools/sync-actions.md) — 25.1K weekly downloads
- [cwait](https://npm.io/package/cwait.md) — 21.4K weekly downloads
- [@ledgerhq/hw-app-cosmos](https://npm.io/package/@ledgerhq/hw-app-cosmos.md) — 4.2K weekly downloads
- [@financial-times/o-loading](https://npm.io/package/@financial-times/o-loading.md) — 2.8K weekly downloads
- [fa](https://npm.io/package/fa.md) — 185 weekly downloads

## Recent versions

- 0.1.0 (latest) — 2018-08-10
- 0.0.4 — 2016-12-28
- 0.0.3 — 2016-12-19
- 0.0.2 — 2016-12-15
- 0.0.1 — 2016-12-14

## README

# easy-promise
Pnly Promises/A+ implementation
If you want to make a more powerful `Promise` class, it is recommended to use the [extend-promise](https://github.com/cnwhy/extend-promise) extension.

## API
 - `new Promise`
 - `Promise.defer`
 - `Promise.resolve`
 - `Promise.reject`
 - `Promise.all`
 - `.then`
 - `.catch`
 - `.finally`

## Install
**npm**  
`npm install easy-promise`  
**bower**  
`bower install easy-promise`  

## Use
```
//Internal use of process.nextTick
var Ep = require('esay-promise')

//or Use setImmediate ,Used For high concurrency scenarios
var Ep = require('esay-promise/setImmediate')

//or setTimeout , Used for browser projects
var Ep = require('esay-promise/setTimeout')
```

### In the no Promise browser
 - `dist/easy-Promise.js` (gzip 1.8k)
 - `dist/easy-Promise.min.js` (gzip 1.2k)

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