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

slicode

v1.0.0

Published

Turn Markdown into animated Slidev presentations

Downloads

9

Readme

slicode

Turn simple Markdown into beautiful Slidev presentations with animated code transitions.

screen.webm

Why not just Slidev?

Slidev is awesome — but you have to learn its syntax, layouts, Vue components, and config. slicode lets you skip all that. Write a plain Markdown file that reads well on its own, run one command, and get a polished presentation with animated code transitions, smooth morphing, and a sliding code panel — all out of the box.

Use slicode when you want to:

  • Present your code without fighting with slide layout
  • Go from README to talk in 30 seconds
  • Keep your slides readable as a plain .md file

Quick Start

npx slicode example.md --open

Or install globally:

npm install -g slicode

Usage

slicode <input> [output-dir] [slidev-args...]
  • input — local .md file or URL (direct link, GitHub file, or gist)
  • output-dir — where to generate the Slidev project (default: output)
  • Any extra arguments are passed directly to the Slidev CLI — all Slidev flags and subcommands work
# Local file
slicode example.md --open

# Direct URL
slicode https://example.com/talk.md --open

# GitHub file (auto-resolves to raw)
slicode https://github.com/just-ai/slicode/blob/main/example.md

# GitHub gist
slicode https://gist.github.com/user/abc123 --open

# Build static SPA
slicode example.md build

Markdown Format

Centered slides — heading without code/image

# Welcome

This text is centered on the slide.

Two-column slides — any heading + code or image

Heading and text on the left, code or image on the right:

## Getting Started

Here's a simple example.

​```python
print("hello")
​```

## Architecture

![diagram](https://example.com/diagram.png)

Consecutive sections with code merge into one slide with animated click-through states using Magic Move.

Themes

Set the theme in frontmatter:

---
theme: github-dark
---

Built-in themes

| Theme | Style | |-------|-------| | claude | Warm beige, serif headings (default) | | dark | Deep navy, Space Grotesk | | nord | Arctic light, IBM Plex | | ocean | Steel blue, Source Sans | | rose | Soft pink, DM Sans | | github | GitHub Light | | github-dark | GitHub Dark | | gemini | Google Gemini style | | jetbrains | JetBrains Light | | jetbrains-dark | JetBrains Darcula | | vscode | VS Code Dark Modern | | vscode-light | VS Code Light |

Custom overrides

Override any theme variable in frontmatter:

---
theme: claude
accent: #FF6600
bg: #FFFFF0
font-heading: Playfair Display, serif
font-code: Fira Code, monospace
google-fonts: Playfair+Display:wght@700&family=Fira+Code:wght@400
---

All available properties:

| Property | Description | |----------|-------------| | bg | Slide background color | | text | Primary text color | | text-secondary | Secondary text color | | accent | Accent color (headings, highlights) | | code-bg | Code panel background | | code-bg-light | Code panel lighter shade | | right-bg-from | Right column gradient start | | right-bg-to | Right column gradient end | | font-heading | Font for headings | | font-body | Font for body text | | font-code | Font for code blocks | | google-fonts | Google Fonts families to load |

Full Example

See example.md for a complete working presentation.

How It Works

slicode parses your Markdown and generates a standalone Slidev project:

  • slides.md — presentation content with Vue transitions and Magic Move
  • style.css — themed styles via CSS custom properties
  • layouts/ — custom Vue layout components
  • package.json — Slidev dependencies

The generated project is self-contained and can be deployed, exported to PDF, or shared independently.