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
It’s never been easier to manage developer teams with varying permissions and multiple projects. Learn more about Private Packages and Organizations…
how? learn more