Emoji search and select prompt for Inquirer.js based on emoj.
Register the prompt with inquirer:
inquirer.registerPrompt('emoji', require('inquirer-emoji'))
Call the prompt:
return inquirer.prompt([
{
type: 'emoji',
name: 'spirit_animal',
message: 'Find your spirit animal emoji:'
}
]);
- inquirer - A collection of common interactive command line user interfaces
- emoj - Find relevant emoji from text on the command-line
Tanner Nielsen [email protected]
MIT