node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »

is-client

is-client

Check if process is running in Node.

API

var detect = require('is-client');
 
detect();
// -> false in node
// -> true in browser

License

MIT © Yoshua Wuyts