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

@unispec-ai/cli

v0.1.2

Published

The unified `unispec` CLI — contracts registry workflow plus memory/vector/kb/agents product commands.

Readme

@unispec-ai/cli

The unified unispec CLI for the Unispec platform.

  • Registry verbs stay top-level — the contracts workflow is the brand: unispec init / validate / publish / pull / generate / diff / search / project.
  • Platform products are noun groupsunispec memory …, unispec vector …, unispec kb …, unispec agents … (mounted from @unispec-ai/sdk, which no longer ships its own libra bin), plus unispec config … for the product config file.

Renamed from @unispecai/cli (never published under that name).

Install

npm install -g @unispec-ai/cli
unispec --help

Run locally (this monorepo)

From the repository root:

npm install
npm run build -w @unispec-ai/sdk -w @unispec-ai/registry -w @unispec-ai/cli
node packages/registry-cli/dist/index.js --help

Authentication

unispec login stores credentials in ~/.config/unispec/config.json and supports both credential kinds:

# Platform API key (lb-sk_…) — preferred; works everywhere incl. CI.
# Used by the product groups AND accepted by registry commands.
unispec login --api-key lb-sk_xxx

# Firebase ID token — user-interactive registry flows
unispec login --token <id-token>

# Point at a different registry
unispec login --base-url http://localhost:8081

Environment variables:

  • UNISPEC_API_KEY — platform API key (product groups + registry fallback)
  • UNISPEC_TOKEN — registry access token (takes precedence for registry commands)
  • UNISPEC_BASE_URL — overrides the API base URL (registry default: https://registry.unispec.ai; product default: https://unispec.ai)

The product groups also honor the legacy ~/.libra/config.json and the deprecated LIBRA_API_KEY / LIBRA_BASE_URL env vars for one cycle.

Registry workflow

unispec login --api-key lb-sk_xxx
unispec init acme/support-triage
cd support-triage
unispec validate --create-if-missing
unispec publish --version 1.0.0 --create-if-missing
unispec pull acme/[email protected]

Product commands

unispec memory add "I prefer dark mode" --user-id alice
unispec memory search "preferences" -u alice
unispec vector create products --dimension 384
unispec kb upload docs ./faq.pdf
unispec agents chat support-bot "How do refunds work?"
unispec config set defaults.user_id alice

Each group accepts --json / --agent before the verb for machine-readable output (unispec memory --agent search "preferences"); most verbs also take -o json.

Output modes

Registry commands support --json to print JSON to stdout instead of human-readable summaries.

Config files

  • global CLI config: ~/.config/unispec/config.json (baseUrl, token, apiKey, defaultOwner)
  • local registry project metadata: .unispec/project.json
  • product config (legacy, still honored): ~/.libra/config.json

Available commands

Registry (top-level): init · login · whoami · validate · publish · pull · generate · diff · search · project status · project-status

Products: memory (add/search/get/list/update/delete/import/status/entity/event) · vector (create/list/describe/delete/upsert/query/stats) · kb (create/list/describe/delete/upload/docs/chat) · agents (create/list/describe/delete/attach/rule/chat) · config (show/get/set)

Publishing

Published from GitHub Actions via npm trusted publishing (OIDC) — see .github/workflows/release.yml (tag cli-v<version>). @unispec-ai/sdk and @unispec-ai/registry are referenced by version (^0.1.0), so they must be published first or bumped together.