emojibase-regex
    TypeScript icon, indicating that this package has built-in type declarations

    6.0.1 • Public • Published

    Emojibase Regex

    Build Status npm version npm deps

    Install the package.

    yarn add emojibase-regex
    

    Import and use the RegExp pattern.

    import EMOJI_REGEX from 'emojibase-regex';
    import EMOTICON_REGEX from 'emojibase-regex/emoticon';
    import SHORTCODE_REGEX from 'emojibase-regex/shortcode';
    import SHORTCODE_NATIVE_REGEX from 'emojibase-regex/shortcode-native';
    
    `🏰`.match(EMOJI_REGEX);
    ':)'.match(EMOTICON_REGEX);
    ':castle:'.match(SHORTCODE_REGEX);
    ':гвинея:'.match(SHORTCODE_NATIVE_REGEX);

    Documentation

    https://emojibase.dev/docs/regex

    Install

    npm i emojibase-regex

    DownloadsWeekly Downloads

    55,495

    Version

    6.0.1

    License

    MIT

    Unpacked Size

    137 kB

    Total Files

    37

    Last publish

    Collaborators

    • milesj