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

slidev-theme-storyblok

v0.4.0

Published

[![NPM version](https://img.shields.io/npm/v/slidev-theme-storyblok?color=3AB9D4&label=)](https://www.npmjs.com/package/slidev-theme-storyblok)

Downloads

9

Readme

slidev-theme-storyblok

NPM version

A Storyblok theme for Slidev.

Install

npm i slidev-theme-storyblok

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

Learn more about how to use a theme.

ThemeConfig

---
themeConfig:
  presenter: 'Alvaro Saburido'
  presenterTitle: 'DevRel Engineer'
  presenterAvatar: 'https://res.cloudinary.com/alvarosaburido/image/upload/v1690529819/avatar_storyblok.png'
  presenterEmail: '[email protected]'
---

Layouts

This theme provides the following layouts:

Intro intro

Usage:

  • Add intro in the layout field.
---
layout: intro
---

Layout-intro

Cover cover

Cover is the default layout when none is specified.

Usage:

  • Add cover in the layout field.
---
layout: cover
---

Layout-cover

Presenter presenter

Usage:

  • Add presenter in the layout field.
---
layout: presenter
---

Layout-presenter

Image Right image-right

Shows an image on the right side of the screen, the content will be placed on the left side.

Usage:

---
layout: image-right

# the image source
image: ./path/to/the/image

---

Layout-image-right

Image left image-left

Shows an image on the left side of the screen, the content will be placed on the right side.

Usage:

---
layout: image-left

# the image source
image: ./path/to/the/image

---

Layout-image-left

New Section section

Usage:

  • Add section in the layout field.
---
layout: section
---

Layout-section

Text Window text-window

Usage:

  • Add text-window in the layout field.
---
layout: text-window
---

# Consoles

Use code snippets and get the highlighting directly into a nice looking window!

::window::

```ts
// main.ts

import { defineNuxtConfig } from "nuxt";

export default defineNuxtConfig({
  modules: ["@storyblok/nuxt"],
  storyblok: {
    accessToken: "<your-access-token>"
  }
});

Layout-section

Two Columns two-cols

Separates the page content in two columns.

Usage:

---
layout: two-cols
---

# Left

This shows on the left

::right::

# Right

This shows on the right

Layout-two-cols

TODO

  • [ ] Add more layouts (iframe)
  • [ ] Better shiki theme

Contributing

  • npm install
  • npm run dev to start theme preview of example.md
  • Edit the example.md and style to see the changes
  • npm run export to generate the preview PDF
  • npm run screenshot to generate the preview PNG