1.0.3 • Published 5 years ago

tag-to-emoji v1.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

tag-to-emoji

:dizzy: Transform emoji tag to emoji

:gear: Installation

npm install tag-to-emoji

:clipboard: Example

let element = '<div>Hello :wave: World :earth_africa:!</div>';

console.log(m.parse(element));
// '<div>Hello 👋 World 🌍!</div>'

:memo: Documentation

parse(el)

Transform all :emoji: occurence by the unicode emoji.

Params

  • String el: The string to parse.

Return

  • String The transformed string.

:page_facing_up: Licence

MIT.

1.0.2

5 years ago

1.0.3

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago