New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

food

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

food

unicode characters are tasty food for programs! feed your apps some emojis

latest
npmnpm
Version
0.3.5
Version published
Weekly downloads
6
100%
Maintainers
2
Weekly downloads
 
Created
Source

Food Build Status

Unicode characters are tasty food for programs! feed your apps some emojis. Asciinema here to see in action. Inspired to make working with unicode and emojis easier by this article.

Install

$ npm install --save food

CLI

$ npm install --global food
$ food --help
  unicode characters are tasty food for programs! feed your apps some emojis

  Usage
    $ food [input]

  Options
    --options  Keywords  [Default: description]

  Examples
    $ food search uncirons
    [{
        "unicode": "1F984",
        "display": "🦄",
        "description": "unicorn face",
        "category": "animal-mammal"
    }...

Usage

const food = require('food');

food.search('unicorns');
/*=>
    [{
        "unicode": "1F984",
        "display": "🦄",
        "description": "unicorn face",
        "category": "animal-mammal"
    } ...
*/

API

food.emojis

Type: array<object>

Array of emojis with the following properties

unicode

Unicode representation.

display

The visual representation.

description

Description of the emoji.

category

The grouping of the emoji.

food.search(input, [options])

input

Type: string

search term passed in for fuzzy searching.

options

Note** this project uses fuse for searching so see krisk/fuse for full options.

key

Type: array<string>
Default: false

A list of nested json parameters for the parser to look for.

License

MIT © Stanley Zheng

Keywords

emoji

FAQs

Package last updated on 11 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts