1.0.3 • Published 8 years ago
bot-emoji v1.0.3
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!):