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

@josharsh/xeli

v0.1.2

Published

Excel for the Terminal — interactive TUI spreadsheet with AI-powered queries

Downloads

350

Readme

Xeli

Excel for the Terminal — an interactive TUI spreadsheet with AI-powered queries.

Open CSV, JSON, Parquet, and Excel files in a beautiful interactive spreadsheet. Query data with natural language (AI → SQL), filter/sort visually, and export results — all from your terminal.

Install

# npm (no install — runs once)
npx @josharsh/xeli data.csv

# npm (global)
npm install -g @josharsh/xeli

# Homebrew
brew install josharsh/tap/xeli

Or grab a prebuilt binary from the latest release.

Supported platforms: macOS (Apple Silicon & Intel) and Linux (arm64 & x86_64). Windows is not currently supported.

Quick Start

# View a CSV file
xeli data.csv

# View JSON data
xeli sales.json

# Pipe data in
cat data.csv | xeli

# Choose a theme
xeli data.csv --theme nord

Features

  • Multi-format: CSV, TSV, JSON, JSONL, Parquet, Excel (xlsx)
  • Interactive table: Vim-style navigation, scrolling, cell selection
  • Search: Regex search across all columns (/)
  • Filter: Visual filter builder with multiple operators (f)
  • Sort: Click-to-sort on any column (s)
  • AI queries: Natural language → SQL via OpenAI/Anthropic (Ctrl+K)
  • SQL mode: Direct DuckDB SQL queries (Ctrl+Q)
  • Column stats: Min, max, mean, median, nulls, unique count (Ctrl+I)
  • Export: Export filtered data to CSV, JSON, or Parquet (e)
  • Clipboard: Copy cell values (y)
  • Themes: Dracula, Nord, Catppuccin, Tokyo Night, Solarized (t)
  • Command palette: Fuzzy search all commands (Ctrl+P)
  • Undo: Full operation history (u)
  • Mouse support: Click, scroll, resize

Power Features

  • Formula bar: Evaluate expressions like SUM(price), price * qty (=)
  • Computed columns: Add derived columns with custom expressions (c)
  • Group-by / Pivot: Multi-column grouping with aggregation wizard (g)
  • Join: Join with another file — INNER, LEFT, RIGHT, FULL (J)
  • Sparkline: Histogram visualization for numeric columns (v)

Keybindings

| Key | Action | |-----|--------| | h/j/k/l or arrows | Move cursor | | G | Go to bottom | | Ctrl+d / Ctrl+u | Page down / up | | Tab / Shift+Tab | Next / prev column | | / | Search (regex) | | n / N | Next / prev search match | | f | Add filter | | F | Clear all filters | | s | Sort current column | | Ctrl+K | AI query | | Ctrl+Q | SQL query | | Enter | Cell detail view | | Ctrl+I | Column statistics | | - / + | Hide / show columns | | H / L | Resize column | | = | Formula bar | | c | Add computed column | | g | Group-by / pivot wizard | | J | Join another file | | v | Sparkline chart | | e | Export data | | y | Copy cell to clipboard | | t | Cycle theme | | r | Toggle row numbers | | u | Undo | | Ctrl+P | Command palette | | ? | Help | | q | Quit |

AI Setup

Set your API key to enable natural language queries:

# OpenAI
xeli config set-key openai sk-...
# or
export OPENAI_API_KEY=sk-...

# Anthropic
xeli config set-key anthropic sk-ant-...
# or
export ANTHROPIC_API_KEY=sk-ant-...

Then press Ctrl+K and ask questions like:

  • "show me top 10 employees by salary"
  • "how many people are in each department?"
  • "average salary by city for active employees"

Building from Source

cargo build --release
# Binary at target/release/xeli

Tech Stack

  • Rust — single binary, no runtime dependencies
  • Ratatui — terminal UI framework
  • DuckDB — in-process analytical database engine
  • Clap — CLI argument parsing
  • Tokio — async runtime for AI queries

License

MIT