New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

process-utils

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

process-utils

Utilities for process object

4.0.0
latest
Source
npm
Version published
Weekly downloads
796K
-9.63%
Maintainers
1
Weekly downloads
 
Created
Source

*nix build status Windows build status Tests coverage Transpilation status npm version

process-utils

Utilities for Node.js process handling

Installation

npm install process-utils

Available utilities

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

Tests

npm test

Keywords

process

FAQs

Package last updated on 19 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts