camwiegert/baffle
A tiny javascript library for obfuscating and revealing text in DOM elements. :astonished: observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3697
- days_rel: n/a
- days_push: 3292
- n_releases_24m: 0
Adoption not part of the score
1757 stars · 83 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Baffle.js is a tiny (~1.8kb gzipped), dependency-free JavaScript library for obfuscating and revealing text in DOM elements. It lets you scramble text with configurable characters and animate the reveal over time via a simple chainable API.
Use cases
- scramble text in a headline before revealing it
- add a decoding/decrypting text effect to a hero section
- obfuscate text on page load and reveal it after data loads
- create a typewriter-style glitch effect on DOM elements
- animate text transitions when swapping in new content
When to choose
- you want a lightweight, dependency-free text scramble/reveal effect in the browser
- you need fine control over obfuscation characters, speed, and reveal duration
- you're targeting older browsers like IE9+
When to avoid
- you need real security or data hiding - it's a visual effect, not encryption
- your elements contain child nodes, since it flattens textContent
- you need a full animation library with broader effect support
- you need actively maintained software - the last release was in 2017
Facets
library · maturity maintenance
animation ui-components frontend web-development browser text-effects obfuscation dom scramble-text dependency-free nodejs
3 sources
- readme: https://github.com/camwiegert/baffle · fetched 2026-08-28 · cee4a85686e6
- homepage: https://camwiegert.github.io/baffle · fetched 2026-08-29 · 02811c43b2a4
- registry_npm: https://registry.npmjs.org/baffle · fetched 2026-08-29 · d30f76508c0c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| camwiegert/baffle | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="camwiegert/baffle")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem