# emojibase-regex

> Evergreen emoji regex patterns.

Latest version **17.0.0** (published 2025-11-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install emojibase-regex
pnpm add emojibase-regex
yarn add emojibase-regex
bun add emojibase-regex
```

## Health

**Score 50/100 (C)** — status: stable.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 17.0.0 |
| Published | 2025-11-17 |
| First published | 2017-08-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 127.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 625 |
| Author | Miles Johnson |
| Maintainers | milesj |
| Keywords | emoji, emojibase, regex, unicode |

## Links

- npm: https://www.npmjs.com/package/emojibase-regex
- Repository: https://github.com/milesj/emojibase
- Homepage: https://github.com/milesj/emojibase#readme
- Issues: https://github.com/milesj/emojibase/issues
- Funding: https://ko-fi.com/milesjohnson
- npm.io page: https://npm.io/package/emojibase-regex

## Recent versions

- 17.0.0 (latest) — 2025-11-17
- 5.0.0-alpha.0 (next) — 2020-08-21
- 16.0.0 — 2024-12-07
- 15.3.2 — 2024-06-09
- 15.3.1 — 2024-06-03
- 15.3.0 — 2023-12-03
- 15.2.0 — 2023-10-06
- 15.1.0 — 2023-10-03
- 15.0.0 — 2023-06-11
- 6.0.1 — 2021-12-19
- 6.0.0 — 2021-10-15
- 5.1.3 — 2021-05-14
- 5.1.2 — 2021-03-08
- 5.1.1 — 2021-01-17
- 5.1.0 — 2021-01-11
- … 34 more at https://npm.io/package/emojibase-regex/versions

## README

# Emojibase Regex

[![Build Status](https://github.com/milesj/emojibase/workflows/Build/badge.svg)](https://github.com/milesj/emojibase/actions?query=branch%3Amaster)
[![npm version](https://badge.fury.io/js/emojibase-regex.svg)](https://www.npmjs.com/package/emojibase-regex)
[![npm deps](https://david-dm.org/milesj/emojibase.svg?path=packages/regex)](https://www.npmjs.com/package/emojibase-regex)

Install the package.

```
yarn add emojibase-regex
```

Import and use the `RegExp` pattern.

```ts
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](https://emojibase.dev/docs/regex)

---
_Source: https://npm.io/package/emojibase-regex · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
