jackspeak CLI Argument Parser

JSON →
library 4.2.3 ·javascript
verified May 27, 2026

jackspeak is a strict command-line argument parser for Node.js, currently at version 4.2.3. It focuses on rigorous validation of string, boolean, and number options, reading from both command-line arguments and environment variables. The library leverages a fluent, chainable API starting with `jack()`, which returns a `Jack` object for defining flags, options, and positionals. A key differentiator is its automatic type inference for TypeScript when defining configurations via object literals, ensuring strong typing for parsed values. It also supports automatic generation of `usage`/`help` banners and integrates environmental variable handling via an `envPrefix`, allowing configuration to be passed easily to child processes. Its minimal dependency footprint, especially the `/min` export introduced in v4.2, makes it suitable for CLI tools where startup performance is crucial. The project maintains an active development status with a positive version release cadence, typically releasing new versions within a three-month period.

total hits 28
actors 7 distinct systems
last hit 1d ago human
Amazonbot
6
GPTBot
2
Script
1
Search engines
2
Humans
3

top countries 🇺🇸 United States · 🇵🇱 Poland · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇮 Finland