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

oaktree-sapling

v0.0.3

Published

White-label journal engine: MyST + GitHub + Zenodo. All platform logic, referenced by version.

Readme

oaktree-sapling

A journal engine for small publications built on MyST, GitHub and Zenodo.

One repo holds the journal: its settings, branding, editions and the list of published papers. Each paper gets a repo of its own, with CI that builds a website and a PDF, runs the journal's checks on every pull request, publishes a preview, and deposits the final version to Zenodo for a DOI. oak is the command line tool that sets those repos up and does the work inside them.

Papers refer to the engine by a single version coordinate, so a journal upgrades by changing one line rather than by copying workflow files around.

Status

Pre-1.0 and in active development. Every command is implemented and the CI is being tested end to end against real GitHub, Cloudflare and Zenodo, but interfaces may still change between 0.x versions and the documentation is incomplete. Its original design served Neuromatch Impact Scholars Program 2025, but is being heavily revised to become suitable to more tenants.

Install

npm install -g oaktree-sapling
oak

oak with no arguments prints the full usage.

Commands

Setting up repos:

  • oak bootstrap journal: create the journal repo (settings, branding, paper list)
  • oak bootstrap paper: create a paper repo pointing at a journal
  • oak upgrade: move a paper repo to a newer engine version, as a pull request

Working on a paper:

  • oak validate: run the journal's checks over a manuscript
  • oak build: build the paper's website and PDF into _build/
  • oak start: preview it in a browser with the journal's settings applied

The rest (check-post, deploy-preview, deposit, release, notify, conformance) are run by the generated workflows and are rarely typed by hand.

Known limitations of the npm package

The engine is normally run from a checked-out release tag, which carries two things the npm package does not:

  • No PDF export. A pinned typst binary ships with each release tag; the package has none, so oak build produces a PDF only if typst is already on your PATH.
  • oak deposit does not work. It archives the engine with git archive to record what built the paper, which needs a git checkout rather than an installed package.

Both are being worked on. Until then, CI uses release tags.

Editorial checks

oak validate runs two kinds of check. The engine's own invariants are built in. The editorial checks a journal selects (authors exist, have ORCIDs, have valid CRediT roles, abstract exists, keywords defined) come from the MIT-licensed @curvenote/check-implementations and @curvenote/check-definitions. The engine supplies the runner and the GitHub Check Run reporter.

Development

npm install
npm test
npm run typecheck

NOTES.md has the module map and the build internals. RELEASING.md explains how releases are cut and why the built bundle is committed at the tag.

License

BSD 3-Clause, copyright Neuromatch, Inc. See LICENSE.

One subtree is not covered by it: templates/typst/ is the LaPreprint typst template, MIT-licensed and copyright Rowan Cockett. It keeps its own LICENSE alongside it, which ships with the package and with every release tag.