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

@quilicicf/asciidoc-2-reveal

v1.1.0

Published

Highly opinionated Reveal.js presentation compiler

Downloads

3

Readme

Asciidoc-2-Reveal (A2R)

A highly opinionated transformer for .adoc files to turn them into self-contained Reveal.js presentations

Why?

Because the asciidoc-reveal plugin is opinionated, and the opinions behind it clash with mine.

What to expect?

A2R is a CLI tool that takes a .adoc file as input and generates a single HTML file with a Reveal.js presentation inside.

You can find a lot more information in the presentation deck, but of course it's meant to be turned into a Reveal.js presentation :wink:.

I plan to generate GitHub pages for it once I publish the repository and CLI tool.

Opinions

A tool ain't opinionated without opinions, here goes:

  • Presentation decks should rely on open standards: a2r builds HTML
  • Nobody has the time or will to write pure HTML: a2r uses Asciidoc
  • Developers want hackable solutions with sane defaults: a2r is hackable, defaults are designed for the targeted audience, devs
  • 1MB is too heavy for a deck aimed at a technical audience: a2r has a relatively raw size (200kB) and encourages use of light image formats
  • A deck should be a double-clickable single-file and work everywhere: a2r creates an auto-contained HTML file
  • Chrome is an unwanted monopoly: a2r build target is Firefox, one of the very few alternatives that devs actually use. I might add other targets in the future, this part is still to be defined

Targeted audience

Basically, this is a personal tool, you are free to use it (it's licensed under Apache 2.0) but don't expect changes that don't fit my needs.

This is a personal project and I don't intend to spend any time on it if I'm not gaining enough value for the time I put in.

Usage

If after reading all of the above, you still want to use the tool, here's how:

npm install --global '@quilicicf/asciidoc-2-reveal' # Install globally
a2r --help                                          # Display general help
a2r build --help                                    # Display help for command build
a2r watch \
  --input-file '/path/to/deck.adoc' \
  --output-file '/path/to/deck.html' \
  --assets-folder 'assets'                          # Watch for changes in deck/assets & live-reload open decks