remark-gemoji-to-emoji
Transform gemoji shortcodes into emoji unicodes
Last updated 3 years ago by jackycute .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install remark-gemoji-to-emoji 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.1.0                                ...           latest (3 years ago)

3 Versions

  • 1.1.0                                ...           3 years ago
  • 1.0.0                                ...           4 years ago
  • 0.1.0                                ...           4 years ago

Copyright 2014 - 2016 © taobao.org |