1 | # process
|
2 |
|
3 | ```require('process');``` just like any other module.
|
4 |
|
5 | Works in node.js and browsers via the browser.js shim provided with the module.
|
6 |
|
7 | ## package manager notes
|
8 |
|
9 | If you are writing a bundler to package modules for client side use, make sure you use the ```browser``` field hint in package.json.
|
10 |
|
11 | See https://gist.github.com/4339901 for details.
|
12 |
|
13 | The [browserify](https://github.com/substack/node-browserify) module will properly handle this field when bundling your files.
|
14 |
|
15 |
|
16 |
|
\ | No newline at end of file |