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

md2ppt

v0.2.2

Published

Convert Markdown to PowerPoint presentations using templates

Readme

md2ppt

A CLI tool that converts Markdown to PowerPoint presentations — fast, template-driven, and easy to use.

Features

  • Convert Markdown to PPTX with a single command
  • Slide separation using --- delimiters
  • Automatic title/content detection from headings
  • Frontmatter support for presentation metadata
  • Customizable configuration (slide size, fonts, colors, layouts)
  • Simple CLI, no GUI required
  • Built on pptxgenjs for reliable PowerPoint generation

Quick Start

# Install dependencies
npm install

# Build TypeScript
npm run build

# Convert a markdown file
npm start convert examples/demo.md -o slides.pptx

# Or use npx directly
npx md2ppt convert examples/demo.md -o slides.pptx

How It Works

Write your presentation in Markdown:

---
title: "My Presentation"
author: "Jane Doe"
---

# Introduction

This is the title slide. Frontmatter title is used if present.

---

# First Content Slide

- Bullet point 1
- Bullet point 2

---

# Section Header

A slide with only a title (section header).

---

# Another Slide

More content here.

## Sub-point

- Nested bullet

Slides are separated by --- on a line by itself.

  • A heading (#, ##, ###) becomes the slide title.
  • Remaining text (including other headings) becomes the slide body.

Configuration

Create an md2ppt.config.js in your project to customize the output:

export default {
  title: 'Presentation Title',
  author: 'Your Name',
  slideWidth: 10,      // inches
  slideHeight: 7.5,    // inches
  defaultLayout: 'content', // 'title' | 'content' | 'section' | 'blank'
  titleFont: {
    name: 'Arial',
    size: 44,
    bold: true,
    color: '1E3A8A'
  },
  bodyFont: {
    name: 'Arial',
    size: 24,
    color: '1F2937'
  },
  backgroundColor: 'FFFFFF'
};

Use it with the CLI:

md2ppt convert talk.md -o talk.pptx -c md2ppt.config.js

CLI Options

md2ppt convert <input> [options]

Options:
  -o, --output <file>     Output PPTX file path
  -c, --config <file>     Path to configuration module (JS)

Project Structure

my-presentation/
├── slides.md
├── md2ppt.config.js
├── node_modules/
└── templates/ (future)

Development

# Clone the repository
git clone https://github.com/areai51/md2ppt.git
cd md2ppt

# Install dependencies
npm install

# Build
npm run build

# Test with the demo
npm test

Roadmap

  • [ ] Dev server with live preview (HTML slide deck)
  • [ ] More slide layouts (two column, comparison, image+text)
  • [ ] Template system (DSL for slide masters)
  • [ ] Image embedding from markdown
  • [ ] Export to PDF via HTML conversion
  • [ ] Theme presets

License

MIT