node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

lie-use

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