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

@webhandle/shiner

v1.0.1

Published

A slideshow plugin. It takes a set of slides and changes the classes on them, `visible` and `invisible`. It updates the classes on "dots" as well, adding `current` to the current dot. If a dot is clicked on, that slide will be moved to. It will even crea

Readme

@webhandle/shiner

A slideshow plugin. It takes a set of slides and changes the classes on them, visible and invisible. It updates the classes on "dots" as well, adding current to the current dot. If a dot is clicked on, that slide will be moved to. It will even create dots if none exist.

It listens for clicks on next and previous buttons. It also listens for swipes.

The slides will auto advance is "run" is called.

Unlike other sorts of components that extend @webhandle/backbone-view, the render function does not create the html, it mearly attaches to existing html.

After rendering, the transitions-on class is added to the root element.

Install

npm install @webhandle/shiner

Usage

On the server side:

import setupShiner from "@webhandle/shiner/initialize-webhandle-component.mjs"
await setupShiner(webhandle)

On the client side:

The HTML is expected to be something like the following. Each slide can be whatever you want with whatever you want inside.

<div class="shiner-show">
	<div class="slides">
		<div class="slide" >
		</div>

		<div class="slide" >

		</div>

		<div class="slide" >

		</div>

		<div class="slide" data-delay="1000">
		</div>

		<div class="advance">
			&gt;
		</div>
		<div class="previous">
			&lt;
		</div>
	</div>
	<div class="dots">

	</div>
</div>

Including these styles will make it immediately functional, but likely your styling will be different.

<link rel="stylesheet" href="/@webhandle/shiner/files/css/shiner.css">

On the page itself the code must be called.

	<script type="module">
		import { Shiner } from "@webhandle/shiner"
		let shinerShows = document.querySelectorAll('.shiner-show')
		shinerShows.forEach(show => {
			let shiner = new Shiner({
				el: show
			})
			shiner.render()
			shiner.run()
		})
	</script>