Sha256: d7ae6d1a210b7f2c1393b6842799f9b2e978cadc1510241c98d936114461688b

Contents?: true

Size: 1.04 KB

Versions: 147

Compression:

Stored size: 1.04 KB

Contents

# process

```require('process');``` just like any other module.

Works in node.js and browsers via the browser.js shim provided with the module.

## browser implementation

The goal of this module is not to be a full-fledged alternative to the builtin process module. This module mostly exists to provide the nextTick functionality and nothing more. We keep this module lean because it will often be included by default by tools like browserify when it detects a module has used the `process` global.

If you are looking to provide other process methods, I suggest you monkey patch them onto the process global in your app. A list of user created patches is below.

* [hrtime](https://github.com/kumavis/browser-process-hrtime)

## package manager notes

If you are writing a bundler to package modules for client side use, make sure you use the ```browser``` field hint in package.json.

See https://gist.github.com/4339901 for details.

The [browserify](https://github.com/substack/node-browserify) module will properly handle this field when bundling your files.


Version data entries

147 entries across 85 versions & 2 rubygems

Version Path
sequenceserver-2.0.0 public/vendor/npm/process@0.10.1/README.md
sequenceserver-2.0.0.rc8 public/vendor/npm/process@0.10.1/README.md
sequenceserver-2.0.0.rc7 public/vendor/npm/process@0.10.1/README.md
sequenceserver-2.0.0.rc6 public/vendor/npm/process@0.10.1/README.md
sequenceserver-2.0.0.rc5 public/vendor/npm/process@0.10.1/README.md
sequenceserver-2.0.0.rc4 public/vendor/npm/process@0.10.1/README.md
sequenceserver-2.0.0.rc3 public/vendor/npm/process@0.10.1/README.md
sequenceserver-2.0.0.rc2 public/vendor/npm/process@0.10.1/README.md
sequenceserver-2.0.0.rc1 public/vendor/npm/process@0.10.1/README.md
sequenceserver-2.0.0.beta4 public/vendor/npm/process@0.10.1/README.md
sequenceserver-2.0.0.beta3 public/vendor/npm/process@0.10.1/README.md
sequenceserver-2.0.0.beta1 public/vendor/npm/process@0.10.1/README.md
sequenceserver-1.1.0.beta12 public/vendor/npm/process@0.10.1/README.md
sequenceserver-1.1.0.beta11 public/vendor/npm/process@0.10.1/README.md
sequenceserver-1.1.0.beta10 public/vendor/npm/process@0.10.1/README.md
sequenceserver-1.1.0.beta8 public/vendor/npm/process@0.10.1/README.md
sequenceserver-1.1.0.beta7 public/vendor/npm/process@0.10.1/README.md
sequenceserver-1.1.0.beta6 public/vendor/npm/process@0.10.1/README.md
sequenceserver-1.1.0.beta5 public/vendor/npm/process@0.10.1/README.md
sequenceserver-1.1.0.beta4 public/vendor/npm/process@0.10.1/README.md