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

scl339-md-slides

v1.0.0

Published

A simple yet powerful Markdown-to-HTML presentation tool — like slidev-lite. Takes a markdown file and generates a self-contained HTML presentation with dark theme and slide transitions.

Readme

md-slides 📽️

npm version GitHub Release MIT License npm downloads

md-slides is a simple yet powerful Markdown-to-HTML presentation tool — like slidev-lite. Write your slides in Markdown, separate them with ---, and get a single self-contained HTML file with a dark theme, smooth transitions, keyboard navigation, and touch support.

✨ Part of the SCL339 open-source ecosystem.


Features ✨

  • Zero config — Write Markdown, get a beautiful HTML presentation
  • Single HTML file — Self-contained, no external dependencies or internet needed
  • Dark theme — Modern, easy-on-the-eyes dark design
  • Slide transitions — Smooth fade + slide-up effect
  • Keyboard navigation — Arrow keys, Space, Home/End
  • Touch support — Swipe left/right on mobile
  • Fullscreen mode — Press f to go fullscreen
  • Progress bar — Visual indicator of your progress
  • Slide counter — Current slide / total slides
  • Watch mode — Auto-rebuild on file changes (--watch)
  • Custom templates — Bring your own HTML template (--template)

Installation 📦

# Run directly (no install needed)
npx md-slides presentation.md

# Or install globally
npm install -g md-slides
md-slides presentation.md

Usage 🚀

Quick Start

Create a file presentation.md:

# My Awesome Talk

A short intro

---

## Slide 2

- Point one
- Point two
- Point three

---

## Code Example

```python
def hello():
    print("Hello from md-slides!")

`


Thanks!

Questions?


Then run:

```bash
npx md-slides presentation.md

This generates presentation.html — open it in any browser.

CLI Options

md-slides <input.md> [options]

Options:
  -o, --output <file>   Output HTML file (default: <input>.html)
  -t, --template <file> Custom HTML template
  -w, --watch           Watch for changes and rebuild
  -h, --help            Show this help

Examples

# Basic usage
md-slides talk.md

# Custom output path
md-slides deck.md -o index.html

# Watch mode (auto-rebuild on save)
md-slides presentation.md --watch

# Custom template
md-slides slides.md -t my-template.html

Slide Separator 📄

Use --- on its own line to separate slides:

# Slide 1
Content here

---

# Slide 2
More content

---

# Slide 3
Final slide

Keyboard Shortcuts ⌨️

| Key | Action | |-----|--------| | / / Space | Next slide | | / | Previous slide | | Home | First slide | | End | Last slide | | f | Toggle fullscreen |

Custom Templates 🎨

Create your own HTML template with these placeholders:

  • {{TITLE}} — Presentation title (extracted from first slide)
  • {{SLIDES}} — All slide HTML content
  • {{SLIDE_COUNT}} — Total number of slides
md-slides deck.md -t my-theme.html

Why md-slides? 🤔

  • Lightweight — No build tools, no npm run scripts, no webpack
  • Portable — Single HTML file you can email, host on GitHub Pages, or open locally
  • Focus on content — Write Markdown, get a presentation. That's it.
  • Beautiful defaults — Dark theme looks great without any configuration

Example Output

Open the generated HTML in any browser:

md-slides screenshot placeholder

Related Projects 🔗

Check out other SCL339 tools:

Development 🛠️

git clone https://github.com/SCL339/md-slides.git
cd md-slides
npm install
node index.js example.md -o example.html

License 📄

MIT — see LICENSE for details.