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

@bendyline/docblocks-cli

v2.0.0

Published

Build, preview, convert, render, inspect, and automate documents

Readme

@bendyline/docblocks-cli

The DocBlocks command-line surface for document build and preview, linked-Squisq format conversion, MP4 rendering, document parsing, and a local MCP server for agents.

Installation

Node.js 22.14 or newer is required.

npm install -g @bendyline/docblocks-cli
docblocks --help

Documentation

Those guides describe current input support, linked Squisq ownership, format directions, overwrite behavior, MCP authority, artifact lifecycle, and assurance.

Commands

| Command | Purpose | | ---------------------------------- | ----------------------------------------------------- | | docblocks init [dir] | Create minimal .docblocks/config.json metadata. | | docblocks build | Recursively build Markdown into standalone HTML. | | docblocks serve | Run a constrained local preview server. | | docblocks convert <input> | Convert through the linked Squisq registry. | | docblocks video <input> [output] | Render a configurable MP4. | | docblocks mcp | Start the artifact-first MCP server over local stdio. | | docblocks themes | List linked Squisq theme IDs. | | docblocks transforms | List linked Squisq transform IDs. | | docblocks parse <input> | Parse UTF-8 Markdown into Squisq Markdown AST JSON. |

Use docblocks help <command> for the installed option summary.

Examples

# Build and preview Markdown
docblocks build --input ./docs --output ./dist
docblocks serve --dir ./docs

# The no-flag conversion set is exactly DOCX, PPTX, PDF, HTML, and DBK
docblocks convert story.md

# Select any export-capable linked-registry formats
docblocks convert report.docx --formats md,pdf,pptx --output-dir ./exports

# Render MP4 with explicit media controls
docblocks video story.md --quality high --orientation portrait

# Discover authoring vocabulary from linked Squisq
docblocks themes
docblocks transforms

# Start MCP with no filesystem authority
docblocks mcp

# Grant independent roots when an agent needs files or durable output
docblocks mcp --allow-read ./documents --allow-write ./exports

convert and video accept Markdown, Squisq JSON Doc, DBK/ZIP, folders, and import-capable linked-registry formats. Direct build, convert, and video outputs replace existing destination files. MCP conversions instead return immutable session artifacts; only explicit save_artifact materializes one, using no-replace or hash-conditional replacement semantics.

The live linked registry currently covers Markdown, DOCX, PDF, PPTX, XLSX, CSV, HTML, HTML ZIP, EPUB, DBK, MP4, and GIF. Direction varies by format, so use the CLI reference or MCP list_formats rather than assuming every format imports.

MP4/GIF rendering requires Chromium and FFmpeg. Install Chromium with npx playwright install chromium; Squisq resolves FFmpeg from SQUISQ_FFMPEG, PATH, or ffmpeg-static, in that order.

Development with linked Squisq

From the DocBlocks repository root:

npm run link:squisq
npm run check:squisq-linked
npm run test:mcp:linked
npm run all

The linked assurance commands use the sibling ..\squisq source checkout, not the npm package copy.