项目作者: bnejy

项目描述 :
A tiny script that replaces :colon-codes: with emoji.
高级语言: JavaScript
项目地址: git://github.com/bnejy/emoji-js.git
创建时间: 2021-03-31T14:13:49Z
项目社区:https://github.com/bnejy/emoji-js

开源协议:The Unlicense

下载


emoji-js

A tiny script that replaces :colon-codes: with emoji.

how do I use it?

For now, you have to download the script and manually place it into your project.

Then put the following in your HTML’s head:
<script type="text/javascript" src="emoji.js"></script

To emojify a string:
x = emojify(y)

If y is :wave: hello! then x will be set to 👋 hello!.

coming soon

A demojify function

More emoji

Use an different symbol to indicate an emoji