Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (11 sloc) 245 Bytes

lie-cast

API

npm install lie-cast

var cast = require('lie-cast');

###cast

promise.cast(value or promise)

If it's a promise, returns it, if it's a value, returns a promise that resolves to it.

License

MIT