is-client

Check if process is running on the client

is-client

Check if process is running in Node.

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

MIT © Yoshua Wuyts