- Notifications
You must be signed in to change notification settings - Fork0
Non iOS platform with Emojis
License
NotificationsYou must be signed in to change notification settings
slimkit/plus-emojis
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
这个包主要目的是为 Plus 非 iOS 平台提供 Emoji 常用表情列表
# NPMnpm i @slimkit/plus-emojis# Yarnyarn add @slimkit/plus-emojis
letemojis=require('@slimkit/plus-emojis');console.log(emojis);/*[ { text: "😂", unicode: "U+1F602" bytes: "\xF0\x9F\x98\x82" }]*/
针对每个表情,提供了一些辅助性描述文件,存放在i18n
目录中。以中文为例:
letlang=require('@slimkit/plus-emojis/i18n/zh-CN');console.log(lang);/*{ "😂": "笑哭"}*/
这个包所有内容遵循 MIT 许可证发布,请参阅完整的许可证文本