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

@zerro_ai/sdk

v0.1.3

Published

Zerro AI Infrastructure SDK — Swarm, Free API Hub, Local LLM, Routing, Cost, Gateway

Readme

@zerro_ai/sdk — Zerro AI Infrastructure

Zerro AI = 무료 API와 로컬 LLM을 위한 AI Operating System.

Phase 3 developer surface: API Hub · Swarm · Local LLM · Routing · Cost Optimization · AI Gateway.

import { zerro, createZerro } from "@zerro_ai/sdk";

const client = createZerro({
  apiKeys: { groq: process.env.GROQ_API_KEY! },
  swarm: { mode: "auto" }, // Auto failover · set mode: "max" for #1 only
  gatewayUrl: process.env.ZERRO_GATEWAY_URL, // optional AI Gateway
});

await client.chat({
  messages: [{ role: "user", content: "hi" }],
});

await client.agent({ name: "ops" }).generate("List free LLM providers");
await client.workflow({ goal: "Research AI news and draft a briefing" });

Install

npmjs (preferred):

npm install @zerro_ai/sdk

Requires one-time setup: npm org @zerro_ai + GitHub secret NPM_TOKEN, then tag sdk-v* (or Actions → Publish @zerro_ai/sdk).

Token (required for CI publish):

  1. https://www.npmjs.com/settings/~/tokens → Granular Access Token
    • Packages: Read and write
    • Bypass two-factor authentication 체크 (필수 — 없으면 E403)
    • Organization: zerro_ai
  2. 또는 Classic → Automation 토큰 (2FA bypass 내장)
  3. GitHub → Settings → Secrets → Actions → NPM_TOKEN 업데이트

From GitHub Release (private repo — use a PAT):

npm install https://github.com/Benjamin5607/zero_ai/releases/download/sdk-v0.1.3/zerro-sdk-0.1.3.tgz

Surface

| API | Maps to | |-----|---------| | zerro.chat() | Swarm Engine routing + failover | | zerro.agent() | Named agent generate/chat | | zerro.workflow() | Plan → execute (LLM or gateway tools) | | zerro.swarm.configure() | Auto / MAX + model mix | | zerro.providers.free() | Free API Hub (13+) | | zerro.cost.inferCostTier() | Cost optimization hints | | createLegalClient() | KR_AI_Legal ZeroAI plugin (Legal Research) |

import { createLegalClient } from "@zerro_ai/sdk";

const legal = createLegalClient(); // default https://kr-ai-legal.onrender.com
await legal.getPlugin();
await legal.workspaceLegal({ question: "…", rounds: 2, lang: "ko" });

Build / publish

npm run sdk:build
# Tag: sdk-v0.1.3 → Actions publish-sdk.yml → npmjs

Keys

  1. createZerro({ apiKeys: { groq: "…" } })
  2. Or env: GROQ_API_KEY / ZERRO_KEYS_JSON
  3. Or gatewayUrl → app /api/proxy + /api/tools/execute