# exposed-promise

> Create Promises with optional handlers and publicly exposed resolve / reject methods.

Latest version **1.0.0** (published 2016-08-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install exposed-promise
pnpm add exposed-promise
yarn add exposed-promise
bun add exposed-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.0.0 |
| Published | 2016-08-24 |
| First published | 2016-08-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Elliot Chong |
| Maintainers | elliotchong |

## Links

- npm: https://www.npmjs.com/package/exposed-promise
- Repository: https://github.com/ElliotChong/exposed-promise
- Issues: https://github.com/ElliotChong/exposed-promise/issues
- npm.io page: https://npm.io/package/exposed-promise

## Dependencies (2)

- [lodash](https://npm.io/package/lodash.md) ^4.15.0
- [bluebird](https://npm.io/package/bluebird.md) ^3.4.1

## Recent versions

- 1.0.0 (latest) — 2016-08-24

## README

# exposed-promise

Create Promises with optional handlers and publicly exposed resolve / reject methods.

## Installation

```bash
$ npm install exposed-promise
```

## Usage

```javascript
import ExposedPromise from 'exposed-promise'

const promise = new ExposedPromise()

setTimeout(() => {
	promise.resolve('Exposed resolve!')
}, 1000)

promise.then((log) => {
	console.log(`Completed: ${log}`)
})
```

## License

(The MIT License)

Copyright (c) 2014 Elliot Chong &lt;code+exposed-promise@elliotjameschong.com&gt;

	Permission is hereby granted, free of charge, to any person obtaining
	a copy of this software and associated documentation files (the
	'Software'), to deal in the Software without restriction, including
	without limitation the rights to use, copy, modify, merge, publish,
	distribute, sublicense, and/or sell copies of the Software, and to
	permit persons to whom the Software is furnished to do so, subject to
	the following conditions:

	The above copyright notice and this permission notice shall be
	included in all copies or substantial portions of the Software.

	THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
	EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
	MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
	IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
	CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
	TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
	SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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