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

devdb-cli

v0.5.0

Published

A CLI client for interacting with devdb.cloud

Readme

About The Project

DevDB CLI Screenshot

This is the CLI component for DevDB - a developer-focused database management platform. With DevDB you can quickly create databases for development and testing purposes, without the complexity of maintaining shared databases or Docker images.

Installation

  1. Get an API key from your account at https://devdb.cloud/
  2. Install the command line client with NPM
    sudo npm i -g devdb-cli@latest
  3. Export the DEVDB_API_KEY environment variable
    export DEVDB_API_KEY=ENTER_API_KEY_HERE
  4. Start creating databases!

Usage

DevDB CLI Documentation

The DevDB CLI provides several useful commands to manage your DevDB databases, snapshots, and images.

Commands

create-database

Aliases: create, up

Description: Launch a database.

Usage:

create-database --type <databaseType> [options]

Options:

  • -t, --type: The type of database you want to create in DevDB. This option is required.
  • -n, --name: Name of the created database.
  • -i, --image: Image to create the database from.
  • -p, --proxy: Start DevDB client in proxy mode (requires socat to be installed, unless running in Docker).
  • --proxyPort: Local port to listen on for proxy mode.
  • --username: Desired username to use for the database. When unset a random username will be generated.
  • --password: Desired password to use for the database. When unset a random password will be generated.
  • --reconnect: Reconnect to the database with the specified name, if it exists. If it doesn't exist, it will create normally.

list-databases

Aliases: ld, list

Description: List databases.

Usage:

list-databases

get-database-types

Description: Get available database types.

Usage:

get-database-types

delete-database

Aliases: delete, rm

Description: Delete database.

Usage:

delete-database <databaseId>

create-snapshot

Aliases: snapshot

Description: Create a snapshot from an existing database.

Usage:

create-snapshot <databaseId> [snapshotName]

Options:

  • -n, --snapshotName: Name of the created snapshot.

create-image

Aliases: ci

Description: Create image from running database.

Usage:

create-image <databaseId> [snapshotName]

Options:

  • -n, --snapshotName: Name of the created image. This option is required.

list-snapshots

Aliases: ls

Description: List all snapshots.

Usage:

list-snapshots <databaseId>

list-images

Aliases: li

Description: List all images.

Usage:

list-images

delete-snapshot

Aliases: rms

Description: Delete snapshot from DevDB.

Usage:

delete-snapshot <snapshotId>

delete-image

Aliases: rms

Description: Delete image from DevDB.

Usage:

delete-image <imageId>

rollback-database

Aliases: rb, rollback

Description: Rollback database.

Usage:

rollback-database <databaseId> [snapshotId]

Options:

  • --snapshotId, --snapshot: ID of the snapshot to rollback to. Defaults to the most recent snapshot.

Global options

Options:

  • -k, --apikey: API Key to access DevDB (or from env var DEVDB_API_KEY).
  • --manifest: Write a JSON output manifest file with the detailed results of the requested command.

To get help for any command, you can use the --help flag after the command.

License

Distributed under the Mozilla Public License Version 2.0. See LICENSE.md for more information.

Contact

Please let us know of any issues with this at [email protected], and we will be happy to help!