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.
Combine open-source packages with your private code and publish to a private registry behind the firewall. npm ♥ enterprise developers
how? learn more