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

oshea

v0.13.3

Published

A Markdown-to-PDF convertor with an extensible plugin system.

Readme

oshea

A Node.js command-line tool that transforms Markdown files into beautifully styled PDFs.

It features a powerful, extensible plugin system, making it incredibly versatile for creating anything from CVs and cover letters to recipe books and custom reports. Built on markdown-it for Markdown parsing and puppeteer for PDF generation.

[!TIP] The rise of AI tooling has brought enormous growth to universal Markdown usage. oshea is ideal for anyone who writes in Markdown but needs polished, professional, reproducible output for resumes, reports, presentations, and more.

See Creating Plugins with Claude Skills for building plugins with Claude or Codex.

Quick Start

Convert a basic Markdown file to PDF

oshea my-document.md

Use a built-in plugin for styling

oshea my-resume.md --plugin cv

Or through your Markdown's front matter

---
yourName: "Jane Doe"
oshea_plugin: cover-letter
---

**{{ yourName }}**  

As a creator of cover letters with professional formatting...
oshea my-letter.md --plugin cover-letter

Gallery

Installation

From NPM

npm install -g oshea

From GitHub

git clone https://github.com/brege/oshea.git
cd oshea
npm install -g

Documentation

Working with Plugins

Use any plugin with your markdown files:

oshea convert my-resume.md --plugin cv

Take a look at the Bundled Plugins page for more examples.

Watch mode

oshea can watch for changes to your markdown and plugin files with oshea --watch.

[!TIP] The convert command is implicit when a markdown file is provided. For generators (like building recipe books), the distinction between convert and generate becomes important.

Creating Custom Plugins

To customize layouts, you can archetype from existing plugins.

oshea plugin create --from cover-letter academic-letter

Plugin structure

my-plugins/academic-letter/
├── .contract                 schema and in-situ testing
├── default.yaml              plugin config, --help text, metadata
├── style.css                 custom CSS properties
├── example.md                self-activating example
├── index.js                  handler
└── README.md                 plugin description

Plugins are portable and can be shared across projects. See Bundled Plugins index for more information.

Creating Plugins with Claude and Codex Skills

Use the skill-first workflow documented in the Claude Skills Guide. The technical contract that agents compose plugins from is in: Plugin Contract, AI Interaction Specification, and Archetyping Walkthrough.

Iterate with your agent on the plugin until your document is satisfactory. As of February 2026, this process takes about 5 minutes.

Usage & Commands

Cheat Sheet

See Cheat Sheet for many, many examples.

Tab-completion

echo 'source <(oshea completion)' >> ~/.bashrc
source ~/.bashrc

Managing Plugins

oshea plugin help cv              # plugin-specific help
oshea plugin list                 # list all plugins (add --short for brief)
oshea plugin validate my-plugin   # validate plugin structure and tests

Installing Plugins

Install a local plugin

oshea plugin add ./my-plugin

Install a plugin from GitHub

oshea plugin add https://github.com/user/my-plugin

See the Plugins Index for more information. There is also an index of known external plugins at github.com/brege/oshea-plugins.

Testing

This project has a rich testing framework based on its .mocharc.js. In addition to the in-situ tests bundled with each plugin, there are over 300 tests, ranging from unit, integration, end-to-end, and lifecycle tests, in a declarative, manifest-driven harness and factory mocking system.

See the Test Index for all test suite documentation.

License

MIT License