Skip to content

sindresorhus/emoj

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

emoj

Find relevant emoji from text on the command-line

Uses a local emoji database.

Install

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

$ npm install --global emoj

Works best on macOS and Linux. Older Linux distributions don't support color emoji in the terminal, but newer ones (like Ubuntu 18.04 and Fedora 28) do. 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'
    🦄  🎠  🐴  🐎  ❤  ✨  🌈

  Options
    --copy -c       Copy the first emoji to the clipboard
    --skin-tone -s  Set and persist the default emoji skin tone (0 to 5)

  Run it without arguments to enter the live search
  Use the up/down keys during live search to change the skin tone

Related

About

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

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published