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

@thegoldendino/festival-app

v0.2.0

Published

A mobile kiosk for festival information. Each festival day displays a pannable/zoomable map image with positioned stage pins. Stages display artist schedules with links to more artist information.

Readme

Festival App

A mobile kiosk for festival information. Each festival day displays a pannable/zoomable map image with positioned stage pins. Stages display artist schedules with links to more artist information.

Festival App Mobile Demo

demo site

Features

  • Pannable/Zoomable map image
  • Configuration schema
  • Browser history state maintained.

Installing

npm install --save-dev @thegoldendino/festival-app

Usage

<script lang="ts">
	import FestivalApp from '@thegoldendino/festival-app';
	import type { ConfigParams } from '@thegoldendino/festival-app';
	import type { PageData } from './$types.js';

	let { data }: { data: PageData } = $props();

	let config: ConfigParams = {
		days: data.days,
		artists: data.artists,
		stages: data.stages,
		options: data.options
	};
</script>

<div class="mobile-preview">
	<FestivalApp {config} />
</div>

<style>
	.mobile-preview {
		width: 400px;
		height: 700px;
	}
</style>

Config Schema

docs/config.md

Example Config TOML

  • days: schedule and map data for a festival day
  • artists: artist information
  • stages: stage information
  • options: application specific options

Static Site Implementation

Though any repository can generate a Config object, FestivalApp is designed to not require a CMS or any 3rd party backend. Image file nameing conventions provide a reference to the record keys in the DaysConfig and ArtistsConfig.

Example

# artists.toml

[brasscheeks]
name = "Brass Cheeks"
  • brasscheeks key requires a corresponding image file brasscheeks.jpg (extension agnostic: 'png', 'jpeg', 'webp').
  • We can then use Vite's file glob feature to pull all image files.
  • Similarly a Day record with key 2025-06-01 should have a corresponding map image 2025-06-01.png file.

Merging Vite processed images

Each ConfigDay and ConfigArtist has an Image which includes src, width, height. Instead of manually entering these values, Vite provides the ability to pull this data from a directory of images. Each image must be named the same as the corresponding record key.

see +page.serve.ts for example.

Styling

The FestivalApp takes advantage of svelte's ability to pass custom properties to its components.

Example

<FestivalApp {config}
	--festapp-color-primary-hue="100"
	--festapp-color-secondary-hue="187"
>

see all custom property variables.css

Developing

Once you've installed dependencies with npm install, start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Everything inside src/lib is part of the festival-app library, everything inside src/routes is used as a showcase for the festival-app.

Building

To build your library:

npm run package

To create a production version of your showcase app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.

Publishing

To publish your library to npm:

npm publish

License

MIT