Check if process is running in Nodejs
Check if process is running in Node.
var detect = require('isServer'); 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