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

@tabularis/create-plugin

v0.1.1

Published

Scaffold a new Tabularis database driver plugin in seconds.

Readme

@tabularis/create-plugin

Scaffold a new Tabularis database driver plugin in seconds.

npm create @tabularis/plugin@latest my-driver

(Works the same with pnpm create @tabularis/plugin@latest my-driver or yarn create @tabularis/plugin my-driver.)

What you get

A runnable Rust project with:

  • manifest.json aligned with the Tabularis plugin schema.
  • 33 JSON-RPC handlers pre-wired — metadata methods return empty arrays (plugin loads cleanly), query/CRUD/DDL methods return -32601 until you implement them.
  • test_connection placeholder that returns success, so your driver appears in the connection picker immediately after just dev-install.
  • Working utilities: quote_identifier, paginate — with unit tests — ready to use from your handlers.
  • Cross-platform GitHub Actions release workflow for Linux x64/arm64, macOS x64/arm64, and Windows x64.
  • Local REPL (just repl) for debugging without restarting Tabularis.
  • Optional UI extension subworkspace (--with-ui) pre-configured with Vite IIFE + @tabularis/plugin-api.

Usage

npm create @tabularis/plugin@latest [--] [options] <name>

-- separates the package name from the flags so they reach the CLI instead of npm. If you prefer the direct form:

npx @tabularis/create-plugin [options] <name>

Options

| Flag | Values | Default | Purpose | |------|--------|---------|---------| | --db-type | network | file | folder | api | network | Shapes the connection form and capabilities | | --quote | " | ` | " | SQL identifier quote character | | --with-ui | boolean | off | Also scaffold a ui/ subworkspace using @tabularis/plugin-api | | --no-git | boolean | off | Skip git init | | --dir | path | ./<name> | Target directory |

Examples

# Network driver (host/port/user/pass connection form)
npm create @tabularis/plugin@latest my-pg-like

# File-based driver (SQLite, DuckDB shape)
npm create @tabularis/plugin@latest duckdb-clone -- --db-type=file

# API-based plugin (no connection form; public REST-ish data source)
npm create @tabularis/plugin@latest my-api -- --db-type=api

# With UI extension scaffold
npm create @tabularis/plugin@latest mine -- --with-ui

Next steps after scaffolding

cd my-driver
just dev-install              # builds and installs into ~/.local/share/tabularis/plugins/my-driver
# open Tabularis → your driver is in the connection picker

From there, fill in handlers in src/handlers/metadata.rs, then query.rs, then the rest. The generated README.md includes a feature-by-feature roadmap.

Layout of the generated project

my-driver/
├── Cargo.toml
├── manifest.json
├── README.md
├── justfile            # just build / test / dev-install / repl / lint / fmt
├── rust-toolchain.toml
├── .github/workflows/release.yml
└── src/
    ├── main.rs         # stdio JSON-RPC loop
    ├── rpc.rs          # method dispatch
    ├── client.rs       # TODO: your DB client
    ├── error.rs
    ├── models.rs
    ├── handlers/{metadata,query,crud,ddl}.rs
    ├── utils/{identifiers,pagination}.rs
    └── bin/test_plugin.rs

With --with-ui:

my-driver/ui/
├── package.json
├── tsconfig.json
├── vite.config.ts
└── src/index.tsx     # defineSlot("data-grid.toolbar.actions", …)

Requirements

  • Node 18.17 or newer.
  • Rust stable (for building the generated plugin).
  • just (optional but recommended — the generated justfile wraps the common tasks).

Related

License

Apache-2.0