get-node-named-cli-args

    1.0.1 • Public • Published

    get-node-named-cli-args

    Tests

    Requires Node 12 or later

    Install

    npm i get-node-named-cli-args

    const getNamedArgs = require('get-node-named-cli-args')

    Example Usage

    CLI: node my-app.js foo=true bar=123 baz=cool

    JS:

    const getNamedArgs = require('get-node-named-cli-args')
    
    const myArgs = getNamedArgs()// { foo: true, bar: 123: baz: 'cool' }

    Install

    npm i get-node-named-cli-args

    DownloadsWeekly Downloads

    9

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    3.4 kB

    Total Files

    6

    Last publish

    Collaborators

    • daytonlowell