Have ideas to improve npm?Join in the discussion! »

    parse-columns-cli

    2.0.0 • Public • Published

    parse-columns-cli Build Status

    Parse text columns, like the output of unix commands. Returns JSON that you can manipulate with tools like jq or underscore-cli.

    Install

    $ npm install --global parse-columns-cli
    

    Usage

    $ parse-columns --help
    
      Usage
        $ parse-columns <string>
        $ echo <string> | parse-columns
    
      Example
        $ lsof -i | parse-columns | underscore --outfmt=text pluck NAME
        *:*
        *:62886
        *:*
        localhost:9050 (LISTEN)
    

    Related

    License

    MIT © Sindre Sorhus

    Install

    npm i parse-columns-cli

    DownloadsWeekly Downloads

    0

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • avatar