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

md-slides

v1.0.2

Published

Convert Markdown to beautiful presentation slides. Zero config, developer-friendly.

Readme

md-slides

npm version license

Convert Markdown to beautiful presentation slides. Zero config, developer-friendly.

Write your presentation in Markdown, present it in the browser, deploy it anywhere as static HTML.

✨ Features

  • Markdown-first — Write slides in your editor, not a GUI
  • 4 built-in themes — Dark, Light, Minimal, Neon
  • Live preview — Hot reload as you edit
  • Keyboard navigation — Arrow keys, vim keys, touch/swipe
  • Speaker notes — Hidden notes with toggle (press S)
  • Code highlighting — Syntax highlighting for 190+ languages
  • Smart layouts — Auto-detects title slides, code slides, quote slides
  • Responsive — Scales to any screen, including mobile
  • Zero dependencies at runtime — Output is a single HTML file
  • Frontmatter — Set title, author, theme per file

📦 Install

npm install -g md-slides

Or use directly:

npx md-slides init my-talk

🚀 Quick Start

# Create a new presentation
slides init my-talk

# Enter the directory
cd my-talk

# Start live preview
slides preview

# Build static HTML
slides build

📝 Writing Slides

Separate slides with --- on its own line:

---
title: My Talk
author: Your Name
theme: dark
---

# Hello World

Welcome to my presentation.

---

## Agenda

- First topic
- Second topic  
- Third topic

---

## Code Example

\```javascript
const greeting = "Hello, slides!";
console.log(greeting);
\```

---

> "Great quote goes here."

---

# Thank You! 🎉

Frontmatter

Set metadata at the top of your file:

---
title: My Presentation
author: Your Name
theme: dark
---

Speaker Notes

Add hidden notes with HTML comments:

## My Slide

Content here.

<!-- notes: Remember to mention the demo. -->

Press S during presentation to toggle notes.

Slide Directives

Control individual slides with comments:

<!-- class: custom-class -->
<!-- background: #1a1a2e -->
<!-- layout: center -->

# Centered Slide

⌨️ Keyboard Shortcuts

| Key | Action | |-----|--------| | Space L J | Next slide | | H K | Previous slide | | Home | First slide | | End | Last slide | | S or N | Toggle speaker notes | | F | Toggle fullscreen | | Esc | Close notes |

Touch: swipe left/right on mobile.

Click: right half → next, left half → previous.

🎨 Themes

| Theme | Description | |-------|-------------| | dark | Deep purple-black with violet accents (default) | | light | Clean Apple-inspired with blue accents | | minimal | Serif typography, understated elegance | | neon | Pure black with electric green highlights |

Set via frontmatter (theme: neon) or CLI flag (--theme neon).

📂 Commands

slides init [name]

Create a new presentation with sample content.

slides init my-talk
slides init my-talk --theme light

slides preview [file]

Live preview with hot reload. Opens browser automatically.

slides preview                  # defaults to slides.md
slides preview deck.md -p 8080  # custom file and port

slides build [file]

Build to a single static HTML file.

slides build                    # outputs to dist/index.html
slides build -o public          # custom output directory
slides build deck.md --theme neon

slides export [file]

Export to PDF (uses browser print).

slides export

🚀 Deploying

The build output is a single index.html file — deploy anywhere:

GitHub Pages

slides build
cd dist
git init
git add .
git commit -m "deploy slides"
git branch -M gh-pages
git remote add origin https://github.com/you/your-talk.git
git push -u origin gh-pages

Netlify / Vercel

Point to the dist/ folder.

Just Share

Send the dist/index.html file directly — it's self-contained.

📄 License

MIT © Deepankar Rawat