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

slidev-theme-excalidraw

v1.0.1

Published

A Slidev theme that looks like the deck was drawn in Excalidraw

Readme

slidev-theme-excalidraw

A Slidev theme that makes a deck look like it was drawn in Excalidraw: real hand-drawn strokes (roughjs), Excalidraw's own fonts, the squared canvas, and a decorative copy of the Excalidraw UI chrome.

Cover slide with a hand-drawn title, masking tape and collaborator cursors

Install

Add the theme to your slides frontmatter. Slidev will prompt you to install it if it is not already in package.json:

---
theme: excalidraw
---

Or install it yourself:

npm install -D slidev-theme-excalidraw

Then use it like any other theme:

---
theme: excalidraw
colorSchema: light
---

# Drawn, not slided

The package name is slidev-theme-excalidraw; Slidev resolves theme: excalidraw to that name automatically.

Screenshots

Sketchy containers and arrows, drawn with roughjs so every shape is a real stroke rather than an image:

Rectangle, ellipse and dashed roughjs boxes joined by a hand-drawn arrow

Sticky notes in the Excalidraw palette:

Four tilted sticky notes in yellow, blue, green and red

Mermaid diagrams pick up the handDrawn look automatically:

Mermaid flowchart rendered with hand-drawn edges and yellow nodes

Code blocks sit in a wobbly frame, and inline code gets a strip of highlighter tape:

Code slide with a hand-drawn frame around a TypeScript snippet

Layouts

| Frontmatter | What you get | |---|---| | layout: sketch-cover | Centered cover with a strip of masking tape | | layout: board | Full-canvas layout for diagrams and boxes |

Built-in Slidev layouts (default, center, two-cols, …) keep the grid, handwriting, and chrome.

Per-slide switches

---
layout: board
class: dots          # dotted paper; `no-grid` for a blank canvas
class: compact       # tighter headings and tables
chrome: false        # hide the fake Excalidraw toolbar
---

Components

<RoughBox color="#1971c2" fill="#a5d8ff">Boxed</RoughBox>
<RoughBox shape="ellipse" fill-style="cross-hatch">Round</RoughBox>
<RoughBox dashed :roughness="2.2">Scribbly</RoughBox>

<Sticky color="yellow" :tilt="-2">A note</Sticky>

<RoughArrow class="w-28" direction="right" />

<Cursor name="Milon" color="#e03131" top="60%" left="30%" />

RoughBox props: color, fill, fillStyle (hachure solid zigzag cross-hatch dots), roughness, strokeWidth, radius, shape, dashed, seed, padding. Shapes redraw on resize; pass seed to freeze a specific squiggle.

Marker pen

Slidev's built-in v-mark already uses rough-notation, so it matches:

<span v-mark.circle.red="1">important</span>
<span v-mark.underline.blue="2">decision</span>
<span v-mark.highlight.yellow="3">takeaway</span>

Slide showing circled, underlined, highlighted and struck-through text

CSS helpers

.handwritten, .ink-blue|red|green|yellow|violet|muted, .hl-blue|red|green|yellow|violet, .tilt-l, .tilt-r, .sketch.

Developing the theme

npm install
npm run dev

slides.md uses theme: ./ so you are previewing this package, not a published copy.

Releasing

A GitHub Actions workflow publishes to npm when you push a version tag. The tag must match package.json (v1.0.0 for version 1.0.0).

# bump "version" in package.json, then:
git add package.json package-lock.json
git commit -m "Release v1.0.0"
git tag v1.0.0
git push origin master --tags

The publish workflow runs npm publish and creates a GitHub Release for that tag.

One-time: on npm, add a GitHub Actions trusted publisher for this repo with workflow filename publish.yml. No NPM_TOKEN secret is needed.

Fonts

Virgil, Nunito, and Cascadia Code are bundled with the theme (same files Excalidraw ships). They are licensed under the SIL Open Font License.

License

MIT