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

slidev-theme-tum-unofficial

v0.1.6

Published

An unofficial TUM presentation theme for Slidev

Readme

slidev-theme-tum-unofficial

An unofficial TUM presentation theme for Slidev.

Install

To install the theme, run the following command in your Slidev project:

pnpm add git+https://github.com/c-lyu/slidev-theme-tum-unofficial.git

Usage

Add the following frontmatter to your slides.md. Start Slidev then it will prompt you to install the theme automatically.

---
theme: tum-unofficial

# Event and presentation details
event: Event title (International Conference on Something)
short_event: Short event title
title: This is a very long title that should be split into multiple lines
short_title: Short title
footer: true
date: 31/05/2024

# Author information
author: Max Mustermann
email: [email protected]
institute: Technical University of Munich
department: TUM School of Something
chair: Chair of Something
location: Munich

# Enable markdown components
mdc: true
---

Learn more about how to use a theme.

Getting Started

To start the slide show:

  • pnpm install
  • pnpm run dev
  • visit http://localhost:3030

To build the slide show:

  • pnpm run build
  • The output will be in the dist folder

To export the slide show as PDF:

  • pnpm run export

Layouts

The theme provides the following layouts:

  • default: Default slide layout
  • cover: Cover page with title and author information
  • section: Section divider with large text
  • ending: Ending slide with author information
  • two-cols-header: Two-column layout with header
  • quote: Quote layout for displaying quotations
  • fact: Layout for highlighting facts
  • intro: Introduction layout
  • statement: Statement layout for key points

Components

The theme provides the following components:

Internal Components:

  • AuthorInfo: Author information on the cover and ending page
  • Footer: Footer with title and page number
  • TumLogo: TUM logo
  • TumSketch: TUM sketch image

Custom Components:

  • Alert: Alert box
    • color: Background and text color. (String: see Colors section)
    • icon: Main icon. (String: question | warning | check)
  • Card: Card box
    • title: Card title. (String)
    • color: Background and title text color. (String: see Colors section)
  • Image: Image box
    • src: Image source. (String)
    • alt: Image alternative text and caption text. (String)
    • figureClass: Image figure class. (String)
    • imgClass: Image class. (String)
    • objectFit: Image object-fit style. (String, default: 'contain')
    • width: Image width. (String | Number)
    • height: Image height. (String | Number)
    • caption: Image caption text. (String)
    • lazy: Enable lazy loading. (Boolean, default: true)
    • fallbackSrc: Fallback image source if original fails to load. (String)
  • Marker: Marker box for highlighting text
    • color: Marker color. (String: see Colors section)
  • Gallery: Gallery component for displaying multiple items in a row
    • Automatically arranges child components in a flexible row layout
  • Row: Flexible row layout component
    • gap: Gap between items. (Number: 1 | 2 | 4 | 10 | 20, default: 20)
    • classes: Additional CSS classes. (String)
    • justify: Horizontal alignment. (String: start | end | center | between | around | evenly, default: center)
    • items: Vertical alignment. (String: start | end | center | baseline | stretch, default: end)

Colors

The theme supports the following colors for components:

  • tumblue (primary TUM blue)
  • red, green, blue, sky, yellow, purple, pink, orange
  • gray, indigo, violet, rose, emerald, teal, cyan
  • amber, lime, fuchsia, slate, zinc, stone

Enhanced Markdown Features

The theme supports enhanced markdown syntax:

  • Highlighted text: ==highlighted text== renders as ==highlighted text==
  • Underlined text: ++underlined text++ renders as ++underlined text++
  • Strikethrough: ~~strikethrough~~ renders as ~~strikethrough~~

Example Usage

---
layout: section
section: Results
---

---

# Some Useful Information

::card{title="This is a card"}
This is the content of the card.

- This is a list
- With multiple items
- That should be displayed
- In a nice way
::

---

# Layout Examples

<Row gap="4" justify="between">
  <Image src="image1.jpg" alt="First image" />
  <Image src="image2.jpg" alt="Second image" />
</Row>

<Gallery>
  <Card title="Card 1" color="tumblue">Content 1</Card>
  <Card title="Card 2" color="green">Content 2</Card>
  <Card title="Card 3" color="purple">Content 3</Card>
</Gallery>

---

# Text Highlighting

This is an important ==highlighted== piece of information.
This is ++underlined information++.
This is ~~crossed out~~ information.

<Marker color='orange'>This text is marked in orange</Marker>

::alert{icon='check' color='green'}
This is a success alert with a check icon.
::

License

This theme is licensed under the MIT License.