Skip to content
/ emojify Public

Converts emoji colon syntax in an input string to raw emojis. No dependencies.

License

Notifications You must be signed in to change notification settings

twuni/emojify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emojify

Convert emoji colon syntax (e.g: Slack style) to raw emoji.

Installing

Via npm:

npm install @twuni/emojify

Via yarn:

yarn add @twuni/emojify

Usage

Importing via ES6/TypeScript modules:

import { emojify } from '@twuni/emojify';

Importing via CommonJS (Node.js) modules:

const { emojify } = require('@twuni/emojify');

Then, to convert some text:

emojify('I love :pizza:');
// "I love 🍕"

About

Converts emoji colon syntax in an input string to raw emojis. No dependencies.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published