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

fresh-typedjs

v1.0.9

Published

My library lets you input text (a word or a paragraph) and specify a timing to animate writing or deleting each letter one by one,

Downloads

17

Readme

🎯 Fresh Typed.js v1.0.9

A lightweight and responsive JavaScript typing animation library that types text character by character or word by word, supports custom speed, and loops infinitely.
Perfect for enhancing your websites with dynamic text effects, headers, or interactive messages.

Inspired by popular typing libraries but fully optimized for performance, simplicity, and responsiveness. Works seamlessly with Tailwind CSS and any frontend framework.


🚀 Overview

Fresh Typed.js allows developers to create eye-catching typing effects on any text element.
Features include:

  • Character-by-character or word-by-word typing
  • Infinite loop animations
  • Customizable typing speed
  • Fully responsive and works across all devices

Use it with NPM or CDN, and integrate it easily into any project.


🌐 Live Demo

👉 View Live Demo


✨ Features

  • ⚡ Lightweight, dependency-free (Vanilla JS)
  • ⏱ Customizable typing speed
  • 🔄 Infinite loop typing animation
  • 🖥 Fully responsive across desktop, tablet, and mobile
  • 🪶 Works perfectly with Tailwind CSS or custom styles

📅 Release Date

October 14, 2025


🛠️ Technologies Used

  • HTML5 – semantic markup
  • CSS3 & Tailwind CSS – styling and animation
  • JavaScript – typing logic and loops
  • Media Queries – ensures responsiveness

📸 Project Screenshots
🌟 Overview

💻 Website View

👨‍💻 Developed By

parsa dehghan pour farashah

👨‍🏫 Supervisor

📲 Connect with Me | ارتباط با من


📦 Installation

🔹 Using NPM

npm i fresh-typedjs
html
Copy code
<link rel="stylesheet" href="node_modules/fresh-typedjs/dist/freshType.min.css"/>
<script src="node_modules/fresh-typedjs/dist/freshType.min.js"></script>
🔹 Using CDN
html
Copy code
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/freshType.min.css">
<script src="https://unpkg.com/[email protected]/dist/freshType.min.js"></script>
⚙️ Usage Example
HTML:

html
Copy code
<h5 class="freshType TextparagraphType"></h5>
CSS:

css
Copy code
.anim {
  animation: anim 1s forwards infinite alternate;
}
.afterText::after {
  content: "";
  background-color: rgb(255, 255, 255);
  width: 3px;
  height: 100%;
  position: absolute;
  margin-left: 0.375rem;
  margin-top: 0.25rem;
  animation: anim 0.5s linear infinite;
}

@keyframes anim {
  0% { opacity: 0; }
  100% { opacity: 100; }
}
JS:

javascript
Copy code
let paragraph = "parsa the perfect \n front end developer";
const TimeSpeed = 100;
let freshType = document.querySelectorAll(".freshType");

freshType.forEach((item) => {
  item.classList.add("relative");
  item.classList.add("afterText");
  item.style.whiteSpace = "pre";
});

let TextparagraphType = document.querySelector(".TextparagraphType");
let flagParagraph = 0;
let flagBooleanParagraph = true;

setInterval(() => {
  if (flagBooleanParagraph) {
    TextparagraphType.innerText += paragraph[flagParagraph++];
    if (flagParagraph == paragraph.length) {
      flagBooleanParagraph = false;
    }
  } else {
    flagParagraph--;
    TextparagraphType.innerText = paragraph.slice(0, flagParagraph);
    if (flagParagraph === 0) {
      flagBooleanParagraph = true;
      TextparagraphType.innerText = "";
    }
  }
}, TimeSpeed);


🏷️ License

Released under the MIT License