npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

tabular2json

v1.0.1

Published

Converts tabular data to JSON

Readme

Go from this

➜  shell-table git:(master) ✗ ps
  PID TTY           TIME CMD
 6235 ttys000    0:01.66 -zsh
  624 ttys001    0:00.33 -zsh
 4145 ttys001    0:00.02 tmux
74784 ttys002    0:01.76 -zsh
10977 ttys003    0:00.26 -zsh
31438 ttys003    0:00.02 tmux
 4148 ttys004    0:00.23 -zsh
 4221 ttys005    0:00.35 -zsh
50000 ttys006    0:00.16 -zsh
31439 ttys007    0:00.83 -zsh
31513 ttys008    0:00.23 -zsh
50972 ttys008    0:00.13 node ./node_modules/.bin/mocha -w
50973 ttys008   25:36.46 /usr/local/bin/node /Users/petar/src/personal/aramid/node_modules/mocha/bin/_mocha -w
51020 ttys009    0:00.79 -zsh
 6563 ttys010    0:00.18 -zsh
15195 ttys011    0:00.22 -zsh
18319 ttys012    0:02.17 -zsh
 7863 ttys013    0:00.14 -zsh
51124 ttys014    0:00.70 -zsh
26298 ttys015    0:00.14 -zsh
56782 ttys016    0:00.21 -zsh

to this

➜  shell-table git:(master) ✗ ps | tanble2json 
[ { PID: '6235', TTY: 'ttys000    0:0', TIME: '1.66', CMD: '-zsh' },
  { PID: '624', TTY: 'ttys001    0:0', TIME: '0.33', CMD: '-zsh' },
  { PID: '4145', TTY: 'ttys001    0:0', TIME: '0.02', CMD: 'tmux' },
  { PID: '74784', TTY: 'ttys002    0:0', TIME: '1.76', CMD: '-zsh' },
  { PID: '10977', TTY: 'ttys003    0:0', TIME: '0.26', CMD: '-zsh' },
  { PID: '31438', TTY: 'ttys003    0:0', TIME: '0.02', CMD: 'tmux' },
  { PID: '4148', TTY: 'ttys004    0:0', TIME: '0.23', CMD: '-zsh' },
  { PID: '4221', TTY: 'ttys005    0:0', TIME: '0.35', CMD: '-zsh' },
  { PID: '50000', TTY: 'ttys006    0:0', TIME: '0.16', CMD: '-zsh' },
  { PID: '31439', TTY: 'ttys007    0:0', TIME: '0.83', CMD: '-zsh' },
  { PID: '31513', TTY: 'ttys008    0:0', TIME: '0.23', CMD: '-zsh' },
  { PID: '50972',
    TTY: 'ttys008    0:0',
    TIME: '0.13',
    CMD: 'node ./node_modules/.bin/mocha -w' },
  { PID: '50973',
    TTY: 'ttys008   25:3',
    TIME: '7.34',
    CMD: '/usr/local/bin/node /Users/petar/src/personal/aramid/node_modules/mocha/bin/_mocha -w' },
  { PID: '51020', TTY: 'ttys009    0:0', TIME: '0.95', CMD: '-zsh' },
  { PID: '58904',
    TTY: 'ttys009    0:0',
    TIME: '0.00',
    CMD: 'node index.js' },
  { PID: '6563', TTY: 'ttys010    0:0', TIME: '0.18', CMD: '-zsh' },
  { PID: '15195', TTY: 'ttys011    0:0', TIME: '0.22', CMD: '-zsh' },
  { PID: '18319', TTY: 'ttys012    0:0', TIME: '2.17', CMD: '-zsh' },
  { PID: '7863', TTY: 'ttys013    0:0', TIME: '0.14', CMD: '-zsh' },
  { PID: '51124', TTY: 'ttys014    0:0', TIME: '0.70', CMD: '-zsh' },
  { PID: '26298', TTY: 'ttys015    0:0', TIME: '0.14', CMD: '-zsh' },
  { PID: '56782', TTY: 'ttys016    0:0', TIME: '0.21', CMD: '-zsh' } ]

Installation

npm install --save table2json