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

@jsondb-cloud/cli

v1.0.26

Published

CLI tool for jsondb.cloud — push, pull, manage your JSON database from the terminal

Readme

@jsondb-cloud/cli

The official CLI tool for jsondb.cloud — a hosted JSON document database.

npm version npm downloads CI TypeScript Node.js Bundle size GitHub stars Last commit License: MIT

Install

npm

npm install -g @jsondb-cloud/cli

Homebrew

brew install jsondbcloud/tap/jsondb

Standalone binaries

Download prebuilt binaries from GitHub Releases.

Available platforms: macOS (arm64, x64), Linux (x64, arm64).

Quick Start

Get your API key from jsondb.cloud/dashboard/api-keys, then:

# Authenticate (paste your API key when prompted)
jsondb login

# Create a document
echo '{"name": "Alice", "email": "[email protected]"}' | jsondb create users
# ✓ Created usr_abc123 in users

# Read it back
jsondb get users/usr_abc123
# {"_id": "usr_abc123", "name": "Alice", "email": "[email protected]", ...}

# Delete it
jsondb delete users/usr_abc123
# ✓ Deleted users/usr_abc123

Configuration

Auth

jsondb login prompts for your API key interactively. Keys start with jdb_sk_.

Credentials are stored at ~/.config/jsondb/credentials.json.

Environment variables

| Variable | Description | |----------|-------------| | JSONDB_API_KEY | API key (overrides stored credentials) | | JSONDB_PROJECT | Default project namespace | | JSONDB_BASE_URL | API base URL (for self-hosted or staging) |

Global flags

| Flag | Description | |------|-------------| | --api-key <key> | API key for this request | | --project <ns> | Project namespace | | --base-url <url> | API base URL | | --format <fmt> | Output format: json, raw, ndjson, table | | --verbose | Show debug info (request URLs, status codes) |

Commands

Auth

| Command | Description | |---------|-------------| | login | Authenticate with your API key | | logout | Remove stored credentials | | whoami | Show the current authenticated user |

Documents

| Command | Description | |---------|-------------| | get <path> | Retrieve a document by path | | create <collection> | Create a new document in a collection | | update <path> | Replace a document at the given path | | patch <path> | Partially update a document | | delete <path> | Delete a document |

Collections

| Command | Description | |---------|-------------| | collections | List all collections | | documents <collection> | List documents in a collection |

Import/Export

| Command | Description | |---------|-------------| | push <file> --to <collection> | Import a local JSON file into a collection | | pull <collection> | Export a collection to a local file |

Schema

| Command | Description | |---------|-------------| | schema get <collection> | Retrieve the schema for a collection | | schema set <collection> | Set or update a collection schema | | schema remove <collection> | Remove the schema from a collection |

Versions

| Command | Description | |---------|-------------| | versions list <collection> <id> | List version history for a document | | versions get <collection> <id> <version> | Retrieve a specific version | | versions diff <collection> <id> | Show diff between versions | | versions restore <collection> <id> <version> | Restore a document to a previous version |

Webhooks

| Command | Description | |---------|-------------| | webhooks list <collection> | List webhooks for a collection | | webhooks create <collection> | Create a new webhook | | webhooks get <collection> <id> | Get webhook details | | webhooks update <collection> <id> | Update a webhook | | webhooks delete <collection> <id> | Delete a webhook | | webhooks test <collection> <id> | Send a test event to a webhook |

Utilities

| Command | Description | |---------|-------------| | validate <collection> | Validate documents against the collection schema | | count <collection> | Count documents in a collection | | bulk <collection> | Perform bulk operations on a collection |

Documentation

Full documentation at jsondb.cloud/docs.

Related Packages

| Package | Description | |---------|-------------| | @jsondb-cloud/client | JavaScript/TypeScript SDK | | @jsondb-cloud/mcp | MCP server for AI agents | | @jsondb-cloud/cli | CLI tool | | jsondb-cloud (PyPI) | Python SDK |

License

MIT