mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-19 21:04:56 +02:00
66 lines
3.1 KiB
Markdown
66 lines
3.1 KiB
Markdown
# :book: emojilib [](https://travis-ci.org/muan/emojilib) [](https://www.npmjs.com/package/emojilib) [](https://github.com/feross/standard)
|
||
|
||
Emoji keyword library.
|
||
|
||
## Install
|
||
|
||
### :package: NPM<br>
|
||
|
||
```
|
||
npm install emojilib --save
|
||
```
|
||
|
||
## Usage
|
||
|
||
```javascript
|
||
> var emoji = require("emojilib")
|
||
> emoji.lib
|
||
{
|
||
"grinning": {
|
||
"keywords": ["face", "smile", "happy", "joy"],
|
||
"char": "😀",
|
||
"fitzpatrick_scale": false,
|
||
"category": "people"
|
||
},
|
||
"grin": {
|
||
"keywords": ["face", "happy", "smile", "joy"],
|
||
"char": "😁",
|
||
"fitzpatrick_scale": false,
|
||
"category": "people"
|
||
},
|
||
...
|
||
}
|
||
|
||
> emoji.ordered
|
||
[ 'grinning', 'grimacing', 'grin', 'joy', 'smiley', 'smile', 'sweat_smile', ...]
|
||
|
||
> emoji.fitzpatrick_scale_modifiers
|
||
[ '🏻', '🏼', '🏽', '🏾', '🏿' ]
|
||
|
||
> emoji.lib.v.fitzpatrick_scale
|
||
true
|
||
|
||
> emoji.lib.turtle.fitzpatrick_scale
|
||
false
|
||
|
||
> emoji.lib.v.char + emoji.fitzpatrick_scale_modifiers[4]
|
||
'✌🏿'
|
||
```
|
||
|
||
## :electric_plug: Powered by emojilib
|
||
|
||
* [Emoji Searcher](http://emoji.muan.co) – [muan/emoji](https://github.com/muan/emoji)
|
||
* [Megamoji](http://megamoji.muan.co) – [muan/megamoji](https://github.com/muan/megamoji)
|
||
* [Emoji-translate](http://meowni.ca/emoji-translate) - [notwaldorf/emoji-translate](https://github.com/notwaldorf/emoji-translate)
|
||
* [\<emo-ji\> Custom Element](https://github.com/wbinnssmith/emo-ji)
|
||
* [Menubar emoji search: Mojibar](https://github.com/muan/mojibar) – [muan/mojibar](https://github.com/muan/mojibar)
|
||
* [Emoji CLI](https://github.com/muan/emoji-cli) – [muan/emoji-cli](https://github.com/muan/emoji-cli)
|
||
* [Emoji Lookup for Launchbar](https://github.com/jasonrudolph/launchbar-emoji-lookup) – [jasonrudolph/launchbar-emoji-lookup](https://github.com/jasonrudolph/launchbar-emoji-lookup)
|
||
* [commemoji](https://www.npmjs.com/package/commemoji) - [martellaj/commemoji](https://github.com/martellaj/commemoji)
|
||
* [Emoji Stream](https://www.npmjs.com/package/emoji-stream) – [johnelliott/emoji-stream](https://github.com/johnelliott/emoji-stream)
|
||
* [EmojiPanel for Twitter](http://bit.ly/emojipanel) - [danbovey/EmojiPanel](https://github.com/danbovey/EmojiPanel)
|
||
* [mojibrag](https://mojibrag.firebaseapp.com/) - [notwaldorf/mojibrag](https://github.com/notwaldorf/mojibrag)
|
||
* [Emoji Alfred Workflow](https://www.npmjs.com/package/emoji-alfred-workflow) - [janclarin/emoji-alfred-workflow](https://github.com/janclarin/emoji-alfred-workflow)
|
||
* [(Another) Alfred Workflow for Emoji](https://www.alfredforum.com/topic/11126-alfred-emoji-search-emojis-by-name-or-keyword/) - [jsumners/alfred-emoji](https://github.com/jsumners/alfred-emoji)
|
||
* [Emojipasta Generator](http://erikyangs.com/emojipastagenerator/) - [erikyangs/emojipastagenerator](https://github.com/erikyangs/emojipastagenerator)
|