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

@amitkaps/prose

v0.11.1

Published

prose — the why, beside the code.

Readme

Prose

Keep your mental model while agents write the code. Prose puts the why beside the code. The agent writes the explanation next to the code it explains, and reads it again as it works. A read-only command shows the repository as a document.

prose.amitkaps.com is this repository, read with prose. Open src/parser.ts to see a source file as one document, with its prose in order and the code between.

Where to go

  • Design: what it is, why it's built this way, and what it isn't.
  • Usage: set it up on a project, deploy its site, and the snippet to give your agents.
  • Writing: how to write @prose, and what to put in it.
  • Reading: what each page of the renderer shows.

The plan has where it is and what's next, and lessons has what building it taught. The rest is in docs/, and building and releasing prose itself is in development.

Two things

  • @prose, a convention for writing human-oriented meaning into source code. A comment whose first word is @prose explains the code around it, in markz's Markdown. Every other comment stays an ordinary comment.
  • prose, a read-only command. It opens any repository in the browser as a Markdown-first document, locally or as a static site. Each file reads as one document, with its prose in order and the code between. prose check warns about form a machine can be sure of, and prose style gives advice on sentences.
/** @prose
 * # State
 *
 * One count for the whole page, so every button changes the same number.
 */
let count = 0;

Install and run

prose needs Node 26 or newer, the Node it's built and tested on.

npm install -g @amitkaps/prose
prose .            # read this repository in the browser
prose build        # the same pages as static files, from the last commit
prose check        # what the text gets wrong, by file and line
prose style        # advice on how the text reads
prose rules        # the rules to write prose by, for an agent

Or without installing: npx @amitkaps/prose ..

prose check fails when it finds anything, so it can run in CI. prose style is for the writer of a file, right after writing it, and always passes (usage). prose rules prints the rules from the docs of the version installed (usage). prose help lists every command (usage).