神刀安全网

emoji-cli

emoji-cli emoji-cli

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   -r, --random   pick a emoji randomly and copy it to clipboard 

screenshots

One result emoji-cli

Multiple results emoji-cli

Pick a emoji randomly emoji-cli

Emoji not found emoji-cli

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 (emoji) {       console.log(emoji)     }) 

emoji.search(keywords, options, callback)

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

based on

Thanks emoji-cli

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » emoji-cli

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
分享按钮