├── .github └── workflows │ └── ci.yml ├── .gitignore ├── LICENSE.md ├── README.md ├── bench ├── index.js └── package.json ├── index.d.ts ├── index.js ├── package.json └── tests ├── alias.test.js ├── boolean.test.js ├── default.test.js ├── long.test.js ├── no.test.js ├── operands.test.js ├── short.test.js ├── stopEarly.test.js ├── string.test.js └── unknown.test.js /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgebucaran/getopts/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgebucaran/getopts/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgebucaran/getopts/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgebucaran/getopts/HEAD/README.md -------------------------------------------------------------------------------- /bench/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgebucaran/getopts/HEAD/bench/index.js -------------------------------------------------------------------------------- /bench/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgebucaran/getopts/HEAD/bench/package.json -------------------------------------------------------------------------------- /index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgebucaran/getopts/HEAD/index.d.ts -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgebucaran/getopts/HEAD/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgebucaran/getopts/HEAD/package.json -------------------------------------------------------------------------------- /tests/alias.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgebucaran/getopts/HEAD/tests/alias.test.js -------------------------------------------------------------------------------- /tests/boolean.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgebucaran/getopts/HEAD/tests/boolean.test.js -------------------------------------------------------------------------------- /tests/default.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgebucaran/getopts/HEAD/tests/default.test.js -------------------------------------------------------------------------------- /tests/long.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgebucaran/getopts/HEAD/tests/long.test.js -------------------------------------------------------------------------------- /tests/no.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgebucaran/getopts/HEAD/tests/no.test.js -------------------------------------------------------------------------------- /tests/operands.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgebucaran/getopts/HEAD/tests/operands.test.js -------------------------------------------------------------------------------- /tests/short.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgebucaran/getopts/HEAD/tests/short.test.js -------------------------------------------------------------------------------- /tests/stopEarly.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgebucaran/getopts/HEAD/tests/stopEarly.test.js -------------------------------------------------------------------------------- /tests/string.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgebucaran/getopts/HEAD/tests/string.test.js -------------------------------------------------------------------------------- /tests/unknown.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgebucaran/getopts/HEAD/tests/unknown.test.js --------------------------------------------------------------------------------