Text TypeScript utilities

Content parsing, matching and structured text. Explore focused implementations with runnable browser demos, source links and installation notes.

Topic hub

Useful tools for content parsing, matching and structured text

This collection groups 7 independent TypeScript utilities around one developer task. Read each summary, open a live demo, then inspect the repository, tests and release details before adopting a package. The pages document current behavior and do not claim compatibility with an earlier abandoned source.

Text packages

Start with the capability that matches the input or workflow you need to inspect.

  • text-similarity-kit Compare and rank short strings with TypeScript-first fuzzy matching helpers. Dice, Levenshtein, Jaro, Jaro-Winkler and threshold helpers.
  • frontmatter-kit Parse and inspect front matter with typed metadata, body ranges and readable diagnostics. Inspector-friendly ranges, diagnostics, stringify and strip helpers.
  • svg-ast-kit Parse SVG markup into a typed JSON AST with traversal, lookup and stats helpers. Inspect element names, counts, attributes and parser output.
  • caption-track-doctor-kit Inspect SRT and WebVTT caption tracks with browser-focused diagnostics. Preview checks subtitle timing, cue overlap, WebVTT blocks and SRT conversion.
  • human-duration-parse-kit Parse compact human duration strings into milliseconds with structured tokens and diagnostics. Designed for forms and import tools that need explainable duration input.
  • number-range-list-kit Parse integer range lists into safe expanded values, normalized segments and readable diagnostics. Form-friendly parser with spans, warnings and expansion guards.
  • numeric-unit-parse-kit Parse numeric values with units into structured amounts, normalized strings and readable diagnostics. Preview validates spacing, token and measurement inputs before npm publication.

Evaluate before you adopt

Every package page links to its public GitHub source, tests, CI and npm status. Use the browser demo for a quick representative check, then pin the version and validate edge cases against your own data. Maintainer accountability and the current repository remain the source of truth for defects, limits and support.

Read the method and limits