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

@act-spec/plugin-eleventy

v0.2.0-rc.1

Published

PRD-408 Eleventy plugin for the ACT (Agent Content Tree) v0.1 reference implementation. Wraps the PRD-400 generator pipeline against Eleventy 2.0+ via the addPlugin API and the eleventy.after build hook.

Downloads

49

Readme

@act-spec/plugin-eleventy

Eleventy plugin for ACT (Agent Content Tree). Wraps the ACT generator pipeline (@act-spec/generator-core) against Eleventy 2.0+ via the addPlugin API and the eleventy.after build hook. Component bindings are explicitly out of scope for Eleventy — for component-driven workflows use @act-spec/plugin-astro, the Next.js generator, or @act-spec/plugin-nuxt. The markdown adapter is consumed unchanged from @act-spec/adapter-markdown.

A parseMode opt-in lets developers select 'eleventy-templates' to walk Eleventy's template registry as the source of truth, in addition to the default 'markdown-fs' mode that delegates to the markdown adapter.

Status

ACT v0.1 internal hand-test candidate. Public release lands at v0.2.

Install

Unpublished in v0.1. Consume via the workspace:

// package.json
{ "dependencies": { "@act-spec/plugin-eleventy": "workspace:*" } }

Usage

// .eleventy.js / eleventy.config.mjs
import actPlugin from '@act-spec/plugin-eleventy';

export default function (eleventyConfig) {
  eleventyConfig.addPlugin(actPlugin, {
    baseUrl: 'https://example.com',
    manifest: { site: { name: 'Example' } },
    urlTemplates: {
      indexUrl: '/act/index.json',
      nodeUrlTemplate: '/act/n/{id}.json',
    },
    parseMode: 'markdown-fs',     // or 'eleventy-templates'
    conformanceTarget: 'core',
  });
  return { dir: { input: '.', output: '_site' } };
}

The plugin runs after the Eleventy build completes (eleventy.after), emits the ACT file set into the configured output directory, and writes a BuildReport adjacent to the index for downstream gating.

Programmatic API (test harnesses, custom orchestration):

import { runActBuild, resolveConfig } from '@act-spec/plugin-eleventy';

const resolved = resolveConfig(opts, eleventyConfigLike);
const report = await runActBuild(resolved, payload);

Conformance / what's tested

Every public API has a citing test in the package's test suite, including the Eleventy version gate (enforceEleventyVersion), the watch re-entry guard, the permalink-filtered warnings path, the parseMode selector, and the bindings rejection. The conformance gate runs @act-spec/validator against the emitted file set.

pnpm -F @act-spec/plugin-eleventy conformance

Configuration (selected)

| Option | Default | Notes | | --- | --- | --- | | baseUrl | (required) | Site base URL used in the manifest. | | urlTemplates | (required) | indexUrl + nodeUrlTemplate. | | manifest | (required) | Manifest seed (site name, etc.). | | parseMode | 'markdown-fs' | 'eleventy-templates' walks Eleventy's registry. | | conformanceTarget | 'core' | 'core' \| 'standard' \| 'strict'. | | outputDir | Eleventy's output dir | Override per resolveOutputDir. | | bindings | (rejected) | Eleventy is template-driven; no component bindings. |

Peer dependencies

| Peer | Range | | --- | --- | | @11ty/eleventy | >=2.0.0 <4.0.0 |

Optional from npm's perspective; the plugin is a no-op without Eleventy.

Links