# process-utils

> Utilities for process object

Latest version **4.0.0** (published 2020-11-19) · ISC license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.0.0 |
| Published | 2020-11-19 |
| First published | 2018-05-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=10.0 |
| Dependencies | 4 |
| Unpacked size | 23.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Mariusz Nowak |
| Maintainers | medikoo |
| Keywords | process, node, environment |

## Links

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

## Dependencies (4)

- [ext](https://npm.io/package/ext.md) ^1.4.0
- [fs2](https://npm.io/package/fs2.md) ^0.3.9
- [type](https://npm.io/package/type.md) ^2.1.0
- [memoizee](https://npm.io/package/memoizee.md) ^0.4.14

## Alternatives

- [replicas-cli](https://npm.io/package/replicas-cli.md) — 3.0K weekly downloads
- [env-contract](https://npm.io/package/env-contract.md) — 133 weekly downloads
- [@openveo/api](https://npm.io/package/@openveo/api.md) — 61 weekly downloads
- [@ryniaubenpm2/cumque-error-reiciendis](https://npm.io/package/@ryniaubenpm2/cumque-error-reiciendis.md) — 54 weekly downloads
- [ts-global-type-extra](https://npm.io/package/ts-global-type-extra.md) — 11 weekly downloads

## Recent versions

- 4.0.0 (latest) — 2020-11-19
- 3.1.0 — 2020-01-21
- 3.0.1 — 2019-10-22
- 3.0.0 — 2019-10-21
- 2.6.0 — 2019-10-21
- 2.5.0 — 2019-09-03
- 2.4.0 — 2019-09-03
- 2.3.1 — 2019-05-30
- 2.3.0 — 2019-05-28
- 2.2.0 — 2019-05-28
- 2.1.0 — 2019-04-17
- 2.0.1 — 2018-10-02
- 2.0.0 — 2018-09-20
- 1.1.0 — 2018-05-30
- 1.0.0 — 2018-05-30

## README

[![*nix build status][nix-build-image]][nix-build-url]
[![Windows build status][win-build-image]][win-build-url]
[![Tests coverage][cov-image]][cov-url]
![Transpilation status][transpilation-image]
[![npm version][npm-image]][npm-url]

# process-utils

## Utilities for [Node.js `process`](https://nodejs.org/api/process.html) handling

### Installation

```bash
npm install process-utils
```

### Available utilities

- [`create-env`](docs/create-env.md) - Create `env` instance (object that reflects `process.env` interface)
- [`override-argv`](docs/override-argv.md) - Override `process.argv` temporarily
- [`override-cwd`](docs/override-cwd.md) - Override `process.cwd()` temporarily
- [`override-env`](docs/override-env.md) - Override `process.env` temporarily
- [`override-stdout-write` & `override-stderr-write`](docs/override-std-write.md) - Override `process.std*.write` method temporarily
- **tmpdir**
  - [`tmpdir`](docs/tmpdir/index.md) - Creates (on first call) and returns path to process specific temporary directory
  - [`tmpdir/provision`](docs/tmpdir/provision.md) - Creates and returns path to new temp directory, placed in context of process specific temporary directory

### Tests

```bash
npm test
```

[nix-build-image]: https://semaphoreci.com/api/v1/medikoo-org/process-utils/branches/master/shields_badge.svg
[nix-build-url]: https://semaphoreci.com/medikoo-org/process-utils
[win-build-image]: https://ci.appveyor.com/api/projects/status/mgttc0h68grk2i6s?svg=true
[win-build-url]: https://ci.appveyor.com/api/projects/status/mgttc0h68grk2i6s
[cov-image]: https://img.shields.io/codecov/c/github/medikoo/process-utils.svg
[cov-url]: https://codecov.io/gh/medikoo/process-utils
[transpilation-image]: https://img.shields.io/badge/transpilation-free-brightgreen.svg
[npm-image]: https://img.shields.io/npm/v/process-utils.svg
[npm-url]: https://www.npmjs.com/package/process-utils

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