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

tangly

v0.2.2

Published

Self-hosted, open-source documentation framework. Drop-in compatible with Mintlify projects — render existing docs.json/MDX corpora unmodified, with Astro under the hood. Includes a CLI (init, dev, build, migrate), pluggable themes, and full MDX component

Readme


Tangly turns a folder of Markdown into a fast, themed, deployable docs site. It renders existing docs.json + MDX corpora unmodified: point it at a Mintlify-shaped project and it just works. Built on Astro 6, no proprietary backend, no vendor lock-in.

Features

  • Self-hosted and open source. A static site you own, hosted anywhere: Vercel, Cloudflare Pages, Netlify, AWS, GitHub Pages, S3, nginx. No proprietary backend, no monthly bill.
  • Drop-in Mintlify compatible. Point Tangly at an existing docs.json + MDX project and it renders unchanged. tangly migrate converts a mint.json in one command. No source edits.
  • Auto-generated API docs. Point at an OpenAPI 3.0 / 3.1 spec and get browseable endpoint pages with an interactive try-it panel. Redoc, Scalar, and Stoplight viewers too.
  • 38 MDX components, no imports. Cards, Tabs, Steps, Accordions, callouts, ParamFields, CodeGroups, and more. Every theme ships every one.
  • Code, math, and diagrams. Shiki syntax highlighting with line highlights, diffs, focus, and titles. Mermaid diagrams. KaTeX math. Multi-language CodeGroups and package-manager tabs.
  • Built for AI agents. Every page is also served as raw Markdown (.md URL or Accept: text/markdown). About 10× token reduction. /llms.txt and /llms-full.txt ship by default.
  • Five themes, or your own. tang, pith, pip, readable, geist via one theme field. Build custom themes from @tanglydocs/theme-ui. Live demos.
  • Search built in. Pagefind, instant, ⌘K. No Algolia key, no third-party request.
  • Social cards, generated. Every page gets a branded 1200×630 Open Graph image built from its title, theme, and your colors. Links unfurl instead of rendering blank. Per-environment URLs keep PR previews out of search.
  • Custom components. Drop an .astro component into components/ and use it from MDX. Hot-reloads, no registration.
  • Drafts. Mark a page draft: true. Hidden in production, visible in tangly dev, shippable with --include-drafts.
  • Readable config errors. tangly check reports problems key-by-key with line numbers, plain-English reasons, and did-you-mean fixes.
  • Fast dev, ejectable. Astro 6 + Vite under the hood: HMR under 250ms, cold start under 2s on a hundred pages. tangly eject to a raw Astro project whenever you outgrow the magic.

Install

# Install globally
npm i -g tangly

# Or run once without installing
bunx tangly init
npx tangly init

# Or add as a project dep
bun add tangly
npm install tangly

For a pinned version: bunx [email protected] init. For the bleeding-edge build off main: bun add tangly@dev.

Curl one-liner (alternative)

# Linux / macOS
curl -fsSL https://tangly.dev/install.sh | bash

# Windows (PowerShell)
iwr -useb https://tangly.dev/install.ps1 | iex

The curl installer picks the right package manager and writes a tangly wrapper to your PATH. Same end-state as npm i -g tangly; useful if you don't want a global npm install.

Why no standalone binary? Tangly drives Astro at build time, and Astro's plugin ecosystem (Vite, Tailwind native bindings, MDX, Shiki) requires real on-disk node_modules. A single executable can't ship a working plugin tree, so the installer wraps bunx/npx instead.

Quick start

tangly init my-docs        # scaffold a new project
cd my-docs
tangly dev                 # local dev server on :4322
tangly build               # static build → ./dist

That's it. ./dist/ is a static site you can host anywhere.

CLI

| Command | What | |------------------|-------------------------------------------------------------------| | tangly init | Scaffold a new project from a template (--template, default starter). | | tangly dev | Local dev server with hot reload (default port 4322). | | tangly build | Build to a static directory (--out ./dist, --base /sub/). | | tangly preview | Serve a built dist/ locally for QA. | | tangly check | Validate docs.json + frontmatter (--strict for CI). | | tangly migrate | Convert a Mintlify mint.json project to a Tangly docs.json. | | tangly add | Add a theme or component to an existing project. | | tangly eject | Materialise the synthesised Astro project into your repo. One-way. |

Full reference: docs.tangly.dev/reference/cli.

Configuration

Drop a docs.json at the project root:

{
  "$schema": "https://tangly.dev/schema/docs.json",
  "name": "My Docs",
  "theme": "tang",
  "navigation": {
    "tabs": [
      { "tab": "Documentation", "groups": [
        { "group": "Get Started", "pages": ["introduction", "quickstart"] }
      ]}
    ]
  }
}

Every Mintlify field is supported. Full schema: docs.tangly.dev/reference/schema/docs-json.

Migrating from Mintlify

tangly migrate             # reads mint.json, emits docs.json. MDX is untouched.
tangly dev                 # render with Tangly

If something doesn't render the way Mintlify did, file an issue. Tangly aims for parity. See the Mintlify migration guide and compatibility notes.

Deploy

tangly build --out ./dist  # produce a static folder

# then:
vercel deploy ./dist
wrangler pages deploy ./dist
netlify deploy --prod --dir dist

GitHub Pages, S3, nginx, Cloudflare Workers Sites: anything that serves files works. Subpath hosting via --base /docs/. See the deploy guide.

Agent skills

Tangly ships two agent skills (Claude Code, Codex, and other skill-aware agents):

  • tangly: use Tangly from an agent. Init, validate, structure docs, port from Mintlify, deploy.
  • tech-documentation: write good technical docs (Diátaxis-grounded).

Install both globally:

npx skills add tanglydocs/tangly -g

The skills are version-locked to the CLI. When a flag changes, the skill content moves with it. See docs.tangly.dev/guides/ai-agents/skills.

Examples

Six live demos: one per theme, plus the default tangly init scaffold. Each is a real Tangly project rendering its own docs.json + MDX:

  • tang: Cipher (encryption SDK docs)
  • pith: On Craft (handbook)
  • pip: Sprig (tiny CLI docs)
  • readable: The Long Wait (short novel)
  • geist: Halo (edge platform docs)
  • starter: the default tangly init scaffold

Source under examples/ in the repo.

Links

License

MIT © 2026 Nik Cubrilovic