{"library":"args-tokens","type":"library","category":null,"description":"`args-tokens` is a high-performance, type-safe library designed for parsing command-line arguments, offering a compatible token representation with Node.js `util.parseArgs`. It differentiates itself by providing a decoupled, more performant approach to argument parsing and tokenization compared to the built-in Node.js utility. The library is optimized for universal runtimes, ships with comprehensive TypeScript types, and maintains zero external dependencies, making it a lightweight and efficient choice for CLI application development. Currently at version 0.24.3, `args-tokens` demonstrates an active release cadence, frequently delivering bug fixes, performance improvements, and new features. Its key differentiators include significantly faster parsing benchmarks, explicit control over argument resolution, and a strong focus on generating `util.parseArgs`-compatible tokens.","language":"javascript","status":"active","version":"0.24.3","tags":["javascript","args","args-parser","cli","parseargs","tokens","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install args-tokens","imports":["import { parse } from 'args-tokens'","import { resolveArgs } from 'args-tokens'","import { createParser } from 'args-tokens/combinator'"]},{"cmd":"yarn add args-tokens","imports":[]},{"cmd":"pnpm add args-tokens","imports":[]}],"homepage":null,"github":"https://github.com/kazupon/args-tokens","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/args-tokens","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/args-tokens/compatibility"}}