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

jauntyslider

v3.0.0

Published

The quickest way to slide a HTML list.

Readme

Jauntyslider

The quickest way to slide a HTML listhttps://jauntyslider.luizgustavomartins.com

Introduction

Jauntyslider is a lightweight library that allows you to quickly create a slider from your HTML list. Simply add the attribute data-jauntyslider to the list element, as shown in the example below:

<ul data-jauntyslider>

Alternatively, you can initialize Jauntyslider in your script:

document.querySelector('ul').jauntyslider()

No Dependencies

You read that right. No dependencies at all 🙂.

Installation

In order to use Jauntyslider, download the zip file, unzip it, then include both css and javascript files in your HTML:

<link href="dist/css/jauntyslider.min.css" rel="stylesheet">
<script src="dist/js/jauntyslider.min.js"></script>

Usage

Initializing Jauntyslider is as easy as adding the data-jauntyslider attribute to your HTML list element.

<ul data-jauntyslider>
	<li><img src="new-horizon.jpg"></li>
	[...]
</ul>

And there you go! Jauntyslider is up and running in your list.

You can also customize the slider by setting parameters.

<ul data-jauntyslider="duration:fast;">
	<li><img src="new-horizon.jpg"></li>
	[...]
</ul>

As stated in the introduction, Jauntyslider can also be handled by JavaScript.

document.querySelector('ul').jauntyslider({
	duration: 'fast'
})

You can set more than one parameter at a time:

<ul data-jauntyslider="duration:fast; easing:linear;">
	<li><img src="new-horizon.jpg"></li>
	[...]
</ul>

Jauntyslider supports multiple sliders on the same page:

<ul id="slider-1" data-jauntyslider="duration:fast; easing:linear;">
	<li><img src="new-horizon.jpg"></li>
	[...]
</ul>

<ul id="slider-2" data-jauntyslider="loop:true;">
	<li><img src="my-pet.jpg"></li>
	[...]
</ul>

Alternatively in your script:

document.querySelector('#slider-1').jauntyslider({
	duration: 'fast',
	easing: 'linear'
})

document.querySelector('#slider-2').jauntyslider({
	loop: 'true'
})

Parameters

animation

[options: move | fade | none]

[default: move]

Defines the transition animation.

direction

[options: forward | backward]

[default: forward]

Defines the direction of the slideshow.

duration

[options: seconds | slow | normal | fast]

[default: normal]

Defines how long the transition animation will run.

easing

[options: linear | ease | ease-in | ease-out | ease-in-out | cubic-bezier(n,n,n,n)]

[default: ease]

Defines the easing function of the transition animation.

height

[options: %, px, pt, em, in...]

[default: inheritance]

Sets the height of the slider. If not set, it dinamically inherits the height of the original list.

initial

[options: integer]

[default: 1]

Defines in which slide the slider will start. The first slide is 1 and the last slide is n.

interval

[options: seconds]

[default: 5]

Defines the interval in seconds between the transitions of the slideshow.

loop

[options: true | false]

[default: false]

If true, when reaching the end of the slider, it'll come back to the beginning.

navigation

[options: true | false]

[default: true]

If false hides the navigation on the bottom.

slideshow

[options: true | false]

[default: false]

If true, enables an automatic transition of the slides. The navigation is allowed even so.

slideshowDirection

[options: forward | backward]

[default: forward]

Defines the direction of the slideshow.

slideshowInterval

[options: seconds]

[default: 5]

Defines the interval in seconds between the transitions of the slideshow. It begins to count only when the current transition is completed.

step

[options: integer]

[default: 1]

Allows to change the number of the slides travelled by every transition.

width

[options: %, px, pt, em, in...]

[default: inheritance]

Sets the width of the slider. If not set, it dinamically inherits the width of the original list.

Behind the Scenes

Jauntyslider is built upon CSS transitions. The codebase takes advantage of ES6+ features compiled to ES5 to support old browsers. We're keeping an eye on Web Animations API as it has been proving to be more flexible over rAF.

Contribution

If you want to contribute to the project, feel free to send a pull request.

License

Jauntyslider is open-sourced software licensed under the MIT license.

Author

www.luizgustavomartins.com