Straightforward emoji database for your next project. Includes support for CommonJS, ES, and CLI.
yarn add @nberlette/emojiYarn saves this dependency in your
package.jsonwhen installing locally.
// both named and default imports work just fine
import emojis, { emoji } from '@nberlette/emoji'const emojis = require('@nberlette/emoji')yarn global add @nberlette/emojiemoji [keyword]
Note: if
keywordis excluded, it prints the full list of emojis.
- Exact match: returns just the emoji for
keyword - Single result: returns the emoji + keyword (or trigger)
- Many results: returns emoji + keyword for each match
