How to use the emoji-regex/es2015/index function in emoji-regex

To help you get started, we’ve selected a few emoji-regex examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github FrankerFaceZ / FrankerFaceZ / src / modules / chat / emoji.js View on Github external
title: 'Emoji Style',
				component: 'setting-select-box',
				data: [
					{value: 0, title: 'Native'},
					{value: 'twitter', title: 'Twitter'},
					{value: 'google', title: 'Google'},
					//{value: 'apple', title: 'Apple'},
					{value: 'emojione', title: 'EmojiOne'},
					//{value: 'facebook', title: 'Facebook'},
					//{value: 'messenger', title: 'Messenger'}
				]
			}
		});

		// For some reason, splitter is a function.
		this.splitter = splitter();

		this.emoji = {};
		this.names = {};
		this.chars = new Map;
	}

emoji-regex

A regular expression to match all Emoji-only symbols as per the Unicode Standard.

MIT
Latest version published 3 months ago

Package Health Score

83 / 100
Full package analysis