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

vl-typewriter

v1.0.4

Published

This is a package that gives your text a typing effect, with extra features like looping multitext and callback functions on text change! Forked from [kevoese/react-typewriter-effect](https://github.com/kevoese/react-typewriter-effect).

Readme

Fractal React Typewriter Effect

This is a package that gives your text a typing effect, with extra features like looping multitext and callback functions on text change! Forked from kevoese/react-typewriter-effect.

Reason for Fork

Fix a few bugs to make the package loop multitext and display properly over multilines text.

Description

This package lets you create a typewriting effect for text elements.

Typewriter description

Typewriter Effect animates when the component is in view. By default, it uses the document reference to check if the component is in view or not; but you can pass the ref object which is scrollable to the scollArea props.

For example

const myRef = document.querySelector('.scrollable-div')

<TypeWriterEffect width="230" trackWidth="13" percentage={score} scrollArea={myRef}/>

Otherwise

If scrollArea is not defined, the document reference object is used.

Set up

To use the package, start by installing the package on your React project file with:

npm i react-typewriter-effect

For a single text display

import TypeWriterEffect from 'react-typewriter-effect';

 <TypeWriterEffect
            textStyle={{ fontFamily: 'Red Hat Display' }}
            startDelay={100}
            cursorColor="black"
            text="This is a single text"
            typeSpeed={100}
            scrollArea={myAppRef}
          />

Output

single text display

For a multiple text display

Set the multiText props to an array of strings which are displayed sequentially.

import TypeWriterEffect from 'react-typewriter-effect';

     <TypeWriterEffect
        textStyle={{
          fontFamily: 'Red Hat Display',
          color: '#3F3D56',
          fontWeight: 500,
          fontSize: '1.5em',
        }}
        startDelay={2000}
        cursorColor="#3F3D56"
        multiText={[
          'Hey there, This is a type writer animation package',
          'it consist of two types...',
          'Single text display and multi text display',
          'Fonts can be customized.',
          'The type speed can be customized as well',
        ]}
        loop={true}
        nextTextDelay={1000}
        typeSpeed={30}
      />

Output

Rect bar

Properties and description

  • text (must be a string): Required in single text display mode. The text in string.

  • multiText (array of string): Required in multitext mode.

  • nextTextDelay (must be a number): Delay before each text is erased in multitext or looped display, in milliseconds.

  • loop (a boolean): If true, continuously cycle through the text. Default: false.

  • typeSpeed (must be a number): Speed of typing, in milliseconds.

  • startDelay (must be a number): Delay before the animation starts, in milliseconds.

  • hideCursorAfterText (a boolean): It removes the cursor after typing.

  • cursorColor (must be a string): Color of the cursor.

  • textStyle (must be an object): Custom CSS styles that can be applied to the text in this object.

  • scrollArea (must be a DOM element): The scrollable area. By default, it is document.