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

answerloom

v0.1.2

Published

Build static, cited answer packs from local docs with no AI bill, server, or database.

Downloads

322

Readme

AnswerLoom

AnswerLoom turns Markdown and text files into static, cited answer packs: no API key, no server, no database, no AI bill.

It is for maintainers, indie hackers, docs teams, teachers, and community projects that answer the same questions again and again. You write normal docs. AnswerLoom builds a portable pack that ranks local evidence, produces an answer card, cites source files and lines, and publishes as plain static files on GitHub Pages or any static host.

Why This Exists

The crowded path is another chat UI. AnswerLoom takes the opposite path.

Most "ask your docs" tools need a model, a vector database, a web server, or a hosted account. Those tools can be powerful, but they still make every reader depend on compute someone has to pay for. AnswerLoom makes repeated answers cheap by turning evidence into a static artifact that can be reviewed, forked, cached, mirrored, and hosted for free.

Quick Start

npx answerloom init
npx answerloom index
npx answerloom ask "How do I install this?"
npx answerloom build --out site

Open site/index.html through a static server, or publish site/ to GitHub Pages.

This repository also ships a runnable demo:

npm run build:example
node bin/answerloom.js ask "Why is AnswerLoom free to run?" --pack .answerloom/example-pack.json

What You Get

  • A cross-platform Node CLI with no runtime dependencies.
  • Local indexing for .md, .markdown, .mdx, .txt, and .text files.
  • BM25-style evidence ranking with title and heading boosts.
  • Answer cards with confidence, snippets, paths, line numbers, and scores.
  • A polished static web app that runs from HTML, CSS, JavaScript, and JSON.
  • llms.txt output so agents can discover the pack file.
  • Dockerfile, GitHub Actions CI, Pages deployment, and multi-platform image build checks.

Commands

answerloom init [dir]
answerloom index [paths...] --out .answerloom/pack.json
answerloom ask "your question" --pack .answerloom/pack.json
answerloom build --pack .answerloom/pack.json --out answerloom-site
answerloom verify --pack .answerloom/pack.json --site answerloom-site
answerloom doctor

Config

answerloom.config.json keeps the pack portable:

{
  "title": "My Project Answers",
  "description": "Cited answers from the project docs.",
  "sources": ["docs", "README.md"],
  "ignore": ["node_modules", ".git", ".answerloom", "dist"],
  "questions": [
    "What does this project do?",
    "How do I install it?",
    "How is it different?"
  ],
  "site": {
    "accent": "#0f766e"
  }
}

Why It Is Different

AnswerLoom is not a chatbot. It does not invent prose from hidden model weights.

AnswerLoom is not only search. It returns a compact answer card, confidence, and ranked evidence.

AnswerLoom is not an LLM cache. It creates a public answer artifact that can live in Git, pass review, and serve unlimited readers without spending tokens.

The market research behind this wedge is in docs/market-research.md.

Quality Bar

Local verification:

npm run verify

The CI pipeline runs linting, unit tests, CLI round trips, and example-site builds on Linux, macOS, and Windows across Node 20, 22, and 24. A separate Docker workflow builds a multi-platform image for linux/amd64 and linux/arm64.

Docker is optional for users:

docker build -t answerloom .
docker run --rm -v "$PWD:/work" -w /work answerloom index

GitHub Pages

The included Pages workflow builds the demo pack from examples/foss-maintainer and deploys dist/ on pushes to main. On a brand-new repository, enable Pages once with source set to GitHub Actions, or run gh api --method POST repos/OWNER/REPO/pages -f build_type=workflow. For your own project, replace the demo config with your docs config and keep the same workflow shape.

Sponsorship

AnswerLoom is MIT licensed and free to run because the output is static. If it saves support time, AI subscription money, or hosting cost, sponsorship keeps the maintenance loop alive.

License

MIT. See LICENSE.