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

@kelsier90/react-pulse-text

v2.0.1

Published

![React Pulse Text](https://repository-images.githubusercontent.com/244492121/9bfa522a-a95a-4966-9a95-34a09487b420)

Readme

React Pulse Text

React Pulse Text

A lightweight, zero-dependency React hook that creates dynamic typing and erasing text animations for modern UI experiences.

npm version npm downloads license

✨ Demo & Documentation

Live Demo & Interactive Playground →

🚀 Quick Start

import React from "react";
import { usePulseText } from "@kelsier90/react-pulse-text";

function TypewriterHeading() {
  const { text } = usePulseText({
    text: "Hello, I'm a React developer!",
    duration: 2000,
    erase: true,
    iterationDelay: 1000,
  });

  return <h1>{text}</h1>;
}

📦 Installation

# npm
npm install @kelsier90/react-pulse-text

# yarn
yarn add @kelsier90/react-pulse-text

# pnpm
pnpm add @kelsier90/react-pulse-text

🔥 Features

  • Progressive Text Animation: Build text character by character in forward or reverse order
  • Erase Effect Support: Create typewriter-style animations with text that types and erases
  • Highly Customizable: Configure animation duration, delay, iterations, and more
  • Lifecycle Callbacks: Hook into animation events with onStart, onChange, and onEnd
  • Animation Controls: Toggle animations on/off with the active prop
  • TypeScript-Ready: Full type definitions for enhanced developer experience
  • Zero External Dependencies: Only requires React as a peer dependency
  • Tiny Footprint: Minimal impact on your bundle size
  • Simple API: Intuitive interface for quick implementation

🛠️ API Reference

Basic Configuration

const { text } = usePulseText({
  text: "Your animated text", // The text to animate
  active: true, // Controls if animation runs (default: true)
  duration: 2000, // Animation duration in ms (default: 1000)
  delay: 0, // Initial delay before animation starts (default: 0)
  iterationCount: Infinity, // Number of times to repeat (default: 1)
  iterationDelay: 0, // Delay between iterations in ms (default: 0)
  erase: false, // Whether to erase text after showing (default: false)
  reverse: false, // Whether to animate from end to start (default: false)
});

Animation Lifecycle Callbacks

usePulseText({
  text: "Hello world!",
  onStart: () => console.log("Animation started"),
  onChange: ({ text, iteration }) => console.log("Current text:", text, "Current iteration:", iteration),
  onEnd: () => console.log("Animation completed"),
});

🤝 Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request on the GitHub repository.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.