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

blockanim

v2.0.0

Published

Animate any HTML element in one class. Scroll-triggered micro-interactions with zero config.

Readme

blockAnim

v2.0 · ~2kb gzipped · MIT License

Animate any HTML element in one class.

The simplest way to add scroll-triggered micro-interactions to your UI. No config, no JS to write — just add a class.


🆕 New in v2: Cascade

One class to rule them all.

Introducing Cascade — animate all children of an element sequentially with a single class. No more copy-pasting delays on every item.

<ul class="blockanim-slide-up-100-cascade">
  <li>Design</li>
  <li>Animate</li>
  <li>Ship</li>
  <li>Repeat</li>
</ul>

Works with -repeat too: blockanim-slide-up-100-cascade-repeat


Why blockAnim?

Everything you need, nothing you don't.

| Feature | Description | |---------|-------------| | ⚡ Blazing Fast | Only ~2kb gzipped. No dependencies, no bloat. Your page loads instantly while animations run buttery smooth at 60fps. | | 🎯 One Class | Add a single class to any HTML element. That's it. No JavaScript to write, no configuration needed. | | ⏱️ Custom Delays | Chain animations with custom delays in milliseconds. Create beautiful sequential reveals effortlessly. | | 🔄 Repeat Mode | Animations replay every time elements scroll into view. Perfect for long pages and portfolios. | | 🎨 35+ Animations | Slides, clips, fades, skews, diagonals, and more. A complete toolkit for modern web animations. |


Get Started

Up and running in seconds.

CDN (Recommended)

The fastest way. Just copy these two lines into your HTML file:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/gc-guillaume/blockanim-v2/blockanim.min.css">
<script src="https://cdn.jsdelivr.net/gh/gc-guillaume/blockanim-v2/blockanim.min.js"></script>

Download

Get the source code and customize animations to your needs.


Documentation

Simple, intuitive syntax.

One class pattern to rule them all. Combine animation type, delay, and repeat mode.

blockanim-{animation}-{delay}-repeat

| Part | Required | Description | |------|----------|-------------| | {animation} | ✅ Yes | The animation type | | {delay} | ❌ Optional | Delay in ms | | -repeat | ❌ Optional | Repeat on scroll |

Examples

| Class | Type | Description | |-------|------|-------------| | blockanim-{animation} | Required | The animation to apply. Choose from 35+ options. | | blockanim-{anim}-{ms} | Optional | Add a delay in milliseconds before the animation starts. | | blockanim-{anim}-repeat | Optional | Replay the animation each time the element enters the viewport. | | blockanim-{anim}-{ms}-repeat | Optional | Combine delay and repeat for full control. |

<!-- Basic animation -->
<div class="blockanim-slide-up">...</div>

<!-- With delay -->
<div class="blockanim-slide-up-400">...</div>

<!-- With repeat -->
<div class="blockanim-blur-in-repeat">...</div>

<!-- Delay + repeat -->
<div class="blockanim-clip-500-repeat">...</div>

License

Open source under MIT License. Free for personal and commercial use.


Author

Guillaume Coulin

Made with care on the Côte d'Azur.

Portfolio · LinkedIn · Contact