New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

codehooks

Package Overview
Dependencies
Maintainers
2
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codehooks

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

latest
npmnpm
Version
1.3.2
Version published
Weekly downloads
31
19.23%
Maintainers
2
Weekly downloads
 
Created
Source

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

Keywords

webhooks

FAQs

Package last updated on 06 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts