1.0.2 • Published 4 years ago

@twuni/emojify v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

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 🍕"