Check if process is running in Nodejs
Check if process is running in Node.
var detect = require('is-server'); detect();// -> true in node// -> false in browser
MIT © Yoshua Wuyts
Selectively mirror the npm registry inside your firewall. Filter packages based on security, licensing, code quality and more. Build awesome stuff faster. Try npm Enterprise for free…
how? learn more