Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/slimkit/plus-emojis
Non iOS platform with Emojis
https://github.com/slimkit/plus-emojis
Last synced: 4 days ago
JSON representation
Non iOS platform with Emojis
- Host: GitHub
- URL: https://github.com/slimkit/plus-emojis
- Owner: slimkit
- License: mit
- Created: 2018-08-08T05:53:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-08T08:23:34.000Z (over 6 years ago)
- Last Synced: 2023-10-27T23:22:50.346Z (about 1 year ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Emojis for Plus(ThinkSNS+)
## 简介
这个包主要目的是为 Plus 非 iOS 平台提供 Emoji 常用表情列表
## 安装
```bash
# NPM
npm i @slimkit/plus-emojis
# Yarn
yarn add @slimkit/plus-emojis
```## 使用
```js
let emojis = require('@slimkit/plus-emojis');console.log(emojis);
/*[
{
text: "😂",
unicode: "U+1F602"
bytes: "\xF0\x9F\x98\x82"
}
]
*/
```## 国际化
针对每个表情,提供了一些辅助性描述文件,存放在 `i18n` 目录中。以中文为例:
```js
let lang = require('@slimkit/plus-emojis/i18n/zh-CN');
console.log(lang);
/*
{
"😂": "笑哭"
}
*/
```## License
这个包所有内容遵循 MIT 许可证发布,请参阅完整的[许可证文本](https://github.com/slimkit/plus-emojis/blob/master/LICENSE)