remark-gemoji-to-emoji

1.1.0 • Public • Published

remark-gemoji-to-emoji Build Status

remark plug-in to transform gemoji shortcodes into emoji unicodes

Installation

npm:

npm install remark-gemoji-to-emoji

Usage

var remark = require('remark');
var gemojiToEmoji = require('remark-gemoji-to-emoji');
 
var doc = remark().use(gemojiToEmoji).processSync(':smile: :+1:');
console.log(doc);

Yields:

😄 👍

API

remark().use(gemojiToEmoji)

Transform gemoji shortcodes into emoji unicodes (like :smile: into 😄).

License

MIT © Max Wu

Readme

Keywords

Package Sidebar

Install

npm i remark-gemoji-to-emoji

Weekly Downloads

6,091

Version

1.1.0

License

MIT

Last publish

Collaborators

  • jackycute