https://github.com/zerotohero-dev/tiny-promise
A Featherweight, damn fast, and "non-compliant" promise implementation. -- use at your own risk.
https://github.com/zerotohero-dev/tiny-promise
Last synced: 4 months ago
JSON representation
A Featherweight, damn fast, and "non-compliant" promise implementation. -- use at your own risk.
- Host: GitHub
- URL: https://github.com/zerotohero-dev/tiny-promise
- Owner: zerotohero-dev
- License: mit
- Created: 2014-05-06T18:18:01.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-05-07T05:20:55.000Z (about 12 years ago)
- Last Synced: 2025-08-21T16:06:12.195Z (10 months ago)
- Size: 125 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
tiny-promise
============
A Featherweight, damn fast, and "non-compliant" promise implementation. -- use at your own risk.
> If you only need something that `then`s, and don't care about strict Promises/A+ compatibility, this might be an option.
**Note**:
If you want to utilize the full advantage of **promises**, I would choose [one of the many options available, that play the game by the rules](http://promisesaplus.com/implementations)
If you want something designed to be tiny, and fast, with a side-effect of non-standard behavior, then tiny-promise might be useful.
At any rate, this code walks like a promise, and talks like a promise, with occasional "quack"s in between.
Contributions are welcome.
Feel free to hack around.