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

@ductape/cli

v0.4.6

Published

Ductape CLI — local platform, login, link projects, and manage resources via the proxy (Workbench-compatible)

Readme

@ductape/cli

AI-led codebase migration

Create and pass project-level E2E tests against the original codebase first, then bind them with ductape migration-e2e init. Run ductape migrate-codebase --e2e-baseline <manifest>; the default is a separate new codebase. Migration commands record advisory or verification evidence and never generate application source. Finish with the unchanged original suite through migration-e2e final.

Terminal interface for Ductape — same transport as the Workbench (encrypted sdk-proxy / db-proxy / graph-proxy).

Install

cd cli
npm install
npm run build

Global ductape command (optional)

npm link installs into npm’s global prefix. If you see EACCES on /usr/local/lib/node_modules, that prefix is owned by root (common with the system Node installer). Use one of these:

Option A — run without linking (no sudo)

npm exec ductape -- login
npm exec ductape -- resources storage list
# or: node dist/index.js login

Option B — user-owned global prefix (recommended for npm link)

mkdir -p ~/.npm-global
npm config set prefix "$HOME/.npm-global"
# Add to ~/.zshrc (or ~/.bashrc):
#   export PATH="$HOME/.npm-global/bin:$PATH"
source ~/.zshrc
cd cli && npm link
ductape --help

Do not use sudo npm link; it mixes root-owned globals with your normal user.

Quick start

ductape install
ductape login                    # uses `cloud` profile (https://api.ductape.app)
ductape login --browser google   # browser OAuth; returns to the CLI automatically
ductape login --browser github
# Local platform (UI + API on your machine):
ductape profiles use local
ductape start
ductape login --profile local

# Workbench UI locally, cloud API (no local backend):
ductape start --remote --build
ductape login
ductape init --link
ductape resources storage list
ductape generate snippet storage upload -l typescript -o upload.ts

Command overview

ductape login|logout|whoami|install
ductape profiles list|use <name>
ductape workspaces list|current|use   # interactive picker on login/link/use
ductape products list|get|create|update|delete
ductape apps list|get|create|update|delete|import
ductape init|link|unlink
ductape start|stop|status   # status explains proxy 502 when backend is down
ductape resources <type> <verb>   # CRUD via sdk-proxy (interactive prompts or -f JSON)
ductape events topics validate --dir ductape/events
ductape events topics create-all --dir ductape/events
ductape cloud connections list|create|get|update|complete|validate|delete
ductape cloud resources list|import|provision …
ductape db <verb>                 # db-proxy runtime
ductape graph <verb>              # graph-proxy runtime
ductape secrets <verb>
ductape marketplace search payments --json
ductape marketplace get paystack --json
ductape generate payload|snippet …
ductape completion bash|zsh

Event topic assets

Ductape topic assets are individual, directly importable files at ductape/events/<topic-tag>.topic.json. Each file contains exactly one topic object whose fully qualified tag is broker-tag:topic-tag; the filename uses the unqualified topic portion. Aggregate catalogues, manifests, envelope registries, and custom event registries are rejected.

Run ductape events topics validate --dir ductape/events --json in CI. create-all validates every file and publisher reference before performing its first remote mutation.

Documentation

Full reference: docs/docs/cli/

Tests

npm test

Changelog

See CHANGELOG.md.