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

genaicode

v2.27.0

Published

Drive the coding-agent CLIs you already have (Claude Code, Codex, Copilot, Cursor, Gemini, opencode...) behind one API and one CLI, plus a thin provider-neutral LLM layer.

Readme

Quick start

npx genaicode                                         # chat with your agent in this terminal
npx genaicode ui                                      # the same chat in your browser
npx genaicode run --verify "npm test" "fix the failing tests"
npx genaicode embed                                   # let your agent wire genaicode into your app

run --verify runs the first agent CLI it finds, then your check; a failing check goes back to the agent for another try. -a codex (or claude, copilot, opencode...) picks the agent, and the command stays the same. Node.js 20+; the agent CLIs are yours to install and log in to (npx genaicode agents lists what it finds).

What's inside

| Use it as | Import / command | Docs | | ------------------------------ | -------------------------------------- | --------------------------------- | | A TypeScript API over agents | genaicode/agents | agents.md | | CLI, terminal and browser chat | genaicode run, chat, ui, embed | cli.md | | A panel in your dev server | genaicode/vite, createDevOverlay | vite.md | | A chat component | genaicode/react <AgentChat> | react.md | | An agent inside your own app | genaicode/app-agent | app-agent.md | | Editors, desktop, game engines | genaicode acp, genaicode/ui | embedding.md | | A thin LLM layer | genaicode, genaicode/providers | llm.md |

import { codex } from 'genaicode/agents';

const run = codex().run({ prompt: 'Add a unit test for parseDate', cwd: '/path/to/repo' });
for await (const event of run) if (event.type === 'file-change') console.log('edited', event.paths);
const result = await run.result; // { status, ok, text, sessionId, usage, ... }

Every driver gives the same events and result. On top: steering a running task, approvals and sandbox policy (permissions, or 'yolo'), per-task MCP servers, and verify-and-repair. The agent keeps its own login, billing and sandbox; GenAIcode picks no model and adds no agent loop of its own.

Install

npm install genaicode

Importing genaicode never spawns an agent, and genaicode/agents loads no provider SDK and no UI code.

More