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

reveal-gen

v2.0.2

Published

A tool for generating quick presentations using reveal.js, marko, and lasso.

Downloads

19

Readme

reveal-gen

A simple cli tool for generating quick Reveal.js presentations using Marko and Lasso.

Dependencies

This project requires a node version that supports async/await.

Installation

npm install -g reveal-gen

##E Usage

$ reveal-gen help
Usage:
    reveal-gen <action>
Actions:
   build - Compiles the template and outputs the minified js and css
   init - Initializes the template
   list-themes - Lists the available themes
   serve - Serves up the presentation in the browser
   switch-theme - Switches to another reveal.js theme
   help - Prints out this help message

Run reveal-gen init to create a template that you can edit. Follow the prompts.

$ reveal-gen init
Presentation Name: reveal-gen
Description: Quick and Pretty Presentations
Author: Charlie
Available Themes: beige, black, blood, league, moon, night, serif, simple, sky, solarized, white
Theme: black
Generating index.marko
Done!

A config.json file containing the paths to all dependencies and a index.marko file will be created for you.

<!DOCTYPE html>
html lang="en"
    head
        title -- {{name}}
        <!-- do not remove -->
        link rel="stylesheet" href="{{{lassoHead}}}"
    body
        marko-compiler-options preserve-whitespace
        div.reveal
            div.slides
                markdown
                    ---
                    ## reveal-gen

                    #### Quick and Pretty Presentations

                    By Charlie
                    ---
                markdown
                    ---
                    ### Code
                    ```javascript
                        console.log('Hello world');
                    ```
                    ---
        <!-- do not remove -->
        script type="text/javascript" src="{{{lassoBody}}}"
        script type="text/javascript"
            ---
                Reveal.initialize();
                hljs.initHighlightingOnLoad();
            ---

Make whatever changes you like to this file. Then run reveal-gen serve to launch your presentation.

Don't like the theme? Run reveal-gen list-themes to list the available themes that comes with reveal.js. Run reveal-gen switch-theme <insert-theme-here> to change the theme. If you have a custom theme you want to use, replace the path in the theme field in the config.json file.