npm

Need private packages and team management tools?Check out npm Orgs. »

emojibase-test-utils

4.0.1 • 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';

install

npm i emojibase-test-utils

Downloadsweekly downloads

4

version

4.0.1

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability