Package detail

lie-use

calvinmetcalf13MIT0.1.0

use all the lies

lie, promise, async

readme

lie-use

API

npm install lie-use
var use = require('lie-use');

use

use(value or promise, function)

If the value is a promise, apply the function to the value it resolves into and return a promise for that, otherwise apply the function to the value and return the result.

License

MIT