An open API service indexing awesome lists of open source software.

https://github.com/dinoscapeprogramming/emoji

A simple program to get emojis
https://github.com/dinoscapeprogramming/emoji

Last synced: 11 months ago
JSON representation

A simple program to get emojis

Awesome Lists containing this project

README

          

# Emoji
A simple program to get emojis

## Installation
Copy the __index.js__ file and the __emojis.json__ file. You don't wanna copy the whole __emoji.json__ file? No problem. Add the __installation.js__ file to your project and run this command:
```
npm install node-fetch@2.6.7
```
Then you need to start the installation. Run this command now:
```
node installation.js
```

## Documentation
### Required the program
```js
const emoji = require('./emoji.js');
```

### Get emoji with name
```js
emoji("soccer ball")
```

### Get emoji with parameter
```js
emoji({ shortname: "joy" })
```

## Example
```js
const emoji = require('./emoji.js');

console.log(emoji("soccer ball"))

console.log(emoji({ shortname: "joy" }))
```

## Note
GUYS, PLEASE USE THIS PACKAGE, IT TAKED ME SOOOOOOO LONG TIME TO LIST ALL EMOJI IN A FILE, PLEASE PLEASE PLEASE... I LOVE YOU, DAMN!!!