promisefallback
Receives an array of functions, values or promises and returns a promise that resolves with the first of them that resolves.
Installation
npm install promisefallback
Usage
; const promise = ; promise;
Testing
Clone the repository and execute:
npm test
Contribute
- Fork it:
git clone https://github.com/softonic/promisefallback.git
- Create your feature branch:
git checkout -b feature/my-new-feature
- Commit your changes:
git commit -am 'Added some feature'
- Check the build:
npm run build
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D