Check if process is running on the client
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
package.json

README.md

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