Check if process is running in Node.
var detect = require('is-server'); detect();// -> true in node// -> false in browser
MIT © Yoshua Wuyts
Combine open-source packages with your private code and publish to a private registry behind the firewall. npm ♥ enterprise developers
how? learn more