bot-emoji

1.0.3 • Public • Published

bot-emoji

支持在聊天机器人中,将中文和emoji进行转换。

Borrow not entire code from node-emoji.

Usage

npm install bot-emoji

var emoji = require('bot-emoji')
let result = emoji.emojify('你叫什么呢?[思考]')
# '你叫什么呢?🤔'

Search more

https://emojidictionary.emojifoundation.com/

Test

npm test -- test/bot-emoji.test.js

Contribution

Just add more emoji information in bot-emoji.json

About me

Support / Donations to original committer

If you want to support node-emoji development, please consider donating (it helps me keeping my projects active and alive!):

  • Paypal: daniel.bugl@gmail.com
  • Gratipay: https://gratipay.com/omnidan/
  • Bitcoin: 114veSsYoyw2QrXkPTxHD51B5i39TinsBP

http://i.imgur.com/RgzXqGD.png

Package Sidebar

Install

npm i bot-emoji

Weekly Downloads

4

Version

1.0.3

License

MIT

Last publish

Collaborators

  • hain