Skip to content

normalize-with-map v0.1.0

Latest

Choose a tag to compare

@Atomics-hub Atomics-hub released this 06 Sep 04:40

Transform Unicode text and map search matches back to complete original grapheme ranges.

npm install normalize-with-map

The first release includes immutable normalization, replacement and lowercasing chains, backward UTF-16 range projection, ESM/CommonJS exports and TypeScript declarations. The core has zero runtime dependencies.

Validated with listed Unicode 16/17 fixtures, a seeded range-mapping oracle, isolated packed consumers and Chrome/Firefox/WebKit module and worker checks. Unicode behavior follows the host runtime. Source ranges are for highlighting and provenance; they are not safe-edit guarantees.