Nondeterministic Palindrome Machine

    vardict
    TypeScript icon, indicating that this package has built-in type declarations

    2.0.0 • Public • Published

    vardict

    Get a dictionary consisting of CLI arguments

    Travis (.org) npm version npm Downloads David GitHub top language License PRs welcome

    Example

    Code

    import vardict from 'vardict'; // TypeScript
    const vardict = require('vardict').default; // JavaScript
    console.log(vardict);

    CLI

    node script.js --name 'Anirudha Paul' --age 25 --single -c 'Samsung R&D' --home Mymensingh --coolWithLadies false -wantsToGoTo=USA --IELTS=7.5 --favoriteFood kachchi -nick-name Prasun
    {
      name: 'Anirudha Paul',
      age: 25,
      single: true,
      c: 'Samsung R&D',
      home: 'Mymensingh',
      coolWithLadies: false,
      wantsToGoTo: 'USA',
      EnglishTest: 'TOEFL',
      favoriteFood: 'kachchi',
      'nick-name': 'Prasun'
    }

    Installation

    Add the package via command line.

    NPM Yarn
    npm i vardict yarn add vardict

    Install

    npm i vardict

    DownloadsWeekly Downloads

    0

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    7.01 kB

    Total Files

    7

    Last publish

    Collaborators

    • maacpiash