parse-gitmoji

0.1.0 • Public • Published

Gemoji Parser 🚀

An NodeJS Github emoji parser with syntactic sugar.

Including gemoji

To get started with gemoji-parser, install it via npm.

  $ npm install gemoji-parser

Usage

You can use gemoji-parser on es6 template literals or standard strings as parameters.

  import gemoji from 'gemoji-parser'
 
  const myGemojiLiteral = gemoji`
    foo :floppy_disk: bar :heart: bazz :+1:
  `
  // => `foo 💾 bar ❤️ bazz 👍🏽`
 
  const myGemojiString = 'I :heart: gemojis!'
  gemoji(myGemojiString)
  // => `I ❤️ gemojis!`

License

MIT © Charles Kenney

Package Sidebar

Install

npm i parse-gitmoji

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • charleskenney