Null Pointer Micromanagement
    Wondering what’s next for npm?Check out our public roadmap! »

    remark-emoji-to-gemoji

    1.1.0 • Public • Published

    remark-emoji-to-gemoji Build Status

    remark plug-in to transform emoji unicodes into gemoji shortcodes

    Installation

    npm:

    npm install remark-emoji-to-gemoji

    Usage

    var remark = require('remark');
    var emojiToGemoji = require('remark-emoji-to-gemoji');
     
    var doc = remark().use(emojiToGemoji).processSync('😄 👍').toString();
     
    console.log(doc);

    Yields:

    :smile: :+1:

    API

    remark().use(emojiToGemoji)

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

    License

    MIT © Max Wu

    Install

    npm i remark-emoji-to-gemoji

    DownloadsWeekly Downloads

    55

    Version

    1.1.0

    License

    MIT

    Last publish

    Collaborators

    • avatar