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

@tamarak/jquery-transition

v1.0.1

Published

A lightweight jQuery plugin for smooth CSS transitions with customizable enter and leave animations.

Downloads

10

Readme

jQuery Transition Plugin

A lightweight jQuery plugin for smooth CSS transitions with customizable enter and leave animations.

Features

  • Smooth fade-in/fade-out transitions
  • Customizable timing, duration, and CSS classes
  • Chainable jQuery methods
  • Uses requestAnimationFrame for optimal performance
  • Compatible with CSS frameworks like Tailwind CSS

Usage

Basic Usage

// Initialize with default settings
$('.my-element').transition();

// Show element with fade-in animation
$('.my-element').show();

// Hide element with fade-out animation  
$('.my-element').hide();

Custom Configuration

$('.my-element').transition({
  enter: {
    start: 'opacity-0 scale-95',
    end: 'opacity-100 scale-100',
    duration: 500,
    timing: 'ease-out'
  },
  leave: {
    start: 'opacity-100 scale-100',
    end: 'opacity-0 scale-95', 
    duration: 300,
    timing: 'ease-in'
  }
});

Options

| Option | Type | Default | Description | |--------|------|---------|-------------| | enter.start | String | 'opacity-0' | CSS classes applied at animation start (enter) | | enter.end | String | 'opacity-100' | CSS classes applied at animation end (enter) | | enter.duration | Number | 300 | Animation duration in milliseconds (enter) | | enter.timing | String | 'ease-out' | CSS timing function (enter) | | leave.start | String | 'opacity-100' | CSS classes applied at animation start (leave) | | leave.end | String | 'opacity-0' | CSS classes applied at animation end (leave) | | leave.duration | Number | 300 | Animation duration in milliseconds (leave) | | leave.timing | String | 'ease-in' | CSS timing function (leave) |

Requirements

  • jQuery 1.7+
  • Modern browser with requestAnimationFrame support

Installation

npm

npm install @tamarak/jquery-transition

Then include the plugin after jQuery:

// If using a module bundler
import 'jquery-transition';

// Or require in Node.js
require('jquery-transition');

CDN / Direct Download

Include the plugin after jQuery:

<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="jquery.transition.js"></script>

License

MIT License