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 🙏

© 2025 – Pkg Stats / Ryan Hefner

bootstrap-touch-carousel

v0.8.0

Published

A drop-in perfection for Twitter Bootstrap's Carousel (v3) to enable gestures on touch devices.

Readme

This package is no longer maintained! We're searching for contributors

Bootstrap TouchCarousel - Feels good!

Bower version

A drop-in perfection for Twitter Bootstrap's Carousel (v3) to enable gestures on touch devices. The Plugin uses hammer.js, A javascript library for multi-touch gestures to enable touch gestures that feels awesome. If you just have a touch device handy, visit the demo and feel it by yourself.

TOC

Features

  • Supported gestures: dragleft dragright swipeleft swiperight
  • Optimized layout for touch devices
  • Build with Less & Grunt
  • No extra initializations

Quick start: Get the plugin

Three quick start options are available:

  • Download the latest release
  • Clone the repo: git clone git://github.com/ixisio/bootstrap-touch-carousel.git
  • Install with Bower: bower install bootstrap-touch-carousel.
  • Add as Bootstrap git submodule git submodule add git://github.com/ixisio/bootstrap-touch-carousel.git /vendor/your-sm

Plugin Options

Have a look at the original bootstrap carousel documentation, the options are mostly the same. http://getbootstrap.com/javascript/#carousel

interval

  • Type: Number Boolean
  • Default false

The amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle.

data-interval="2000"

toughness

  • Type: Number
  • Default 0.25

Dragging toughness of first and last carousel item.

data-toughness="0.5"

How it works

This jQuery Plugin is designed to add touch-support to your existing bootstrap carousel. The only thing you have to do, is to load these files into your existing Bootstrap project:

  • /dist/js/bootstrap-touch-carousel.js
  • /dist/css/bootstrap-touch-carousel.css

Read more about this plugin works here: http://andreasklein.org/articles/bootstrap-touch

Contributing

Please read through the official twbs contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.

Moreover, if your pull request contains JavaScript patches or features, you must include relevant unit tests.

Editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at editorconfig.org.

Compiling CSS and JavaScript

Bootstrap uses Grunt with convenient methods for working with the framework. It's how we compile our code, run tests, and more. To use it, install the required dependencies as directed and then run some Grunt commands.

See twbs docs

Available Grunt Tasks

  • grunt Default tasks watches for JavaScript & LESS Changes
  • grunt build creates a distribution build
  • grunt test provides some qunit tests
  • grunt bump release management

Copyright (c) 2014 ixisio Licensed under the MIT license.