lazy-resolver
Skip hoops with promises
npm install lazy-resolver
Example:
const resolve = // This is a Proxy handlerconst fetch = const utils = fetch // this will chain a noop function until you call then() // promise // promise args items
Do you know how lodash _.get works or angulars $parse works? this lib is kind of like that, you can test deep objects/path but it dose it with promises and by chaining a dummy function to evaluate the code when a promise has been resolved