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

tabula-docs

v0.1.4

Published

Static, dependency-free API documentation driven by a single JSON file.

Readme

Tabula

Static, dependency-free API documentation driven by a single JSON file.

npm license CI

🔗 Live demo


[!NOTE] Most of the non-source files in this repository — documentation, CI workflows, CLI scripts, and configuration — were largely generated with the help of Claude. The source files (src/) were written by hand and reviewed carefully. That said, if you spot anything insecure or incorrect anywhere in the repo, please don't hesitate to open an issue or submit a PR — all reports are welcome and appreciated.


Why Tabula?

  • Zero runtime dependencies. Pure HTML + CSS + vanilla JavaScript. No React, no build step, no node_modules to serve.
  • One source of truth. Edit api.json, reload — your docs are up to date.
  • Framework agnostic. PHP, Go, Python, Rust, Node — Tabula doesn't care what's behind your API.
  • Machine-validated. A built-in linter catches schema errors before they reach the browser.
  • Themeable. Colors, fonts, logo, dark mode — all from the settings block, no CSS editing needed.

Quickstart

# 1. Scaffold a new docs folder
npx tabula-docs init my-docs

# 2. Edit your API schema
cd my-docs && $EDITOR api.json

# 3. Preview locally
npx tabula-docs serve .

Open http://localhost:3000. Done.


Manual setup

No CLI needed. Copy src/ into your project, drop your api.json next to index.html, and serve with any static server.

my-docs/
├── index.html
├── assets/
│   ├── images/
│   ├── scripts/
│   │   ├── pretty-json.js
│   │   ├── constants.js
│   │   ├── endpoints.js
│   │   ├── inputs.js
│   │   └── script.js
│   └── styles/
│       └── styles.css
└── api.json        ← your file

Validate your schema

npx tabula-docs validate path/to/api.json

Exit 0 = all clear. Exit 1 = errors to fix before deploying. See docs/validator.md for the full list of checks.


Examples

| Example | Description | | ---------------------------------------------------- | ------------------------------------------------------------ | | examples/minimal/ | Two tables, ready in 30 seconds | | examples/blog/ | Realistic CRUD — posts, users, tags, pagination | | examples/ecommerce/ | Advanced — multipart uploads, order state machine, full auth |


Documentation

| Doc | Content | | ------------------------------------------------------ | ----------------------------------------------- | | docs/getting-started.md | CLI and manual setup walkthrough | | docs/schema-reference.md | Complete api.json field reference | | docs/theming.md | Colors, fonts, logo, dark mode | | docs/custom-endpoints.md | Non-CRUD endpoints, file uploads | | docs/validator.md | Linter usage and GitHub Actions integration | | docs/deployment.md | GitHub Pages, Vercel, Netlify, Cloudflare Pages |


Contributing

Contributions are welcome. See CONTRIBUTING.md for setup instructions, commit conventions, and the PR process.


License

MIT © Lauwed