Back to Explore

slevithan/emoji-regex-xs

GitHub
1 watchersOpen source

Last release: 4/22/2025

A JavaScript/Node package that provides a drop-in, smaller regular-expression generator for matching emoji-only symbols. It is useful when you need an emoji-matching regex that follows the same API and passes the same emoji tests as `emoji-regex`, while using the Unicode version supported by your JavaScript environment instead of hard-coded code points.

Project status

  • Actively maintained in the recent timeframe, with at least two consecutive updates (v2.0.0 on 2025-04-21, v2.0.1 on 2025-04-22) and an upstream push recorded on 2025-04-25.
  • Apparent update cadence was short and steady around that period, roughly daily between v2.0.0 and v2.0.1, though there is no evidence of subsequent updates after 2025-04-25.

AI summary generated Today

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v2.0.1

    4/22/2025

    v2.0.1 refines the core emoji-matching regular expression. The change specifically alters how regional indicator (RI) pairs are handled when they are involved in ZWJ-related emoji sequences.

    Breaking
  • v2.0.0

    4/21/2025

    v2.0.0 focuses on improving emoji compatibility by expanding support for many more underqualified emoji, aligning behavior more closely with emoji-regex and real-world usage. The release also reduces the package size further, shrinking output to roughly 0.2 kB from about 0.3 kB.

    Features