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
- Host: GitHub
- URL: https://github.com/dinoscapeprogramming/emoji
- Owner: DinoscapeProgramming
- License: apache-2.0
- Created: 2022-02-21T13:51:09.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-25T08:35:56.000Z (over 4 years ago)
- Last Synced: 2025-02-12T17:28:35.996Z (over 1 year ago)
- Language: JavaScript
- Size: 219 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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!!!