lie-use

0.1.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    15
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    15

Package Sidebar

Install

npm i lie-use

Weekly Downloads

15

Version

0.1.0

License

MIT

Last publish

Collaborators

  • cwmma