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

@deltabreen/maps-svelte

v0.6.0

Published

A Svelte and SvelteKit action for Maps by DeltaBreen: use:deltabreenMap turns an element into a MapLibre map on our tiles, with its pins, and handles the token. Flat plans, no overage.

Readme

@deltabreen/maps-svelte

A Svelte action for Maps by DeltaBreen, for Svelte 3, 4 and 5 and SvelteKit: MapLibre maps on our tiles, with the key and its short-lived token handled for you. Free to start, flat plans, and never an overage bill.

npm install @deltabreen/maps-svelte maplibre-gl
<script lang="ts">
  import { deltabreenMap } from '@deltabreen/maps-svelte'
  import 'maplibre-gl/dist/maplibre-gl.css'
  import workerUrl from 'maplibre-gl/dist/maplibre-gl-worker.mjs?worker&url'
  let zoom = 12
</script>

<div style="height: 480px" use:deltabreenMap={{ apiKey: 'pk_…', workerUrl, center: [-6.26, 53.35], zoom,
  markers: [{ lngLat: [-6.26, 53.35], popup: 'Our shop' }], onLoad: (map) => {} }}></div>
  • apiKey is a publishable key from your dashboard, listing the sites that may use it (or give tokenUrl).
  • Actions run in the browser only, so a server render needs nothing extra. The map is made once per key; changing mapStyle, language, center, zoom or markers changes the same map, so none of that counts another map load.
  • onLoad hands you the live MapLibre map; options takes anything else createMap from @deltabreen/maps takes.

Docs: https://maps.deltabreen.eu/docs#vue-svelte-angular