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

@catapultjs/deploy

v0.12.0

Published

SSH deployment tool for Node.js applications

Readme

Catapult

npm version node version license

A Capistrano-style deployment tool for Node.js — versioned releases, shared directories, composable task pipeline, automatic rollback. No agent, no container, no server-side dependency, just SSH.

Full documentation at https://catapultjs.com/

Features

  • SSH-based — deploys directly over SSH; nothing to install on the server beyond a remote shell
  • Versioned releases — every deploy goes into releases/<timestamp>, activated by an atomic current symlink, with automatic rollback on failure
  • Composable pipeline — insert, remove or replace any task with a single function call, or rewrite the whole sequence
  • Drop-in recipes — import once, tasks register themselves and wire into the pipeline
  • Multi-host — deploy to one server or several, with per-host configuration
  • Healthcheck — verify the app responds after a deploy, with automatic rollback on failure

Quick start

Run init at the root of your project — it creates a deploy.ts config file and installs @catapultjs/deploy as a dev dependency:

npx @catapultjs/deploy init

Edit deploy.ts to describe your hosts and pick your recipes:

import { defineConfig } from '@catapultjs/deploy'
import '@catapultjs/deploy/recipes/git'
import '@catapultjs/deploy/recipes/pm2'

export default defineConfig({
  hosts: [
    {
      name: 'production',
      ssh: '[email protected]',
      deployPath: '/home/deploy/myapp',
    },
  ],
})

Prepare the server (once per host), then deploy:

npx cata deploy:setup
npx cata deploy

Server structure

/home/deploy/myapp/
  current/          → symlink to releases/<release>
  releases/
    2024-01-15T.../ ← active release
    2024-01-14T.../
  shared/
    .env
    logs/
  .catapult/
    repo/           ← bare git mirror (git recipe)
    revisions.log   ← JSON deployment history
    deploy.lock     ← present during a deployment

Recipes

| Recipe | Description | | ---------------- | --------------------------------------------------------------------------- | | git | Clones the repository into each release, keeps a bare mirror on the server | | rsync | Pushes a local directory into the release with rsync | | pm2 | Start, reload and manage PM2 processes | | adonisjs | Install, build and migration tasks for AdonisJS apps | | adonisjs_local | Builds the AdonisJS app locally, uploads the artifact | | astro | Builds locally with astro build, uploads the output | | nuxt | Build tasks for Nuxt apps | | vitepress | Builds locally with vitepress build, uploads the static files | | directus | Directus database migration and schema snapshot tasks | | redis | Flush one, many or all Redis databases |

Requirements

  • Node.js >= 24 on the machine running Catapult
  • SSH key-based access to the target servers

Agent skill

The package ships a catapultjs agent skill for Claude Code and SKILL.md-compatible agents, with references covering the deploy config, recipe writing and the programmatic API.

npx skills add catapultjs/deploy

Contributing a recipe

If you've written a recipe that could be useful to others, open a pull request and add it to the contrib/ directory.

Inspiration

Inspired by Deployer PHP and Capistrano.

License

MIT