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

nextsheet-cli

v0.5.0

Published

NextSheet CLI — build, dev, and deploy spreadsheet apps.

Downloads

1,901

Readme

@nextsheet/cli

CLI for the NextSheet framework — build, preview, and deploy spreadsheets as code.

npm install -g @nextsheet/cli
# or use without installing
npx nextsheet <command>

Commands

nextsheet build

Compile one or more .sheet.tsx files into a spreadsheet output.

nextsheet build <files...> [options]

Options:
  -t, --target <target>   csv | xlsx | supersheet  (default: csv)
  -o, --out <path>        Output file path
  -n, --name <name>       Workbook name            (default: Workbook)

Examples:

# Single sheet → CSV
nextsheet build sheets/Report.sheet.tsx --target csv --out dist/report.csv

# Single sheet → Excel
nextsheet build sheets/Report.sheet.tsx --target xlsx --out dist/report.xlsx

# Multiple sheets → one workbook
nextsheet build sheets/Invoices.sheet.tsx sheets/Expenses.sheet.tsx \
  --target xlsx --name "Finance 2026" --out dist/finance.xlsx

# For SuperSheet hosting
nextsheet build sheets/*.sheet.tsx --target supersheet
# → creates nextsheet.output.json at project root

nextsheet dev

Start a live browser preview (default localhost:3000). Watches for file changes and hot-reloads the page automatically.

nextsheet dev <files...> [options]

Options:
  -p, --port <port>   Port (default: $PORT from the environment or `.env.local`, then 3000)
  -n, --name <name>   Workbook name
nextsheet dev sheets/Report.sheet.tsx
nextsheet dev sheets/*.sheet.tsx --name "Finance 2026" --port 4000
# or set PORT=4000 in .env.local (loaded before the server starts)

The preview renders a fully formatted spreadsheet in the browser — sheet tabs, column headers, cell formatting, section titles — and reloads instantly on every save. Build errors appear as a toast without losing the last good preview.


nextsheet deploy

Deploy a workbook directly to SuperSheet via the Supabase REST API.

nextsheet deploy <files...> [options]

Options:
  -t, --target <target>      supersheet (default)
  -n, --name <name>          Workbook name
  --supabase-url <url>       Supabase project URL
  --anon-key <key>           Supabase anon key
  --jwt <token>              Your session JWT
  --workbook-id <id>         Update an existing workbook

Using environment variables (recommended):

export SUPABASE_URL=https://xxxx.supabase.co
export SUPABASE_ANON_KEY=eyJhbGci...
export SUPABASE_JWT=eyJhbGci...

nextsheet deploy sheets/*.sheet.tsx --name "Finance 2026"
# → Deployed → workbook ID: abc123

# Update an existing workbook
nextsheet deploy sheets/*.sheet.tsx --workbook-id abc123

Getting your JWT from the browser:

// Open DevTools → Console on your SuperSheet tab
JSON.parse(
  localStorage.getItem(
    Object.keys(localStorage).find(k => k.endsWith('-auth-token'))
  )
).access_token

How it works

The CLI uses esbuild to transpile .sheet.tsx files at runtime — no separate build step, no ts-node or tsx required. Each file is bundled with the nextsheet core, written to a temp file, and dynamic-imported. This means you can run nextsheet build directly against TypeScript source.


Related

  • nextsheet — core library (components, hooks, adapters)
  • GitHub — source, examples, and RFCs

License

MIT