parse-columns-cli
Parse text columns, like the output of unix commands. Returns JSON that you can manipulate with tools like jq or underscore-cli.
Last updated 5 years ago by sindresorhus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install parse-columns-cli 
SYNC missed versions from official npm registry.

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

Current Tags

  • 2.0.0                                ...           latest (5 years ago)

2 Versions

  • 2.0.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (3)
Dev Dependencies (3)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |