Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vilicvane/ruff-promise
ES6 Promise for Ruff (https://ruff.io) based on ThenFail v0.4 (https://github.com/vilic/thenfail).
https://github.com/vilicvane/ruff-promise
Last synced: 20 days ago
JSON representation
ES6 Promise for Ruff (https://ruff.io) based on ThenFail v0.4 (https://github.com/vilic/thenfail).
- Host: GitHub
- URL: https://github.com/vilicvane/ruff-promise
- Owner: vilicvane
- Created: 2016-04-15T08:03:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-04-18T04:19:42.000Z (over 8 years ago)
- Last Synced: 2024-11-30T15:42:00.687Z (23 days ago)
- Language: TypeScript
- Homepage:
- Size: 30.3 KB
- Stars: 7
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ES6 Promise based on [ThenFail](https://github.com/vilic/thenfail) v0.4.
GitHub
## Install
```sh
rap install promise
```## Usage
By requiring this module, it will try to attach `Promise` constructor to `global` if it's not present.
```js
require('promise');var promise = new Promise(function (resolve) {
setTimeout(function () {
resolve('Hello, Ruff!');
});
});promise.then(function (message) {
console.log(message);
});
```## License
MIT License.