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 🙏

© 2025 – Pkg Stats / Ryan Hefner

planetsheet

v0.1.21

Published

The most user friendly database tool.

Readme

Planetsheet

A SQL editor designed for developers and content editors.

Today, Planetsheet is an (early) alternative to npx prisma studio, Postico, and TablePlus. See todos for missing features. File an issue to suggest new ideas.

In the future, Planetsheet will give you (and your content editors) an interface as intuitive as Airtable and Google Sheets, while letting you (as a developer) use powerful databases underneath.

Usage

npx psheet

Make sure the DATABASE_URL environment variable is defined. Planetsheet should just work. If it doesn't, please file an issue!

Supported Databases

  • Postgres
  • MySQL
  • SQLite (coming soon)

Sample connection strings

Currently, Planetsheet uses simple custom heuristics to add SSL query parameters for common database providers.

Planetscale

DATABASE_URL=mysql://0qnpifrkjmwv:pscale_pw***********************@asdfojklae.r.us-west-2.psdb.cloud/show?ssl=true

Supabase

DATABASE_URL=postgresql://postgres:[YOUR-PASSWORD]@db.eegtiwadasfjibedlgk.supabase.co:5432/postgres

Neon.tech

DATABASE_URL=postgres://lawrencecchen:[YOUR-PASSWORD]@prowl-read-4122469.cloud.neon.tech:5432/main?sslmode=require

Common errors

npx psheet terminates early

There's likely another process running on port 58337. Inspect using lsof -i tcp:58337 and kill the suspecting process.

Cannot connect

Planetsheet uses knex internally. Look up how to connect to your database with your database's SSL settings.

Development

npm install
npm run dev

Deployment

npm run build

Currently, Planetsheet is only tested with npx psheet. In the future, there should be a straighforward path towards self-hosting (Vercel/Railway/Docker).

Todos

  • [ ] bottom action bar
    • [ ] content/structure/ddl
  • [ ] query editor
    • [ ] query history
  • [ ] redirect to /app/db when table/schema not found
  • [ ] better error handling
  • [ ] image previews
    • [ ] image uploads (configurable to cloudflare, s3, supabase s3, etc.)
  • [ ] relation selector
  • [ ] save database credentials
    • [ ] store db credentials in keychain. what's the windows/linux analogous service??
  • [ ] automatically kill other processes on port 58337?
  • [ ] sort user tables to top; move system tables into another accordion

Future

  • Use Bun to bundle a standalone executable. Should have faster start up times, and (hopefully) ditch the hacky stuff happening in cli/cli.ts. Will also let us ditch node's sqlite3 + @mapbox/node-pre-gyp.