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

usal

v1.3.1

Published

Ultimate Scroll Animation Library - Lightweight, powerful, wonderfully simple ✨

Readme

Ultimate Scroll Animation Library - Lightweight, powerful, wonderfully simple ✨

Works with React, Solid, Svelte, Vue, Lit, Angular, Vanilla JS and more

> usal.dev/

Available On NPM Join The Community

Powered by Cloudflare Delivered By JsDelivr Sponsor

✨ Features

  • 🎯 40+ animations (fade, zoom, flip with all directions)
  • 📝 Text animations (split by word/letter)
  • 🔢 Number counters
  • 🎨 Text effects (shimmer, fluid)
  • 📦 Only 8KB Gzipped
  • 🚀 Zero dependencies
  • 60fps performance
  • 🪤 Web components supported
  • 🔧 Framework agnostic
  • CDN powered by jsDelivr & Cloudflare

📦 Installation

CDN (Quickstart)

<script src="https://cdn.usal.dev/latest"></script>

NPM

npm install usal

# Framework-specific packages
npm install @usal/react   # For React/Next.js
npm install @usal/solid   # For Solid/SolidStart
npm install @usal/svelte   # For Svelte/SvelteKit
npm install @usal/vue   # For Vue/Nuxt
npm install @usal/lit   # For Lit
npm install @usal/angular   # For Angular

🚀 Framework Setup

⬛ React (Next.js)

import { USALProvider } from '@usal/react';
<USALProvider>{children}</USALProvider>;

🟦 Solid (SolidStart)

import { USALProvider } from '@usal/solid';
<USALProvider>{props.children}</USALProvider>;

🟧 Svelte (SvelteKit)

import { usal } from '@usal/svelte';
// USAL auto-initializes globally

🟩 Vue (Nuxt)

import { USALPlugin } from '@usal/vue';
createApp(App).use(USALPlugin).mount('#app');
//for Nuxt
export default defineNuxtConfig({
modules: ['@usal/vue/nuxt']
//...

🟪 Lit

import { usal } from '@usal/lit';
// USAL auto-initializes globally

🟥 Angular

import { USALModule } from '@usal/angular';
@Component({imports: [USALModule]})
export class AppComponent

📐 Basic Usage

<!-- Simple animation -->
<div data-usal="fade-u">Fade from bottom</div>

<!-- With modifiers -->
<div data-usal="zoomin duration-800 delay-200">Zoom in</div>

<!-- Complex animation -->
<div data-usal="flip-r delay-500 blur once">Flip from right</div>

📖 Complete API Documentation or https://usal.dev/#api

🎲 Demos

Animations

Text Animations

Count Animations

Split Animations

📊 Packages Overview

| Package | Version | | --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | | usal | npm | | @usal/react | npm | | @usal/solid | npm | | @usal/svelte | npm | | @usal/vue | npm | | @usal/lit | npm | | @usal/angular | npm |

📈 JavaScript Animation Frameworks Comparison (2025)

Performance & Size Comparison

| Framework | Bundle Size (gzip) | React | Vue | Angular | Svelte | Solid | Lit | Vanilla | | -------------- | ------------------ | --------- | --------- | --------- | --------- | --------- | --------- | ------- | | 🚀 USAL.js | ~8KB | ✅ Native | ✅ Native | ✅ Native | ✅ Native | ✅ Native | ✅ Native | ✅ | | Motion One | Variable (~small) | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ✅ | | GSAP | ~28KB | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | Anime.js v4 | ~27KB | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | Lottie | ~60KB | ⚠️ | ⚠️ | ⚠️ | ⚠️ | ⚠️ | ⚠️ | ✅ | | AOS | ~8KB | ⚠️ | ⚠️ | ⚠️ | ❌ | ❌ | ❌ | ✅ | | SAL.js | ~2.7KB | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ |

Feature Comparison

| Framework | Split (Letters/Words/Items) | Counters | Scroll Trigger | Timeline | SVG | Learning | | ----------- | --------------------------- | --------- | -------------- | ----------- | --------- | ------------- | | USAL.js | ✅ Core | ✅ Core | ✅ Core | ✅ Core | ❌ | Very Easy | | Motion | ❌ | ❌ | ✅ Core | ⚠️ Variants | ✅ Core | Medium | | GSAP | ⚠️ Plugin | ⚠️ Plugin | ✅ Plugin | ✅ Advanced | ⚠️ Plugin | Complex | | Anime.js v4 | ✅ Core | ✅ Core | ✅ Core | ✅ Core | ✅ Core | Medium | | Lottie | ⚠️ via AE | ⚠️ via AE | ❌ | ✅ Core | ✅ Core | Complex | | AOS | ❌ | ❌ | ✅ Core | ❌ | ❌ | Very Easy | | SAL.js | ❌ | ❌ | ✅ Core | ❌ | ❌ | Very Easy |

Legend:

  • ✅ Native/Core support
  • ⚠️ Plugin/Wrapper required
  • ❌ Not supported

🙏 Acknowledgments

USAL.js was inspired by:

  • AOS.js - Pioneering attribute-based animations
  • SAL.js - Lightweight performance optimization
  • Tailwind CSS - Utility-first naming conventions

📄 License

MIT License © 2025 Italo Almeida (@italoalmeida0)