1.0.0 • Published 7 years ago

emoji-sheriff v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

node-emoji-sheriff

Build Status

it's past its prime, but here's a module to construct an emoji sheriff (or really whatever kind of string sheriff you want, i guess).

usage

var sheriff = require('emoji-sheriff')

emojiSheriff(bodyEmoji)

pass it an emoji and it builds a body.

console.log(sheriff('🍨'))
//     🤠
//   🍨 🍨 🍨
//  🍨  🍨  🍨
//  👇 🍨 🍨 👇
//   🍨   🍨
//  🍨     🍨
//  👢     👢

emojiSheriff(opts)

or pass it an object with the pieces spelled out. available options:

  • feet
    • or leftFoot, rightFoot
  • hands
    • or leftHand, rightHand
  • body
  • face
var opts = {
  feet: '👡',
  hands: '👋',
  body: '☕️',
  face: '😎'
}

console.log(sheriff(opts))

//     😎
//   ☕️ ☕️ ☕️
//  ☕️  ☕️  ☕️
//  👋 ☕️ ☕️ 👋
//   ☕️   ☕️
//  ☕️     ☕️
//  👡     👡

license

MIT