# yuanqing/charming

:tophat: Lettering.js in vanilla JavaScript

Repository: https://github.com/yuanqing/charming
Canonical: https://ross.abutalabs.com/products/yuanqing-charming
Homepage: https://codepen.io/lyuanqing/pen/YeYdrm
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript, dom, typography
Last push: 2021-01-30T07:39:35+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4417, "days_push": 2041, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1001, forks 59 (observed 2026-09-03T02:15:20.812494+00:00)

## What it is
A tiny vanilla JavaScript library that wraps each character (or word) of an element's text in individual DOM elements, a dependency-free take on Lettering.js. It supports custom tag names, class names, and split logic, and adds aria attributes for accessibility.

## Use cases
- animate individual letters of a headline
- apply per-character kerning or styling in css
- split text into spans for lettering effects
- wrap words or characters in dom elements without jquery
- create typographic text reveal animations

## When to choose
- you want Lettering.js behavior with zero dependencies
- you need accessible per-character text splitting with aria-label support
- you want configurable tag names, class names, or split logic

## When to avoid
- you need a maintained library with active development
- you need framework-specific text splitting for React or Vue
- you need advanced text layout beyond simple character wrapping

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, animation, templating
- domain: web-development, frontend, web-design
- platform: browser
- tags: typography, lettering, dom-manipulation, vanilla-javascript, text-splitting, accessibility, nodejs

## Member repositories
- yuanqing/charming (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:20.812494+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:16:10.476885+00:00, confidence not recorded.
  - readme: https://github.com/yuanqing/charming (fetched 2026-09-03T02:15:20.812494+00:00, sha a4806ea70a72)
  - homepage: https://codepen.io/lyuanqing/pen/YeYdrm (fetched 2026-08-29T13:14:23.962858+00:00, sha f901af2b500f)
  - site_page: https://blog.codepen.io/documentation/editor/using-html-preprocessors (fetched 2026-08-29T13:14:23.973313+00:00, sha cfa7a4be5259)
  - site_page: https://blog.codepen.io/documentation/features/preview-template (fetched 2026-08-29T13:14:23.975712+00:00, sha 0f60651134d7)
  - site_page: https://blog.codepen.io/documentation/editor/using-css-preprocessors (fetched 2026-08-29T13:14:23.977704+00:00, sha b8121e307545)
  - site_page: https://blog.codepen.io/documentation/url-extensions (fetched 2026-08-29T13:14:23.979960+00:00, sha 80a5097ebb57)
  - site_page: https://blog.codepen.io/documentation/editor/adding-external-resources (fetched 2026-08-29T13:14:23.981766+00:00, sha e4239aba0ce2)
  - site_page: https://blog.codepen.io/documentation/editor/using-js-preprocessors (fetched 2026-08-29T13:14:23.983773+00:00, sha 1e2af3f6a4b4)
  - site_page: https://blog.codepen.io/documentation/adding-external-resources (fetched 2026-08-29T13:14:23.985660+00:00, sha e4239aba0ce2)
  - site_page: https://blog.codepen.io/documentation/features/tab-triggers (fetched 2026-08-29T13:14:23.987646+00:00, sha 909a7e1386f7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
