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

@dschulmeis/mini-tutorial.js

v2.2.2

Published

Beautiful HTML tutorials with minimal effort

Downloads

9

Readme

mini-tutorial.js - Beautiful HTML tutorials with minimal effort

Documentation

Templates to get started:

Optional plugins:

What is it

This is the little brother of lecture-slides.js to create simple HTML manuals and presentations without much effort, solving a problem of mine: For my lectures I wanted to be able to put tutorials online without much effort. Tiny manuals or documentation pages with a clean and beautiful look and a possibility to browse between chapters. This is, instead of simply showing a long HTML page, it should be possible to only show one chapter at a time and read through them like a book.

This package is intentionaly kept simple. Though some compatibility with lecture-slides.js is maintained, it is lacking heavy features like a full-blown UI or print/export optimized rendering. The main purpose is to read the content on screen, which can be done with one simple VanilaJS class and (almost) no dependencies. Only two dependencies are added to @dschulmeis/ls-utils for common utilities shared with lecture-slides.js, and hammer.js for optional touch navigation.

Using the built-in themes different types of documents like short manuals, books or simple slideshows can be rendered. The same plugins as for lecture-slides.js can be used to extend the HTML syntax.

Optional dependencies

Documents built with mini-tutorial.js should use a bundler like webpack or eslint to pull in the source code of this package. Optionaly, any of the existing plugins for lecture-slides.js, which provide some often-needed custom HTML elements, can be used, too. If Bootstrap is used (e.g. in order to use the custom elements from @dschulmeis/ls-plugin-extra-tags), LESS can be used to load the file themes/bootstrap.less with same additional styling.

White Theme

This is the white.css theme with probably the most simple layout:

Screenshot

See: https://www.github.com/DennisSchulmeister/mt-template-simple

Book Layout

Extension to white.css called book.css for large documents with a book-like structure:

Screenshot

See: https://www.github.com/DennisSchulmeister/mt-template-book

Studybook Layout

Similar extension to white.css as book.css but with a more professional layout and the possibility to make notes to each section.

Screenshot

See: https://www.github.com/DennisSchulmeister/mt-template-studybook

Roundbox Layout

Alternative to white.css called roundbox.css for a more playful design:

Screenshot

See: https://www.github.com/DennisSchulmeister/mt-template-roundbox

Slideshow Layout

Alternative to the other css files for a simple slideshow presentation:

Screenshot

See: https://www.github.com/DennisSchulmeister/mt-template-slideshow

Copyright

mini-tutorial.js (https://www.github.com/DennisSchulmeister/mini-tutorial.js) © 2018 – 2022 Dennis Schulmeister-Zimolong [email protected]

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.