randomoji

1.0.1 • Public • Published

randomoji Build Status

GET A RANDOM EMOJI

Install

npm install randomoji
or
yarn add randomoji

Usage

const randomoji = require('randomoji');
 
randomoji();
//=> 📄
randomoji(5);
//=> 😓 😿 👖 👑 👫
randomEmoji(5, 'objects')
//=> 🛋 ⌚️ 🗂 💊 🗞

API

randomoji(NumberOfEmojis, category)

NumberOfEmojis

Type: int

Number of Emojis you want. Defaults to one

category

Type: string
What category you want these emojis to be in:

Categories:

  • symbols
  • objects
  • nature
  • people
  • foods
  • places
  • activity
  • flags
  • skin tones

CLI

npm install --global randomoji
or
yarn global add randomoji
$ randomoji --help

  Usage
    randomoji [NumberOfEmojis} [category]

  Examples
    $ randomoji
    > 📄
    $ randomoji 5
    > 😓 😿 👖 👑 👫
    $ randomEmoji 5 objects
    > 🛋 ⌚️ 🗂 💊 🗞

License

MIT © Sara Vieira

Readme

Keywords

Package Sidebar

Install

npm i randomoji

Weekly Downloads

2

Version

1.0.1

License

MIT

Last publish

Collaborators

  • saravieira