Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
img
lib
test
.gitignore
.npmignore
.travis.yml
CHANGELOG.md
LICENSE
README.md
dat.json
package.json

README.md

emoji-cli Build Status

Emoji searcher

install

via npm

$ npm install -g emoji-cli

usage

See emoji -h

Usage: emoji <keywords>

Options:

  -h, --help     output usage information
  -V, --version  output the version number
  -f, --fuzzy    use fuzzy search
  -r, --random   pick a emoji randomly and copy it to clipboard

screenshots

One result emoji

Multiple results emojis

Pick a emoji randomly random emoji

Emoji not found emoji not found

api

Basic usage. Checkout the test/ folder for require('emoji-cli') examples.

var emoji = require('emoji-cli')

// callback ------------------------------------------+
// options ---------------------------+               |
// keywords -------+                  |               |
// method -+       |                  |               |
//         v       v                  v               v
    emoji.search(['face', 'smile'], {random: true}, function (err, emoji) {
      console.log(emoji)
    })

emoji.search(keywords, options, callback)

  • keywords {Array} Arguments to emoji command
  • options {Object} Can be random: true, or fuzzy: true
  • callback {Function} To receive results

License

MIT