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
Manage developer teams with varying permissions and multiple projects. Learn more about Private Packages and Organizations…
how? learn more