# chor-promise

> A simple implementation of Promise/A+ and its built-in methods

Latest version **1.2.1** (published 2021-08-25) · ISC license · 0 weekly downloads

## Install

```sh
npm install chor-promise
pnpm add chor-promise
yarn add chor-promise
bun add chor-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 | 2021-08-25 |
| First published | 2021-08-16 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 14.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | chor |

## Links

- npm: https://www.npmjs.com/package/chor-promise
- npm.io page: https://npm.io/package/chor-promise

## Recent versions

- 1.2.1 (latest) — 2021-08-25
- 1.2.0 — 2021-08-16
- 1.1.0 — 2021-08-16
- 1.0.2 — 2021-08-16
- 1.0.1 — 2021-08-16
- 1.0.0 — 2021-08-16

## README

# chor-promise

> A simple implementation of Promise/A+ and its built-in methods.

### Usage

install it:
```bash
npm i chor-promise -D
```
use it in Node environment:
```js
const MyPromise = require('chor-promise')

new MyPromise((resolve,reject) => {
  resolve('Hello MyPromise!')
}).then(res => {
  console.log(res)
})
```
use it in browser environment:
```js
import MyPromise from 'chor-promise'

new MyPromise((resolve,reject) => {
  resolve('Hello MyPromise!')
}).then(res => {
  console.log(res)
})
```

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