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

codehooks

v1.3.2

Published

CLI for codehooks.io - the agent-native backend platform

Downloads

418

Readme

Codehooks CLI

Codehooks.io is the agent-native backend platform. A complete, isolated backend — API routes, NoSQL database, key-value store, worker queues, cron jobs, and static asset hosting — that deploys in under 5 seconds from a single CLI command.

Why Codehooks?

CLI-First, Zero Friction – Every operation is a CLI command. Your agent doesn't need a browser, a dashboard, or a tutorial. coho deploy and it's live.

Everything Built In – Database, queues, cron, key-value store, auth — it's all there. No provisioning, no wiring, no YAML. No more piecing together API Gateway + Lambda + DynamoDB + SQS.

Sub-5-Second Deploys – Your agent can iterate 50 times in the time it takes other platforms to deploy once.

AI Agent Native – Works seamlessly with Claude Code, Cursor, Codex, Cline, and other AI coding agents. Any tool that can run shell commands can autonomously create, deploy, verify, and iterate on a production backend.

Flat-Rate Pricing – Unlimited compute included. No per-request fees, no surprise bills.

Key Features:

  • JavaScript ES6/TypeScript support
  • Express.js-like routing with app.get(), app.post(), etc.
  • NoSQL database with MongoDB-like query API
  • Key-value store with Redis-like API and TTL support
  • Workflow API with state management, automatic retries, and error recovery
  • Background cron jobs and persistent worker queues
  • File storage and static frontend hosting
  • Secure authentication (API tokens, JWT/JWKS)
  • Easy CRUD API creation with app.crudlify()
  • Production-ready webhook templates for Stripe, Shopify, GitHub, Discord, Slack, and more

Quick Start

Install & sign up / login

npm install codehooks -g
coho login

Create a new project

coho create myproject
cd myproject

Write your backend

import { app, Datastore } from 'codehooks-js';

// REST API routes
app.get('/hello', (req, res) => {
  res.json({ message: 'Hello World!' });
});

// Store and query data
app.post('/items', async (req, res) => {
  const conn = await Datastore.open();
  const result = await conn.insertOne('items', req.body);
  res.json(result);
});

// Auto-generate CRUD REST API for any collection
app.crudlify();

export default app.init();

TypeScript is supported, read more here.

Deploy

npm i codehooks-js
coho deploy

Your API is live at: https://<project>.api.codehooks.io/dev/

Use templates

Jumpstart with production-ready templates:

coho create myproject --template crud-api-backend
coho create mywebhook --template webhook-stripe-minimal
# Or browse templates interactively:
coho create myproject

Available templates include CRUD APIs, Stripe, Shopify, GitHub, Discord, Twilio, Slack webhooks and more. Browse all at github.com/RestDB/codehooks-io-templates.

AI Agent Integration

Claude Code Plugin:

/plugin marketplace add RestDB/codehooks-claude-plugin
/plugin install codehooks@codehooks

Built-in AI Prompt:

coho prompt           # Display the Codehooks development prompt
coho prompt | pbcopy  # Copy to clipboard (macOS)

MCP Server for tools without terminal access: codehooks-mcp-server

Documentation

More info at: https://codehooks.io