https://github.com/fabiosantoscode/fast-deep-resolve
Resolves an object or array of promises
https://github.com/fabiosantoscode/fast-deep-resolve
Last synced: 10 months ago
JSON representation
Resolves an object or array of promises
- Host: GitHub
- URL: https://github.com/fabiosantoscode/fast-deep-resolve
- Owner: fabiosantoscode
- Created: 2018-05-12T10:40:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-13T12:53:09.000Z (over 7 years ago)
- Last Synced: 2025-02-27T00:11:12.562Z (11 months ago)
- Language: JavaScript
- Size: 163 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fast-deep-resolve
[](https://travis-ci.org/fabiosantoscode/fast-deep-resolve)
Resolves nested objects and arrays with promises as a single promise. Like Promise.all, but for objects too!
No dependencies and hopefully super fast. If it's not fast, file an issue!
```javascript
const deepResolve = require('fast-deep-resolve')
deepResolve({
foo: Promise.resolve(['bar'])
}).then(...)
```