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

sushi-cms

v0.1.10

Published

A markdown powered cms for svelte components including remote functions

Downloads

1,300

Readme

🍣 Sushi

A file-based Markdown CMS framework built on SvelteKit. Write markdown, build svelte components.

Getting Started

npx create-sushi my-site
cd my-site
npm install
npm run dev

Project Structure

my-site/
content/ ← markdown pages
blocks/ ← svelte components
functions/ ← remote functions
static/ ← images, fonts, assets

Content

Pages are markdown files in content/. Typical filebase routing without catch-alls as of now.

content/page.md → /
content/about/page.md → /about
content/blog/page.md → /blog/hello

Layouts are support in the same file based style

content/layout.md → layout for all pages
content/blog/layout.md → layout for all blog pages

A layout.md needs this specific tag to render the page content at that position:

@CONTENT

Markdown

Frontmatter is supported. Blocks are Svelte components in blocks/, available in your markdown pages. As a remark parser nuxt remark-mdc is used, so their syntax applies. See their docs for more.

Frontmatter so far can be used for title, description and stylesheets:

---
title: My Page
description: This is a page about something cool.
style: ["style.css"]
---

All markdown is supported; following extra syntax is available:

-> plaintext, everything in here will be stripped of the default remark paragraph wrapper and rendered as plain text. Useful for components that should always have a h1, for example.

+++ spacer to add space between blocks. Otherwise paragraphs will be rendered with nothing between them. Spacer will render as a div like this: <div aria-hidden="true" style="height:1lh"></div>

Remote Functions

Newer versions of SvelteKit support remote functions, which are server functions that can be called from the client. Server functions live in functions/ — use them for forms, data queries and more via $functions/example.remote. See SvelteKit docs for more.

Prettier

Add a .prettierignore file to the root of your project with the following content if prettier leads to some weird formatting:

content/**/*.md

Exported components

Sushi provides a few helper components that can be imported from sushi-cms package.

  • Link: A component that handles both internal and external links, adding appropriate attributes for security and SEO.

View Transitions

Sushi supports view transitions out of the box.

Roadmap

Nice thing to have would be some kind of visual editor for the markdown. Not everyone understands markdown syntax and especiallöy the mdc and custom syntax can be confusing.

License

MIT