🌜
🌞

Best JavaScript CLI Arguments Libraries

argparse

argparse

v2.0.1

CLI arguments parser. Native port of python's argparse.

Last Commit
May 10, 2022
GitHub Stargazers
450
License
Python-2.0
Contributors
19
has-flag

has-flag

v5.0.1

Check if argv has a specific flag

Last Commit
Jul 19, 2021
GitHub Stargazers
82
License
MIT
Contributors
7
mri

mri

v1.2.0

Quickly scan for CLI flags and arguments

Last Commit
Sep 12, 2021
GitHub Stargazers
490
License
MIT
Contributors
4
sade

sade

v1.8.1

Smooth (CLI) operator 🎶

Last Commit
Jan 6, 2022
GitHub Stargazers
954
License
MIT
Contributors
5
dargs

dargs

v8.1.0

Reverse minimist. Convert an object of options into an array of command-line arguments.

Last Commit
Jun 30, 2021
GitHub Stargazers
175
License
MIT
Contributors
13
getopts

getopts

v2.3.0

Parse CLI arguments.

Last Commit
Feb 15, 2021
GitHub Stargazers
624
License
MIT
Contributors
5
subarg

subarg

v1.0.0

parse arguments with recursive contexts

Last Commit
Oct 3, 2014
GitHub Stargazers
97
License
MIT
Contributors
2
argue-cli

argue-cli

v2.0.0

Node.js CLI arguments parser.

Last Commit
Feb 18, 2022
GitHub Stargazers
-
License
MIT
Contributors
2
unified-args

unified-args

v10.0.0

Create CLIs for unified processors

Last Commit
Jun 18, 2022
GitHub Stargazers
27
License
MIT
Contributors
5
args

args

v5.0.3

Minimal toolkit for building CLIs

Last Commit
May 1, 2022
GitHub Stargazers
431
License
MIT
Contributors
20
arrgv

arrgv

v1.0.2

Parsing string to array of args like node on bash do.

Last Commit
Nov 12, 2019
GitHub Stargazers
1
License
MIT
Contributors
1
parse-help

parse-help

v2.0.0

Parse CLI help output

Last Commit
Apr 8, 2021
GitHub Stargazers
35
License
MIT
Contributors
3
cli-argparse

cli-argparse

v1.1.2

Lightweight argument parser

Last Commit
Apr 6, 2016
GitHub Stargazers
6
License
MIT
Contributors
1
open-cli

open-cli

v7.0.1

Open stuff like URLs, files, executables. Cross-platform.

Last Commit
Aug 30, 2021
GitHub Stargazers
362
License
MIT
Contributors
5
retrieve-arguments

retrieve-arguments

v1.0.1

Retrieves the argumentnames of a function

Last Commit
Dec 30, 2014
GitHub Stargazers
3
License
MIT
Contributors
2
command-join

command-join

v3.0.0

Escape and join command-line arguments, cross-platform.

Last Commit
May 23, 2019
GitHub Stargazers
7
License
MIT
Contributors
4
@pawelgalazka/cli-args

@pawelgalazka/cli-args

v1.1.3

CLI arguments micro parser

Last Commit
Feb 9, 2019
GitHub Stargazers
2
License
MIT
Contributors
1
cli-belt

cli-belt

v2.0.0

An utility belt to complement your arguments parser of choice

Last Commit
Jun 1, 2022
GitHub Stargazers
1
License
MIT
Contributors
3
get-cli-arg

get-cli-arg

v7.3.0

Get the value of a CLI argument

Last Commit
Jul 29, 2021
GitHub Stargazers
4
License
MIT
Contributors
1
gar

gar

v1.0.4

The lightweight Node arguments parser

Last Commit
Jan 4, 2019
GitHub Stargazers
31
License
MIT
Contributors
1
argp

argp

v1.0.4

Command-line option parser

Last Commit
Mar 31, 2014
GitHub Stargazers
47
License
MIT
Contributors
make-cli

make-cli

v2.0.15

Super easy declarative CLI framework with a single configuration object and a single function call.

Last Commit
Apr 11, 2022
GitHub Stargazers
1
License
MIT
Contributors
5