@supernpm2024/quis-ab-laboriosam-veniam
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

cli-args node version Build Status npm version

CLI arguments micro parser. Only 38 lines of code, no dependencies.

#!/usr/bin/env node
const args = require('@yun-jie/cli-args')(process.argv.slice(2));
console.dir(args);
$ script.js -a --foo=bar --boo abc def
{
    params: ['abc', 'def'],
    options: { a: true, foo: 'bar', boo: true }
}

/@supernpm2024/quis-ab-laboriosam-veniam/

    Package Sidebar

    Install

    npm i @supernpm2024/quis-ab-laboriosam-veniam

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    4.24 MB

    Total Files

    14

    Last publish

    Collaborators

    • ellentea