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

axrecipe

v1.4.0

Published

Centrally-managed, versioned command recipes with run history and event streaming.

Readme

axrecipe

Centrally-managed, versioned command recipes with run history and event streaming.

Overview

axrecipe is a headless API server for storing and versioning command recipes, tracking runs against those recipes, and recording run events. It uses PostgreSQL for storage and database-backed API keys with scoped permissions for access control.

Interactive API documentation is available at /docs (Swagger UI) when the server is running (enabled by default; disable with AXRECIPE_ENABLE_DOCS=false).

The web UI for axrecipe lives in axconsole.

Configuration

| Variable | Description | Default | | --------------------------- | ----------------------------------------------------------------------------- | -------------------------------------- | | AXRECIPE_PORT | Port to listen on | 3849 | | AXRECIPE_HOST | Host to bind to | 127.0.0.1 | | AXRECIPE_DATABASE_URL | PostgreSQL connection URL | postgresql://localhost:5432/axrecipe | | AXRECIPE_LOG_LEVEL | Pino log level (silent, trace, debug, info, warn, error, fatal) | info | | CORS_ORIGINS | Comma-separated allowed origins (empty = CORS disabled, * = all) | "" | | CORS_CREDENTIALS | Allow credentials in CORS requests | false | | RATE_LIMIT_MAX | Max requests per time window | 100 | | RATE_LIMIT_TIME_WINDOW | Rate limit time window | 1 minute | | FASTIFY_CLOSE_GRACE_DELAY | Graceful shutdown delay (ms) | 500 | | TRUST_PROXY | Proxy trust mode (true, false, hop count, or comma-separated IPs) | "" (disabled) | | AXRECIPE_LOG_PRETTY | Pretty-print logs (true, false; unset = auto-detect TTY) | "" (auto) | | AXRECIPE_ENABLE_DOCS | Enable Swagger UI at /docs (true, false) | true |

Prerequisites

  • Node.js >= 22.19.0
  • PostgreSQL 14+ — the database must exist before running axrecipe init (which runs migrations but does not create the database itself)
# Example: create the database
createdb axrecipe
# Or via Docker:
docker run -d --name axrecipe-db -p 5432:5432 \
  -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=axrecipe \
  postgres:17-alpine

Authentication

Authentication uses database-backed API keys with scoped permissions (read, execute, manage, grant).

Quick start:

# Initialize database and create the first admin key
axrecipe init --create-admin-key

# Or create keys separately
axrecipe key create --name "Admin" --read "*" --execute "*" --manage "*" --grant "*"

Client Configuration

The axrecipe run command uses these environment variables when connecting to a server:

| Variable | Description | Default | | ------------------ | ---------------- | ------- | | AXRECIPE_URL | Server URL | — | | AXRECIPE_API_KEY | API key for auth | — |

These can also be set via --server and --api-key flags (prefer env vars to avoid process list exposure).

CLI flags (--port, --host, --database-url, --log-level) override the corresponding server environment variables.