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

@tanglat/splitfx

v1.0.3

Published

A JavaScript plugin for splitting and animating text.

Readme

SplitFX

A JavaScript plugin for splitting and animating text.

Links

Overview

SplitFX is a JavaScript plugin that splits the text of HTML elements into individual units (characters and words) and animates them.

Features

  • Animate by Chars or Words
    You can choose to animate text by chars or words.

  • Multiple Trigger Options
    Animate HTML elements' text in and out on scroll, window load, hover, or click.

  • Full Animation Control
    Full control over animation timing, stagger, stagger direction, and easing.

  • A Variety of Built-in Animations
    Choose from a variety of built-in animations such as fade, zoom in, and more.

  • Use Your Custom Animations
    Build and use your own animations to create text effects tailored to your needs.

  • Different Stagger Directions
    Control the animation flow with stagger directions like forward, backward, center-out, random, and more.

  • Sequential Text Animations
    Run text animations step by step in a defined sequence, just like the hero of this page and each demo project.

  • Supports Nested Elements
    Split and animate the text of HTML elements even when they contain nested elements.

  • Easy to Use
    A set of convenience methods that make SplitFX easier to use.

  • No Dependencies
    Built specifically for text animations with zero external dependencies.

  • SEO-friendly
    Works on the text you already have in your HTML, so search engines can read it.

Resources

  • Demos
    Get inspired by ready-made text animation demos.

  • Docs
    Clear and structured docs to help you understand and use SplitFX.

  • Studio
    Build, test, and export animations with the SplitFX Studio.

Quick Start

Include the script:

<script src="https://cdn.jsdelivr.net/npm/@tanglat/splitfx@1/dist/umd/splitfx.min.js"></script>

Example Usage:

// Select the HTML element you want to animate
const heading = document.querySelector(".heading");

// Create a new SplitFX instance with your configuration options
const textAnimator = new SplitFX({
    in: {
        mode: "chars",
        includeSpaces: true,
        animation: "fadeRight",
        duration: 500,
        easing: "ease",
        stagger: 50,
        staggerDir: "forward",
        delay: 0
    },
    out: {
        mode: "words",
        duration: 0,
        stagger: 0
    },
    tagName: "span"
});

// Animate the text of the given element every time it enters the viewport during scrolling
textAnimator.animateOnScroll(heading);

For complete documentation, more demos, visit our Website.