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

@ankhorage/orchestrator

v0.3.3

Published

Headless lifecycle engine for deterministic Ankhorage project modules.

Downloads

6,168

Readme

orchestrator

A standalone, headless lifecycle engine for deterministic project modules.

Features

  • dependency-aware installation and removal
  • canonical ledger-backed installed state and configuration
  • deterministic registered/installed/dependent queries
  • explicit reconfiguration with restoration of the previous state on failure
  • no Studio, ZORA, React, or platform UI dependency

Installation

bun add @ankhorage/orchestrator

Usage

import { createOrchestrator, defineModule } from '@ankhorage/orchestrator';

const exampleModule = defineModule({
  id: 'example',
  version: '1.0.0',
  plan: ({ config }) => [
    {
      type: 'write-files',
      files: [
        {
          path: 'src/modules/example/config.json',
          content: `${JSON.stringify(config, null, 2)}\n`,
          overwrite: true,
        },
      ],
    },
  ],
});

const orchestrator = createOrchestrator({
  modules: [exampleModule],
  projectRoot: '/path/to/project',
});

await orchestrator.installModule('example', {
  config: { enabled: true },
});

await orchestrator.reconfigureModule('example', {
  config: { enabled: false },
});

const modules = await orchestrator.listModules();
const example = await orchestrator.getModule('example');

await orchestrator.removeModule('example');

listModules() includes both registered modules and installed ledger entries whose module package is currently unavailable. Registration dependencies and installed dependent state are returned separately so hosts can explain lifecycle constraints without inferring them from generated files.

Calling installModule() for an installed module is an error. Configuration changes use the explicit reconfigureModule() operation, which updates the canonical ledger and module-owned outputs together. If reconfiguration fails, files touched by the previous installation are restored to their exact contents from immediately before reconfiguration, including external or domain-owned edits made since installation.