random-text-meme

1.1.9 • Public • Published

Build Status Coverage Status npm version Maintainability Test Coverage dependencies Status devDependencies Status bundle size

random-text-meme generator

Tired? we don't know how to help you! but we sure do have nice text emoji. ヽ(°∀°人´ヮ´)ノ

Just look at those beautiful faces: ᶘಠᴥಠᶅ (´・(oo)・`) ᕕ( ᐛ )ᕗ ( ͡° ͜ʖ ͡°) 乁(ツ)ㄏ (ᵔᴥᵔ)

Demo

RunKit friendly demo! https://npm.runkit.com/random-text-meme

Usage

Install

npm i random-text-meme --save

Require

const { getEmoji, getAllEmoji, getThemes } = require('random-text-meme');

Display emoji

  • getEmoji('flip-table'); => (╯°□°)╯︵ ┻━┻
  • getEmoji(); => ಠ_ಠ
  • getThemes(); => ['boo', 'bear', 'cat', 'dog', ...]

Not Found

if for some reason dictionary not found, or emoji could not be found, default emoji: (╯°□°)╯︵ ᔭ0ᔭ would be returned.

Test

npm run test runs unit tests

Api

  • getEmoji - returns random emoji. theme name can be specified (than random emoji would be chosen from within a theme).
  • getAllEmoji - returns all emoji. theme name can be specified.
  • getThemes - get list of all available themes.

copyright

all emoji were found on the internet. Most copied from https://cutekaomoji.com website.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.91latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.91
1.1.80
1.1.70
1.1.60
1.1.50
1.1.40
1.1.31
1.1.20
1.1.10
1.1.00
1.0.100
1.0.90
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i random-text-meme

Weekly Downloads

2

Version

1.1.9

License

MIT

Unpacked Size

23.9 kB

Total Files

8

Last publish

Collaborators

  • rk.xtd