0.0.7 • Published 6 years ago

emoji2png v0.0.7

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

Converts unicode emoji to html tags with png images

Port of jQuery plugin https://github.com/rodrigopolo/jqueryemoji

Why

The emoji are so popular, but unfortunately on Windows they looking really ugly and on Linux they don't have color. But now you can write text using your lovely emoji!

Usage

Install it npm i emoji2png -S or yarn add emoji2png

Use it:

const Emoji = require('emoji2png');

const path = '/images/';
const emoji2png = new Emoji(path);
emoji2png.parse('Text 🙂 text');
// will return 'Text <img draggable="false" class="emoji" src="/images/1f642.png"> text'

You can get images from jQuery plugin repo

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.0.0

6 years ago