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

    Install

    npm i remark-gemoji-to-emoji

    DownloadsWeekly Downloads

    91,829

    Version

    1.1.0

    License

    MIT

    Last publish

    Collaborators

    • jackycute