Comparing version 1.1.0 to 2.0.0
@@ -1,1 +0,4 @@ | ||
module.exports = require("./emojis.json") | ||
module.exports = { | ||
lib: require('./emojis'), | ||
ordered: require('./ordered') | ||
} |
{ | ||
"name": "emojilib", | ||
"version": "1.1.0", | ||
"version": "2.0.0", | ||
"description": "Emoji keyword library.", | ||
@@ -34,2 +34,3 @@ "main": "index.js", | ||
"JSONStream": "^1.0.4", | ||
"escape-string-regexp": "^1.0.4", | ||
"format-json-stream": "^0.1.5", | ||
@@ -36,0 +37,0 @@ "phantomjs": "^1.9.17" |
@@ -1,2 +0,2 @@ | ||
# :book: emojilib [![Travis CI](https://travis-ci.org/muan/emojilib.svg?branch=master)](https://travis-ci.org/muan/emojilib) | ||
# :book: emojilib [![Travis CI](https://travis-ci.org/muan/emojilib.svg?branch=master)](https://travis-ci.org/muan/emojilib) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard) | ||
@@ -19,10 +19,7 @@ Emoji keyword library. | ||
```javascript | ||
var emojis = require("emojilib") | ||
``` | ||
## Usage | ||
```javascript | ||
> emojis | ||
> var emoji = require("emojilib") | ||
> emoji.lib | ||
{ | ||
@@ -42,4 +39,4 @@ "grinning": { | ||
> emojis.keys | ||
[ 'grinning', 'grin', 'joy', 'smiley', 'smile', 'sweat_smile', ...] | ||
> emoji.ordered | ||
[ 'grinning', 'grimacing', 'grin', 'joy', 'smiley', 'smile', 'sweat_smile', ...] | ||
``` | ||
@@ -53,2 +50,5 @@ | ||
* [\<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) | ||
@@ -55,0 +55,0 @@ ## :heart: YES |
Sorry, the diff of this file is too big to display
172356
6511
4