https://github.com/zenflow/on-client
True if running in browserified script, False if running in node
https://github.com/zenflow/on-client
Last synced: about 1 year ago
JSON representation
True if running in browserified script, False if running in node
- Host: GitHub
- URL: https://github.com/zenflow/on-client
- Owner: zenflow
- License: mit
- Created: 2015-03-04T04:12:10.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-22T15:39:22.000Z (about 11 years ago)
- Last Synced: 2025-02-13T15:55:00.573Z (over 1 year ago)
- Language: JavaScript
- Size: 141 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# on-client
True if running in browserified script, False if running in node
__Deprecated__ Just use `process.browser` ! It's `true` in the [browserify implementation of process](https://github.com/defunctzombie/node-process) and `undefined` in node.