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

@andyed/kinetic-type-engine

v0.1.0

Published

Composable physics primitives for kinetic typography. Text segmentation, line breaking, optimal recognition point math, per-chunk timing, trail/blur kinematics, layout-safety zoom limits, font metrics. Extracted from iBlipper; brand-neutral by design.

Readme

@andyed/kinetic-type-engine

Composable physics primitives for kinetic typography — text segmentation, line breaking, optimal-recognition-point math, per-chunk timing, trail kinematics, layout-safety zoom limits, font metrics. Brand-neutral by design.

Extracted from iBlipper, the motion-type synthesizer. The engine ships the math that any kinetic-typography system needs; named emotion recipes (emphatic, hurry, playful, …) live in consumers, not here, because rehearsed rhetorical vocabulary is brand IP, not public-good math.

Status

v0.1.0 — first publish. Public surface is the union of every module's exports; expect refinement in 0.2 once consumers hit the API in production.

Install

npm install @andyed/kinetic-type-engine

Use

import {
  processText,           // text → presentation chunks
  applySmartLineBreaks,  // text → multi-line layout under width budget
  calculateFrameDuration,// per-chunk display duration
  getSafeZoom,           // max zoom that keeps text on screen
  smartChunkWithNLP,     // chunk text using grammatical phrase boundaries
} from '@andyed/kinetic-type-engine';

// RSVP: split a passage into chunks for serial presentation
const chunks = processText('The quick brown fox jumps over the lazy dog.', 2);

// For each chunk, compute display duration at 600 WPM
const durations = chunks.map(c => calculateFrameDuration(c, 600));

// Multi-line layout: break a long line under a max-width budget
const wrapped = applySmartLineBreaks(
  'EXPRESSION',
  /* maxWidth */ 720,
  /* fontSize */ 96,
);

Modules

| Module | Role | |---|---| | chunking | Text → chunk segmentation. Density-aware, emoji-safe, preserves visual overrides. | | constants | Shared timing/normalization constants. | | fonts | Font-stack metrics + per-font character-width factors. | | layoutSafety | getSafeZoom() — geometric + motion-overhead zoom limits. | | lineBreaking | applySmartLineBreaks, willTextWrap, calculateTargetCharsPerLine. | | nlp | smartChunkWithNLP — phrase-boundary chunking via compromise. | | timingModel | calculateFrameDuration, getAnimationPhases. | | trailModes | Trail/blur kinematics primitives. |

What's not here

  • Optimal-recognition-point (ORP) and Bouma-offset math are RSVP-specific (rapid serial visual presentation — the iBlipper reader's core technique) and stay in iBlipper as proprietary. The engine ships the kinetic-typography primitives shared across all consumers; ORP is an iBlipper-specific reading optimization.
  • Named emotion recipes (emphatic, hurry, playful, …) are curated rhetorical vocabulary and live in iBlipper. Compose your own from the primitives here.

License

MIT. See LICENSE.

Lineage

Carved out of iBlipper's src/engine/ per the extraction spec. The product (React + Capacitor + IAP + share-by-URL viral loop + curated emotion vocabulary + RSVP/ORP reader) stays at iblipper2025. The shared math is here.