New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

minimal-process-manager

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minimal-process-manager

A minimalist process manager

latest
npmnpm
Version
1.1.4
Version published
Maintainers
1
Created
Source

Minimalist Resources Manager for Node

Description

A simple and lightweight process manager for Node.js applications. Start, manage, and monitor Node.js processes with cluster mode for multiple CPU cores and optional memory usage logging.

Installation

npm install -g minimal-process-manager

Usage

Start a script (default: up to 5 restarts on crash):

minimal-process-manager start script.js

Run in cluster mode (one worker per CPU):

minimal-process-manager start example.js --cluster

Run with unlimited restarts on crash:

minimal-process-manager start example.js --unlimited

Options

OptionDescription
--clusterRun one process per CPU core
--unlimitedRestart on crash indefinitely

Behavior

  • Graceful shutdown: SIGINT (Ctrl+C) and SIGTERM stop the managed process and exit cleanly.
  • Memory logging: The manager prints RSS, heap usage, and external memory every second. For high-heap GC hints, run Node with --expose-gc (e.g. node --expose-gc node_modules/.bin/minimal-process-manager start app.js).

Keywords

process

FAQs

Package last updated on 09 Mar 2026

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