# process

> process information for node.js and browsers

Latest version **0.11.10** (published 2017-04-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install process
pnpm add process
yarn add process
bun add process
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.11.10 |
| Published | 2017-04-26 |
| First published | 2011-06-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.6.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 129 |
| Author | Roman Shtylman |
| Maintainers | coolaj86, cwmma, defunctzombie |
| Keywords | process |

## Links

- npm: https://www.npmjs.com/package/process
- Repository: https://github.com/shtylman/node-process
- Homepage: https://github.com/shtylman/node-process#readme
- Issues: https://github.com/shtylman/node-process/issues
- npm.io page: https://npm.io/package/process

## Recent versions

- 0.11.10 (latest) — 2017-04-26
- 0.11.9 — 2016-08-30
- 0.11.8 — 2016-08-08
- 0.11.7 — 2016-08-01
- 0.11.6 — 2016-07-26
- 0.11.5 — 2016-06-13
- 0.11.4 — 2016-06-10
- 0.11.3 — 2016-05-07
- 0.11.2 — 2015-09-09
- 0.11.1 — 2015-05-21
- 0.11.0 — 2015-04-24
- 0.10.1 — 2015-03-05
- 0.10.0 — 2014-12-10
- 0.9.0 — 2014-10-11
- 0.8.0 — 2014-09-13
- … 6 more at https://npm.io/package/process/versions

## README

# 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 little 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.

It also exposes a "browser" member (i.e. `process.browser`) which is `true` in this implementation but `undefined` in node. This can be used in isomorphic code that adjusts it's behavior depending on which environment it's running in. 

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)
* [stdout](https://github.com/kumavis/browser-stdout)

## 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.

---
_Source: https://npm.io/package/process · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
