0.0.15 • Published 5 years ago

node-emojify v0.0.15

Weekly downloads
9
License
MIT
Repository
github
Last release
5 years ago

npm Build Status Coverage Status dependencies Status devDependencies Status

node-emojify

Transform text into emojis 🚀.

Goal

The goal of the project is to support all of the emojis that can be found at Emojipedia. The shortcodess (ex. :fire:) that are supported are the ones that can be found Emojipedia. If the shortcode isn't in Emojipedia, then the shortcode in Slack are used. If the shortcode isn't in Slack, then the shortcode in GitHub is used. If the shortcode cannot be found in Emojipedia, Slack, or GitHub, then the name of the emoji in Emojipedia is used and underscores are used to concatenate multiple words.

Support Status

Below is a table of the emojis that are supported by version. There may be some emojis that are supported in the different verisons, but there hasn't been a concerted effort to add all emojis from that version.

Installation

npm install node-emojify

Usage

Text that you would like to convert into emojis must be surrounded by colons, like :grinning:.

const emojify = require('node-emojify')

const sentence = emojify('node is :thumbsup:')

console.log(sentence)

Output should be node is 👍

If the emoji isn't supported the text will simply be ignored and not be transformed.

Supported emojis

Supported emojis can be found in different files using the table below:

npm test

Contributing

Pull requests are welcome! Please make sure that any new or changed functionality need to have unit tests accompanied with the PR. Make sure that you lint (npm run lint) and test your code (npm test).

0.0.15

5 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago