Promise-unified
Add a unified operation for Promise
Promise
lacks an unified operation method, so I add a unified method of operation for it
Attention please: This library is a prototype chain that directly modifies the Promise
install
# Install with npm$ npm install Promise-unified --save# Install with yarn$ yarn add Promise-unified# Install with bower$ bower install Promise-unified --save
Usage
let promise = { if false else } promise
If you do not want to use this library, you can also use the following method:
promise
Contributing
Commits | Contributor |
---|---|
5 | Black-Hole |
Author
Black-Hole
- Email:158blackhole@gmail.com
- Blog:http://bugs.cc
- WeiBo:http://weibo.com/comelove
- Twitter:https://twitter.com/Free_BlackHole