github

sindresorhus / emoj

  • суббота, 25 июня 2016 г. в 03:12:30
https://github.com/sindresorhus/emoj

JavaScript
Find relevant emoji from text on the command-line 😮 ✨ 🙌 🐴 💥 🙈



emoj Build Status

Find relevant emoji from text on the command-line

Uses the API from this great article on Emoji & Deep Learning.
Check out the Dango app if you want something like this on your phone.

Install

Ensure you have Node.js version 4 or higher installed. Then run the following:

$ npm install --global emoj

Works best on macOS. Terminals on Linux render emojis in monochrome as they don't support color emojis. On Linux, I would recommend installing Emoji One for full emoji coverage. Doesn't really work on Windows.

Usage

$ emoj --help

  Usage
    $ emoj [text]

  Example
    $ emoj 'i love unicorns'
    🦄  🎠  🐴  🐎  ❤  ✨  🌈

  Run it without arguments to enter the live search

License

MIT © Sindre Sorhus