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

15.2.2 • Public • Published

Emojibase Test Utils

Build Status npm version npm deps

Provides utility functions for testing Emojibase data.

yarn add emojibase-test-utils --dev
// Or
npm install emojibase-test-utils --save-dev

Use loadEmojiData to return an array of English emoji data.

import { loadEmojiData } from 'emojibase-test-utils';

loadEmojiData().forEach((emoji) => {
  // Do something
});

Or use loadFlatEmojiData to return a flat array of emoji data (skin modifications are moved to the root).

import { loadFlatEmojiData } from 'emojibase-test-utils';

Package Sidebar

Install

npm i emojibase-test-utils

Weekly Downloads

79

Version

15.2.2

License

MIT

Unpacked Size

872 kB

Total Files

23

Last publish

Collaborators

  • milesj