10 Best JavaScript CLI Arguments Libraries

List hand-picked by Openbase Experts
Learn More

com

commander

node.js command-line interfaces made easy

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.7/ 5
32
Top Feedback
6Great Documentation
4Easy to Use
3Bleeding Edge
GitHub Stars
22K
Weekly Downloads
79M
Last Commit
3mos ago

yargs

yargs the modern, pirate-themed successor to optimist.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.2/ 5
12
Top Feedback
2Performant
1Great Documentation
1Easy to Use
GitHub Stars
9K
Weekly Downloads
71M
Last Commit
1mo ago
cla

command-line-args

A mature, feature-complete library to parse command-line options.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
1Great Documentation
1Easy to Use
GitHub Stars
576
Weekly Downloads
983K
Last Commit
6mos ago
min

minimist

parse argument options

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.0/ 5
3
Top Feedback
3Easy to Use
2Great Documentation
1Poor Documentation
GitHub Stars
5K
Weekly Downloads
42M
Last Commit
2yrs ago

argparse

CLI arguments parser for node.js. JS port of python's argparse module.

License Icon
License: Python-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.0/ 5
5
Top Feedback
4Easy to Use
1Highly Customizable
1Poor Documentation
GitHub Stars
428
Weekly Downloads
38M
Last Commit
1yr ago
mri

mri

Quickly scan for CLI flags and arguments

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.0/ 5
1
Top Feedback
1Easy to Use
GitHub Stars
447
Weekly Downloads
3M
Last Commit
4mos ago
res

respond

An interactive & asynchronous CLI/CMD interface based on node-suppose (https://github.com/jprichardson/node-suppose)

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
1Performant
GitHub Stars
5
Weekly Downloads
629
Last Commit
9yrs ago
sc

shipit-captain

Run Shipit tasks from Gulp, or any task runner. Includes Inquirer.js prompts, CLI arguments, customized logging, and more.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.0/ 5
1
Top Feedback
1Easy to Use
GitHub Stars
23
Weekly Downloads
12
Last Commit
5yrs ago

@run-z/optionz

Run-z command line options parser

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
235
Last Commit
1mo ago

cli-list

Parse comma-separated argument lists.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
9
Weekly Downloads
87K
Last Commit
2yrs ago
pa

process.argv

light-weight command line arguments parser for cli application

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
3
Weekly Downloads
13K
Last Commit
1yr ago
pa

pipe-args

POSIX compliant pipe argument parser for node CLI apps

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
1K
Last Commit
N/A

cli-argparse

Lightweight argument parser

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
5
Weekly Downloads
575
Last Commit
6yrs ago
ap

arg-parser

node cli arguments parser

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2
Weekly Downloads
224
Last Commit
4yrs ago

@augu/larg

👾 A very lightweight Node.js argument parser

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
3
Last Commit
3yrs ago
cr

cli_router

A router for parsing command line flags and arguments in your Node CLI scripts.

License Icon
License: BSD-2-Clause
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
8
Weekly Downloads
1
Last Commit
9yrs ago