Preparing for system design interviews?  Try bugzed.com →

node-getopt: Command Line Argument Parser

JSON →
library 0.3.2 ·javascript abandoned
verified Jun 17, 2026

node-getopt is a minimalist command-line argument parser for Node.js, designed to mimic the traditional `getopt` utility. Currently at version 0.3.2, the package was last updated in 2013, indicating it is an abandoned project and no longer actively maintained. Its primary function is to define and parse both short and long options, supporting mandatory or optional arguments, and handling multiple occurrences of an option. It includes utilities for binding a 'help' option and generating usage messages. Its key differentiator at the time was its simplicity and close adherence to traditional `getopt` semantics for Node.js environments. Due to its age and reliance on very old Node.js versions (>=0.6.0), modern Node.js applications will likely find it incompatible or prefer more contemporary argument parsing libraries that support ESM and TypeScript.

total hits 5
actors 2 distinct systems
last hit 17d ago AhrefsBot
Script
1

top countries 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany