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

@dbcube/cli

v5.2.10

Published

Command-line interface for DBCube: schema management (.cube files), migrations with rollback, seeders, triggers, TypeScript type generation and database introspection.

Readme

@dbcube/cli

Command-line interface for DBCube: schema management with .cube files, tracked migrations with rollback, seeders, triggers, TypeScript type generation and database introspection.

Installation

npm install -D @dbcube/cli
npx dbcube init

Commands

| Command | Description | |---|---| | npx dbcube init | Scaffold a new project (config + dbcube/ + example schema) | | npx dbcube generate | Generate TypeScript types from .table.cube files | | npx dbcube validate | Validate every .cube file without executing (exit 1 on errors — CI-friendly) | | npx dbcube doctor | Diagnose config, binaries and database connectivity | | npx dbcube dev | Watch mode: saving a .cube file applies it automatically | | npx dbcube run database:create | Interactive database setup (config + physical creation) | | npx dbcube run table:fresh | Drop and recreate all tables (asks for written confirmation; --force for CI) | | npx dbcube run table:refresh | Apply schema changes without dropping data | | npx dbcube run table:alter | Apply pending .alter.cube migrations (--dry-run, --all) | | npx dbcube migrate:status | Show applied / pending / modified migrations | | npx dbcube migrate:rollback | Revert the last migration batch | | npx dbcube run pull [db] | Generate .table.cube files FROM an existing database (MySQL, PostgreSQL, SQLite) | | npx dbcube run seeder:add | Run .seeder.cube data seeders | | npx dbcube run trigger:fresh | Recreate triggers from .trigger.cube files | | npx dbcube update | Check and update the Rust engine binaries | | npx dbcube run download <engine> [ver] | Download a specific engine binary | | npx dbcube -v | Versions of CLI, packages, engines, Node and platform |

Run npx dbcube help for the full reference.

Configuration

dbcube.config.js (created by init):

module.exports = function (config) {
    config.set({
        databases: {
            myapp: {
                type: "sqlite", // mysql | postgres | sqlite | mongodb
                config: { DATABASE: "myapp" }
            }
        }
    });
};

Documentation

https://dbcube.org

License

MIT