Human Regex Gets TypeScript's Magic Typing

Two weeks ago, I released the first public version of Human Regex, and I’m thrilled to share that it now leverages TypeScript’s magic typing to take regex building to the next level! This update not only brings a host of bug fixes but also introduces a smarter, safer API for crafting regular expressions. Thanks to two new contributors—one of whom contributed the powerful magic typing—Human Regex has already gained 900+ downloads. Why is Human Regex better than traditional regex in JS/TS? English-like Syntax: Build regex patterns in a readable, chainable syntax that feels like natural language. Magic Typing: Enforces valid regex construction at compile time, catching mistakes early and making your code safer. Want to Learn More?

Feb 17, 2025 - 02:05
 0
Human Regex Gets TypeScript's Magic Typing

Two weeks ago, I released the first public version of Human Regex, and I’m thrilled to share that it now leverages TypeScript’s magic typing to take regex building to the next level! This update not only brings a host of bug fixes but also introduces a smarter, safer API for crafting regular expressions. Thanks to two new contributors—one of whom contributed the powerful magic typing—Human Regex has already gained 900+ downloads.

Why is Human Regex better than traditional regex in JS/TS?

  • English-like Syntax: Build regex patterns in a readable, chainable syntax that feels like natural language.
  • Magic Typing: Enforces valid regex construction at compile time, catching mistakes early and making your code safer.

Want to Learn More?