{"library":"options-parser","type":"library","category":null,"description":"options-parser is a lightweight, full-featured command-line argument parser for Node.js, designed with no external dependencies for a minimal footprint. The current stable version is 0.4.0, indicating it's still in active development, likely with a focus on stability before a 1.0 release. Its key differentiators include built-in type validation for common types (like files), automatic help screen generation with customizable formatting, and robust handling of multi-value options and default values. It provides a structured way to define expected command-line flags and arguments, distinguishing between required, optional, and flag-only parameters, making it suitable for scripting and CLI tool development in Node.js environments.","language":"javascript","status":"active","version":"0.4.0","tags":["javascript","getopt","arguments","options","command-line","option parser"],"install":[{"cmd":"npm install options-parser","imports":["const options = require('options-parser');","const result = options.parse(optsConfig, argv);","const typeValidation = options.type.file.open.write();","options.help(optsConfig, helpOptions);"]},{"cmd":"yarn add options-parser","imports":[]},{"cmd":"pnpm add options-parser","imports":[]}],"homepage":null,"github":"https://github.com/janus-toendering/options-parser","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/options-parser","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/options-parser/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}