Package category
Node.js utilities
Process management, environment, child processes and OS helpers for Node.js.
1,166 packages10 comparisons
Packages compared
1,166 packages
| Package | Weekly downloads | 12-month change | 52 weeks | Gzip | Last release | Module | Types | Categories |
|---|---|---|---|---|---|---|---|---|
| worker-farm Distribute processing tasks to child processes with an über-simple API and baked-in durability & custom concurrency options. | 4.1m | -17% | - | 7 years ago 1.7.0 | CommonJS | Bundled | Node.js utilities | |
| random-bytes URL and cookie safe UIDs | 4.1m | +21% | - | 10 years ago 1.0.0 | - | None | Node.js utilities | |
| please-upgrade-node Displays a beginner-friendly message telling your user to upgrade their version of Node | 4.1m | -7% | - | 7 years ago 3.2.0 | CommonJS | None | Node.js utilities, CLI tools and terminal utilities | |
| node-cron Job scheduling for Node.js with overlap prevention, distributed coordination, and background tasks. Zero dependencies, written in TypeScript. | 4.1m | +167% | - | 2 months ago 4.6.0 | ESM + CommonJS | Bundled | TypeScript tooling, Node.js utilities | |
| exec-sh Execute shell command forwarding all stdio. | 4m | -25% | - | 5 years ago 0.4.0 | CommonJS | Bundled | CLI tools and terminal utilities, Node.js utilities | |
| @dotenvx/primitives a secure dotenv–from the creator of `dotenv` | 4m | - | - | 2 days ago 3.0.3 | CommonJS | None | Configuration, Node.js utilities | |
| @pnpm/error An error class for pnpm errors | 3.9m | +136% | - | 18 days ago 1100.1.4 | ESM only | Bundled | Node.js utilities | |
| @simple-libs/child-process-utils A small set of utilities for child process. | 3.9m | +8134% | - | 3 months ago 2.0.0 | ESM only | Bundled | Node.js utilities | |
| nested-error-stacks An Error subclass that will chain nested Errors and dump nested stacktraces | 3.8m | +25% | - | 4 years ago 2.1.1 | CommonJS | None | Node.js utilities | |
| @azure/core-process Secure, cross-platform process launching for Node.js | 3.8m | - | - | 1 month ago 1.0.0 | ESM + CommonJS | Bundled | Cloud SDKs, Node.js utilities | |
| grammy The Telegram Bot Framework. | 3.8m | +8221% | - | 29 days ago 1.46.0 | CommonJS | Bundled | TypeScript tooling, Node.js utilities | |
| detective-postcss Detective to find dependents of CSS (PostCSS dialect) | 3.7m | +39% | - | 2 months ago 9.0.1 | ESM only | Bundled | CSS-in-JS and styling, Node.js utilities | |
| to-readable-stream Convert a value to a ReadableStream | 3.6m | -18% | - | 3 years ago 4.0.0 | ESM only | Bundled | Node.js utilities | |
| node-machine-id Unique machine (desktop) id (no admin privileges required). | 3.6m | +4% | - | 7 years ago 1.1.12 | CommonJS | Bundled | Node.js utilities | |
| sitemap Sitemap-generating lib/cli | 3.6m | +207% | - | 6 months ago 9.0.1 | ESM + CommonJS | Bundled | Node.js utilities | |
| is-resolvable Check if a module ID is resolvable with require() | 3.6m | -16% | - | 8 years ago 1.1.0 | - | None | Node.js utilities | |
| binaryextensions A package that contains an array of every single file extension there is for binary files | 3.4m | +70% | - | 2 years ago 6.11.0 | ESM + CommonJS | Bundled | TypeScript tooling, Node.js utilities | |
| object.defaults Like `extend` but only copies missing properties/values to the target object. | 3.4m | +12% | - | 9 years ago 1.1.0 | CommonJS | None | Node.js utilities | |
| textextensions A package that contains an array of every single file extension there is for text files | 3.4m | +68% | - | 2 years ago 6.11.0 | ESM + CommonJS | Bundled | TypeScript tooling, Node.js utilities | |
| robots-parser A specification compliant robots.txt parser with wildcard (*) matching support. | 3.3m | +125% | - | 3 years ago 3.0.1 | CommonJS | Bundled | Scraping and browser automation, Node.js utilities | |
| extract-files A function to recursively extract files and their object paths within a value, replacing them with null in a deep clone without mutating the original value. FileList instances are treated as File instance arrays. Files are typically File and Blob instance | 3.1m | -7% | - | 2 months ago 14.0.0 | CommonJS | None | GraphQL, Node.js utilities | |
| express-session Simple session middleware for Express | 3.1m | +35% | - | 8 months ago 1.19.0 | - | None | Node.js utilities | |
| module-alias Create aliases of directories and register custom module paths | 3.1m | +118% | - | 7 months ago 2.3.4 | ESM + CommonJS | Bundled | Node.js utilities | |
| nano-spawn Tiny process execution for humans — a better child_process | 3.1m | +2% | - | 5 months ago 2.1.0 | ESM only | Bundled | Node.js utilities | |
| object.omit Return a copy of an object excluding the given key, or array of keys. Also accepts an optional filter function as the last argument. | 3m | -13% | - | 9 years ago 3.0.0 | CommonJS | None | Node.js utilities | |
| teen_process A grown up version of Node's spawn/exec | 3m | +161% | - | 1 month ago 4.2.1 | ESM + CommonJS | Bundled | Node.js utilities | |
| serve Static file serving and directory listing | 2.9m | +57% | - | 6 months ago 14.2.6 | ESM only | None | Cloud SDKs, CLI tools and terminal utilities | |
| istextorbinary Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions. | 2.9m | +98% | - | 2 years ago 9.5.0 | ESM + CommonJS | Bundled | TypeScript tooling, Node.js utilities | |
| expand-range Fast, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. Used by micromatch. | 2.9m | -16% | - | 7 years ago 2.0.2 | CommonJS | None | Files and file systems, Node.js utilities | |
| spawndamnit Take care of your `spawn()` | 2.8m | +113% | - | 1 year ago 3.0.1 | CommonJS | None | Promises and async control flow, Node.js utilities | |
| editions Publish multiple editions for your JavaScript packages consistently and easily (e.g. source edition, esnext edition, es2015 edition) | 2.8m | +84% | - | 1 year ago 6.22.0 | ESM + CommonJS | Bundled | TypeScript tooling, Node.js utilities | |
| errorhandler Development-only error handler middleware | 2.8m | +59% | - | 9 months ago 1.5.2 | - | None | Node.js utilities | |
| cross-dirname [Node.js](https://nodejs.org) + [Gjs](https://gjs.guide/) + [Deno](https://deno.land/) module that returns the current script dirname and filename. Similar to `__dirname` and `__filename` but also works in CommonJs and ES modules. | 2.8m | +660% | - | 4 years ago 0.1.0 | ESM + CommonJS | Bundled | Node.js utilities | |
| @dual-bundle/import-meta-resolve A fork of `import-meta-resolve` with commonjs + ESM support at the same time, AKA dual package. | 2.7m | +14% | - | 1 year ago 4.2.1 | ESM + CommonJS | Bundled | Node.js utilities | |
| @shuding/opentype.js OpenType font parser | 2.6m | +681% | - | 4 years ago 1.3.5 | ESM + CommonJS | None | Node.js utilities | |
| pm2 Production process manager for Node.JS applications with a built-in load balancer. | 2.6m | +24% | - | 1 month ago 7.0.4 | CommonJS | Bundled | Monitoring and error tracking, CLI tools and terminal utilities | |
| randomatic Generate randomized strings of a specified length using simple character sequences. The original generate-password. | 2.6m | -17% | - | 7 years ago 3.1.1 | CommonJS | None | Node.js utilities | |
| check-disk-space Light multi-platform disk space checker without third party for Node.js | 2.6m | +60% | - | 3 years ago 3.4.0 | ESM + CommonJS | Bundled | Node.js utilities | |
| browser-or-node Check in which environment the code is running - browser/node.js/webworker/jsdom/deno | 2.5m | +106% | - | 2 years ago 3.0.0 | ESM + CommonJS | Bundled | Node.js utilities | |
| otplib TypeScript-first library for TOTP and HOTP with multi-runtime and plugin support | 2.4m | +275% | - | 1 month ago 13.5.0 | ESM + CommonJS | Bundled | Security, Node.js utilities | |
| requireg Require and resolve global modules like a boss | 2.3m | +76% | - | 7 years ago 0.2.2 | CommonJS | None | Node.js utilities | |
| @clickhouse/client Official JS client for ClickHouse DB - Node.js implementation | 2.3m | +310% | - | 2 months ago 1.23.1 | CommonJS | Bundled | TypeScript tooling, Node.js utilities | |
| async-hook-jl Inspect the life of handle objects in node | 2.3m | +9% | - | 9 years ago 1.7.6 | CommonJS | None | Promises and async control flow, Node.js utilities | |
| cls-hooked CLS using AsynWrap instead of async-listener - Node >= 4.7.0 | 2.3m | -2% | - | 9 years ago 4.2.2 | CommonJS | None | Node.js utilities | |
| unload Execute code when the js-process exits. On all javascript-environments | 2.2m | +15% | - | 3 years ago 2.4.1 | ESM + CommonJS | Bundled | DOM and browser utilities, Node.js utilities | |
| @discordjs/collection Utility data structure used in discord.js | 2.2m | +222% | - | 2 years ago 2.1.1 | ESM + CommonJS | Bundled | Node.js utilities | |
| libsql A better-sqlite3 compatible API for libSQL that supports Bun, Deno, and Node | 2.2m | +491% | - | 6 months ago 0.5.29 | CommonJS | Bundled | Database clients and drivers, Node.js utilities | |
| tree-sitter Node.js bindings to the Tree-sitter parsing library | 2.1m | +132% | - | 1 month ago 0.25.1 | CommonJS | Bundled | Parsers and serialisers, Node.js utilities | |
| http-shutdown Gracefully shutdown a running HTTP server. | 2.1m | +78% | - | 6 years ago 1.2.2 | CommonJS | Bundled | HTTP servers and web frameworks, Node.js utilities | |
| argv-formatter Bizarro minimist: transform an options object into argv | 2m | +12% | - | 11 years ago 1.0.0 | CommonJS | None | Node.js utilities |
12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.
- worker-farmDistribute processing tasks to child processes with an über-simple API and baked-in durability & custom concurrency options.
- random-bytesURL and cookie safe UIDs
- please-upgrade-nodeDisplays a beginner-friendly message telling your user to upgrade their version of Node
- node-cronJob scheduling for Node.js with overlap prevention, distributed coordination, and background tasks. Zero dependencies, written in TypeScript.
- exec-shExecute shell command forwarding all stdio.
- @dotenvx/primitivesa secure dotenv–from the creator of `dotenv`
- @pnpm/errorAn error class for pnpm errors
- @simple-libs/child-process-utilsA small set of utilities for child process.
- nested-error-stacksAn Error subclass that will chain nested Errors and dump nested stacktraces
- @azure/core-processSecure, cross-platform process launching for Node.js
- grammyThe Telegram Bot Framework.
- detective-postcssDetective to find dependents of CSS (PostCSS dialect)
- to-readable-streamConvert a value to a ReadableStream
- node-machine-idUnique machine (desktop) id (no admin privileges required).
- sitemapSitemap-generating lib/cli
- is-resolvableCheck if a module ID is resolvable with require()
- binaryextensionsA package that contains an array of every single file extension there is for binary files
- object.defaultsLike `extend` but only copies missing properties/values to the target object.
- textextensionsA package that contains an array of every single file extension there is for text files
- robots-parserA specification compliant robots.txt parser with wildcard (*) matching support.
- extract-filesA function to recursively extract files and their object paths within a value, replacing them with null in a deep clone without mutating the original value. FileList instances are treated as File instance arrays. Files are typically File and Blob instance
- express-sessionSimple session middleware for Express
- module-aliasCreate aliases of directories and register custom module paths
- nano-spawnTiny process execution for humans — a better child_process
- object.omitReturn a copy of an object excluding the given key, or array of keys. Also accepts an optional filter function as the last argument.
- teen_processA grown up version of Node's spawn/exec
- serveStatic file serving and directory listing
- istextorbinaryDetermine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
- expand-rangeFast, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. Used by micromatch.
- spawndamnitTake care of your `spawn()`
- editionsPublish multiple editions for your JavaScript packages consistently and easily (e.g. source edition, esnext edition, es2015 edition)
- errorhandlerDevelopment-only error handler middleware
- cross-dirname[Node.js](https://nodejs.org) + [Gjs](https://gjs.guide/) + [Deno](https://deno.land/) module that returns the current script dirname and filename. Similar to `__dirname` and `__filename` but also works in CommonJs and ES modules.
- @dual-bundle/import-meta-resolveA fork of `import-meta-resolve` with commonjs + ESM support at the same time, AKA dual package.
- @shuding/opentype.jsOpenType font parser
- pm2Production process manager for Node.JS applications with a built-in load balancer.
- randomaticGenerate randomized strings of a specified length using simple character sequences. The original generate-password.
- check-disk-spaceLight multi-platform disk space checker without third party for Node.js
- browser-or-nodeCheck in which environment the code is running - browser/node.js/webworker/jsdom/deno
- otplibTypeScript-first library for TOTP and HOTP with multi-runtime and plugin support
- requiregRequire and resolve global modules like a boss
- @clickhouse/clientOfficial JS client for ClickHouse DB - Node.js implementation
- async-hook-jlInspect the life of handle objects in node
- cls-hookedCLS using AsynWrap instead of async-listener - Node >= 4.7.0
- unloadExecute code when the js-process exits. On all javascript-environments
- @discordjs/collectionUtility data structure used in discord.js
- libsqlA better-sqlite3 compatible API for libSQL that supports Bun, Deno, and Node
- tree-sitterNode.js bindings to the Tree-sitter parsing library
- http-shutdownGracefully shutdown a running HTTP server.
- argv-formatterBizarro minimist: transform an options object into argv