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 🙏

© 2025 – Pkg Stats / Ryan Hefner

harmonide

v0.3.0

Published

HTML slide for JS Hackers

Readme

Harmonide

Harmonide is a HTML5 slide show framework for JS hackers that supports compiling a Markdown file to HTML slides and making all JavaScript code blocks runnable on the slides. All JavaScript codes are written in ES6 that are compiled by Babel.

Getting started

Installation & build

npm install harmonide
harmonide build your-slide.md

Watch the changes

harmonide watch your-slide.md

Markdown formats

backgroundColor: #000

-----
-----

# Slide1 title

- content1
- content2

-----
backgroundImage: test.jpg
-----

# Slide2 title

\`\`\`js
var test = 'test';
console.log(test);
\`\`\`

Defining the slides

You can put two lines of ----- in front of the slide you are going to define. For example if you want to define two slides, the markdown will be as follows.

-----
-----
# Slide1

-----
-----
# Slide2

Setting options

  • Global options

The options set at the beginning of the file will be global options.

backgroundColor: white

-----
-----
# Slide1
  • Slide options

The options set in between two lines of ----- will be options for the slide.

-----
backgroundColor: white
align: middle
-----

# Slide1

Options

title

Type: string

Title for the slide HTML. Only available in global option.

layout

Type: string

Default: default

Name of layout file in layouts directory. The file name will be layouts/layout.html.erb. Only available in global option.

backgroundColor

Type: string

Background color of the slide. Any type of color string that can be used in css can be specified.

backgroundImage

Type: string

Background image of the slide. If just a file name is specified, that will find the file in build/assets. URL can also be specified.

align

Type: string

Align in the slide. Can be middle, bottom or center

color

Type: string

Text color in the slide. Any type of color string that can be used in css can be specified.

type

Type: string

Spefies the type of the slide. Can be title.

Development

Install Grunt and modules

npm install -g grunt-cli
npm install

Create drafts directory and put markdown files

mkdir drafts
vi drafts/sample.md

Generate html from markedown

grunt parse

You can also watch the changes and parse them dynamically

grunt watch

It will generate html files in the build directory from all markedown files in the drafts directory. In this case, you will get build/sample.html. Now you can upload buid directory to your webserver!