cast a lie
npm install lie-cast
var cast = require('lie-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.
Private Packages let you use the npm registry to host your own code and the npm command line to manage it. Learn more »
how? learn more