emoji-library
TypeScript icon, indicating that this package has built-in type declarations

0.0.33 • Public • Published

:package: emoji-library

📦 emoji-library

Set of searchable emojis for web

Issues GitHub pull requests GitHub Downloads GitHub Total Downloads GitHub release Node.js build and publish package Running Code Coverage

Report Bug Request Feature

Systems on which it has been tested:

Macos Ubuntu Windows

Did you like the project? Please, considerate a donation to help improve!

Set of searchable emojis for web

Getting started

Installation

Install with yarn or npm: yarn or npm:

# yarn
yarn add emoji-library
# npm
npm i emoji-library --save

Import the lib with es6 or cjs

// es6
import emoji from 'emoji-library';
// cjs
const emoji = require('emoji-library');

Usage examples

services

EmojiService
#!/usr/bin/env node
const { EmojiService } = require("emoji-library"); 

const emojiService = new EmojiService(); 

const emojiList = emojiService.getEmojiList(); // returns a list of all emojis
console.log('emojiList', emojiList[0]); // prints the first emoji

const emojiById = emojiService.getEmojiById('5ff7f6536ea31b02c0a37893');
console.log('emojiById', emojiById); // returns an emoji by id

const emojiByTitle = emojiService.getEmojiByTitle('Grimacing');
console.log('emojiByTitle', emojiByTitle); // returns an emoji by title

const emojiListByKeyword = emojiService.getEmojiListByKeyword('Grimacing');
console.log('emojiListByKeyword', emojiListByKeyword); // returns a list of emojis by keyword

data

emoji_list
#!/usr/bin/env node
const { emoji_list } = require("emoji-library");

console.log(emoji_list[0]); // prints the first emoji

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

Or buy me a coffee 🙌🏾

📝 License

Copyright © 2022 Hebert F Barros.
This project is MIT licensed.

/emoji-library/

    Package Sidebar

    Install

    npm i emoji-library

    Weekly Downloads

    1

    Version

    0.0.33

    License

    MIT

    Unpacked Size

    314 kB

    Total Files

    31

    Last publish

    Collaborators

    • tecnobert