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

@isaacchacko/basalt

v0.1.19

Published

Markdown in, a website that reads like a good math textbook out: remarks in the margin, one viewer for every picture, saves that land in place.

Readme

Basalt

TL;DR: Basalt turns markdown into a website that reads like a good math textbook. Think Quartz, with remarks in the margin, better media, and hot reloading that keeps your place.

It's set the way Edward Tufte sets his books, with each remark beside the line it's about. See it at basalt.isaacchacko.com, which is built with it.

What's different

  • Remarks in the margin: sidenotes, margin notes and previews of linked notes, each beside its line
  • One viewer for every picture: images, diagrams and pages open full screen, to zoom, pan and swipe through
  • Its own PDF reader, with selectable text and the browser's viewer a click away
  • Screenshots that follow the theme: save shot.dark.png beside shot.png, and the page shows whichever matches its theme
  • Pictures written as text: graphs, flowcharts, sequences and math
  • Live components in a still page, swapped in as you edit them
  • Live from Neovim: <leader>B serves the site, and the page shows what you type before you save (the plugin)
  • Saves that land in place, in under a second, keeping your scroll
  • Built for agents: the dev server says when a change is live, and what broke
  • Cards for where it's shared: each note's own picture for links to it, in the site's colours
  • Light pages, about a third of Quartz's weight, and measured against it on a real site

In Neovim

Neovim beside the page: <leader>B serves the garden, and the page takes each line as it's typed, before :w

{ "isaacchacko/basalt", ft = "markdown", keys = { "<leader>B" }, cmd = { "BasaltToggle", "BasaltOpen" }, opts = {} }   -- lazy.nvim

<leader>B serves the garden the note is in, and the page shows what you type as you type it; :w still writes the file, and nothing else does. See In Neovim.

Start

Basalt needs Node 22.18 or later.

npm install --global @isaacchacko/basalt
basalt new my-garden --title "My garden"
basalt dev my-garden        # http://localhost:4321
basalt build my-garden      # the site, in my-garden/.basalt/astro/dist

Your notes go in my-garden/notes/. BASALT.md (or basalt help) covers the site's files, the CLI, what you can write, and the edit loop for agents.

To work on Basalt itself, clone it, npm install, and run node bin/basalt.mjs in place of basalt.

To release it, run npm version patch (or minor), then git push --follow-tags. The tag publishes it to npm from GitHub Actions (publish.yml), through npm's trusted publishing, with no token and no passkey.

Made from

Astro, with markdown from Quartz's plugins and margins after Tufte CSS. Set in Palatino, or any font a site chooses. Graphs by graph, PDFs by pdf.js, math by KaTeX. MIT licensed.