@twuni/emojify
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/twuni__emojify package

1.0.2 • Public • Published

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

/@twuni/emojify/

    Package Sidebar

    Install

    npm i @twuni/emojify

    Weekly Downloads

    195

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    59.4 kB

    Total Files

    7

    Last publish

    Collaborators

    • canterberry