# @byungi/p-class

> A inheritable promise.

Latest version **0.2.0** (published 2019-12-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @byungi/p-class
pnpm add @byungi/p-class
yarn add @byungi/p-class
bun add @byungi/p-class
```

## Health

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

Positive: has types; no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2019-12-28 |
| First published | 2019-03-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >= 8 |
| Dependencies | 1 |
| Unpacked size | 2.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | skt-t1-byungi |
| Maintainers | skt-t1-byungi |
| Keywords | promise, class, inherit, extends, extend |

## Links

- npm: https://www.npmjs.com/package/@byungi/p-class
- Repository: https://github.com/skt-t1-byungi/promise/tree/master/packages/p-class
- npm.io page: https://npm.io/package/@byungi/p-class

## Dependencies (1)

- [@byungi/promise-helpers](https://npm.io/package/@byungi/promise-helpers.md) ^0.2.0

## 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.2.0 (latest) — 2019-12-28
- 0.1.3 — 2019-09-21
- 0.1.2 — 2019-03-10
- 0.1.1 — 2019-03-09
- 0.1.0 — 2019-03-09

## README

# @byungi/p-class
A inheritable promise.

## Why?
Alternatives on platforms that can not inherit the built-in promise.

## Example
```js
import PClass from '@byungi/p-class'

class CustomPromise extends PClass {
    constructor(executor){
        super(executor)
    }
}

const promise = new CustomPromise(/* ... */)

promise.then(() => /* ... */)
```

## License
MIT

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