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

@cle-does-things/csv-cli

v0.1.0

Published

Fast CLI to display CSV data as ASCII tables

Readme

csv-cli

A simple and straightforward CLI app to display CSV files as ASCII tables, written in TypeScript.

Built on top of sunbears, a fast CSV data loader inspired by Polars and Pandas, written in Rust.

$~ csv-cli sample.csv
+------------------------------------------------------------+
|                         sample.csv                         |
+----+-----+---------------+-------------------+-------------+
| id | age |     name      |       email       |    city     |
+----+-----+---------------+-------------------+-------------+
|  1 |  28 | Alice Johnson | [email protected] |  New York   |
|  2 |  34 | Bob Smith     | [email protected]   | Los Angeles |
|  3 |  22 | Carol White   | [email protected] |   Chicago   |
|  4 |  45 | David Brown   | [email protected] |   Houston   |
|  5 |  31 | Eva Martinez  | [email protected]   |   Phoenix   |
+----+-----+---------------+-------------------+-------------+

Installation

Install with:

npm i -g @cle-does-things/csv-cli

Verify installation with:

csv-cli --help

Installation might fail without internet access, as it requires to download binaries from GitHub Releases

Usage

csv-cli simply needs the path to the CSV file as positional arguments, and it will display the data contained in it as an ASCII table:

csv-cli sample.csv

Optionally, you can provide a maximum number of rows to display (-l/--limit, default is 100):

csv-cli sample.csv --limit 5

You can also specify a set of columns to display, as a comma-separated string (-c/--columns, defaults to show all columns):

csv-cli sample.csv --columns email,age

Lastly, you can show the time taken to display the table (-t, --time, defaults to not showing the time):

csv-cli sample.csv --time

Development

Linting

bun run format # prettier
bun run lint # eslint ´

Testing

Tests are defined in utils.test.ts:

bun test

Building

Bundled as a JS file:

bun run build # -> dist/index.js

As a compiled binary:

bun run build:bin # -> bin/csv-cli-<os>-<arch>

License

MIT