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

@papercraneai/cli

v1.9.11

Published

CLI for Papercrane — discover APIs, build dashboards, and manage cloud workspaces from your terminal.

Readme

papercrane

CLI for Papercrane — give your AI agent access to your APIs, then ask it to build dashboards.

Papercrane connects to your SaaS tools (Google Analytics, Search Console, Stripe, HubSpot, and more) and exposes them as a unified API your AI can discover and call. Once you're set up, your AI handles the rest — exploring your data, writing dashboards, and building custom integrations.

Install

npm install -g @papercraneai/cli

Setup

# Sign in — opens a browser to authenticate
papercrane login

# Connect your integrations
papercrane add

# List what's available
papercrane

That's it. From here, your AI takes over.

What your AI can do

Explore integrations — your AI can list connected modules, describe endpoints, and call them directly to understand the data before building anything.

Build dashboards — dashboards are Next.js routes that your AI writes and hot-reloads locally via papercrane dev. When ready, papercrane push publishes them to the cloud.

Create custom integrations — if an integration isn't built-in, or if your data source is only reachable locally (behind a VPN, on a private network, etc.), your AI can create a local handler: a TypeScript file in app/_handlers/ that works like any other integration. Your AI has instructions for this built-in (papercrane local-integration-guide).

Workspaces

Dashboards live in workspaces. Pull a workspace to work on it locally, push to share it.

papercrane workspaces list
papercrane workspaces use <id>
papercrane pull
papercrane dev       # local dev server with HMR
papercrane push      # publish to the cloud

Commands

| Command | Description | |---------|-------------| | papercrane | List connected modules and endpoints | | papercrane login | Sign in (browser) or --api-key <key> | | papercrane logout | Sign out | | papercrane describe <path> | Describe a module or endpoint (--flat for all paths) | | papercrane call <path> [params] | Call an endpoint and print the result | | papercrane add [integration] | Connect a new integration | | papercrane workspaces list | List your workspaces | | papercrane workspaces use <id> | Set the active workspace | | papercrane pull | Pull workspace files to ~/.papercrane/workspaces/<id>/ | | papercrane push | Push local changes back to the cloud | | papercrane dev | Start a local Next.js dev server with HMR | | papercrane scaffold | Pre-scaffold a workspace directory (no login required) | | papercrane dashboard-guide | Dashboard building reference (for AI consumption) | | papercrane local-integration-guide | Local handler reference (for AI consumption) |

Configuration

Credentials and config live in ~/.papercrane/:

~/.papercrane/
├── config.json            # API URL, auth token
└── workspaces/<id>/       # pulled workspace files

To point at a different API host, set apiBaseUrl in ~/.papercrane/config.json.

Requirements

  • Node.js 22.x
  • npm 10.x

License

Elastic License 2.0. You may use, modify, and distribute this software freely, with two main restrictions: you may not offer it as a hosted or managed service to third parties, and you may not circumvent license key functionality.