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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@fiddle-digital/string-tune

v1.1.45

Published

StringTune is a cutting-edge JavaScript library designed to deliver high-performance, modular web effects. Whether you're looking to add smooth parallax scrolling, dynamic cursor interactions, progress tracking, or autoplay videos, StringTune empowers dev

Readme

Overview

What is StringTune?

StringTune is a cutting-edge JavaScript library designed to deliver high-performance, modular web effects. Whether you're looking to add smooth parallax scrolling, dynamic cursor interactions, progress tracking, or autoplay videos, StringTune empowers developers with a powerful, attribute-driven approach. It simplifies the creation of visually captivating websites while remaining intuitive for both beginner and advanced developers.

Key Features

  • Modular Architecture: Use only the modules you need to keep your project lightweight and optimized.
  • Attribute-Based Integration: Configure effects directly in HTML with clear, descriptive attributes.
  • Wide Range of Effects:
    • Parallax scrolling
    • Magnetic cursor
    • Progress indicators
    • Split text animations
    • Autoplay videos
  • Effortless Initialization: Start everything with a few lines of JavaScript.
  • Performance-Oriented: Built for smooth performance even on complex pages.

Who is StringTune for?

StringTune is perfect for:

  • Beginner Developers: Simplify the process of adding advanced web effects without deep technical knowledge.
  • Experienced Developers: Leverage modularity and API options to create complex, custom effects.
  • Designers: Bring creative visions to life with minimal setup.

Introduction

Why StringTune?

In a world of constantly evolving web experiences, StringTune helps you stay ahead by offering a versatile toolset to build dynamic, engaging effects without reinventing the wheel. By focusing on simplicity, modularity, and performance, StringTune provides a solution that bridges the gap between creativity and technical execution.

Benefits of Using StringTune

  1. Simplicity: No need for complex setups. Just include the library, add HTML attributes, and see your effects in action.
  2. Flexibility: A modular system lets you include only the effects you need, ensuring efficiency.
  3. Compatibility: Built with modern web standards to work seamlessly across browsers and devices.
  4. Scalability: Suitable for projects of any size, from personal portfolios to large-scale web applications.

Core Principles

  • Declarative First: Most configurations are handled via HTML attributes, reducing the need for verbose JavaScript.
  • Customizable: Provides an API for developers who need fine-grained control over effects.
  • Performant: Optimized to handle intensive animations without compromising user experience.

Example Use Case

If you're using a CDN, simply include the script in your HTML:

<script src="https://unpkg.com/@fiddle-digital/string-tune@latest/dist/index.js"></script>

Or, if you're working with a modern JavaScript project, install it via npm:

npm install @fiddle-digital/string-tune

Once installed, you need to register the module and start the library.

const stringTune = StringTune.getInstance();
stringTune.use(StringParallax);
stringTune.use(StringMagnetic);
stringTune.start(60); // Start with 60 FPS

⚠ Note: When using CDN, you must reference the full namespace:

const stringTune = StringTune.StringTune.getInstance(); // Full namespace for CDN users
stringTune.use(StringTune.StringParallax);
stringTune.use(StringTune.StringMagnetic);
stringTune.start(60);

And finally we make the elements work

<div class="example-container">
  <div class="parallax-item" string="parallax" string-factor="0.8">
    Welcome to StringTune!
  </div>
  <div class="cursor-item" string="magnetic" string-cursor-target="target">
    Hover over me!
  </div>
</div>

When to Use StringTune

  • To create visually appealing websites with minimal effort.
  • When you need customizable effects that are easy to integrate.
  • To enhance user engagement through interactive animations.

Get started with StringTune today and elevate your web experiences to the next level.