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 🙏

© 2024 – Pkg Stats / Ryan Hefner

revelar

v0.3.4

Published

Command line tool to create stunning presentations using Reveal.js

Downloads

18

Readme

Revelar

Create stunning presentations in Markdown using Reveal.js from the comfort of your command line.

Start by installing the revelar utility globally:

npm install --g revelar

Then, from within any folder you can start the revelar server:

cd my_presentation
revelar

Open the presentation server in your browser at http://localhost:8000.

And start coding your slides in Markdown.

Anatomy of a slide

Revelar will load as many markdown files are available in the folder its executed, creating for each a separate section in your presentation. It will sort the files by name while loading, so you can have files like 01-introduction.md, 02-about-me.md and so on to enforce your sequence.

To tell Revelar where a slide ends and another begins you need to place a special separator: --.

So a Markdown file with three slides would look like:

# Revelar
## This is awesome

[paulo.ragonha.me](http://paulo.ragonha.me)

[@pirelenito](http://twitter.com/pirelenito)

--
# A second slide

--
# And a third

Configuration

To change the default parameters that are passed while initializing Reveal.js, create a revelar_config.json file at the same folder of the slide files and add any of the available Reveal.js config options.

Bellow is an example that disables the controls, disables the progress indicator and changes the transition effect:

{
  "transition": "linear",
  "controls": false,
  "progress": false
}

Themes

It is possible to change the theme of the presentation from the available Reveal.js themes by specifying it in the revelar_config.json file:

{
  "theme": "sky"
}

Custom themes

You can place your custom theme files inside the themes folder and use them the same way as a default theme.

Bootstraping a new presentation

If you want a template to start a new presentation, Revelar can help you with that.

revelar create my-project

This command will create a new folder called my-project with some sample slides, a config file and a theme.

Acknowledgments

This is build on top of the amazing Reveal.js framework.

Author

Paulo Ragonha.