pull-emoji
v1.0.2
Published
parse strings into emoji through a pull-stream interface
Downloads
1
Maintainers
Readme
pull-emoji
parse strings into emoji through a pull-stream interface
Usage
var pull = require('pull-stream')
var emoji = require('pull-emoji')
pull(
pull.values([
':pizza:',
':sparkles: beep boop :robot:',
'cool :flag_black:'
]),
emoji(),
pull.collect(function (end, values) {
console.log(values[0])
console.log(values[1])
console.log(values[2])
})
)
outputs
🍕
✨ beep boop 🤖
cool 🏴
API
var emoji = require('pull-emoji')
Install
With npm installed, run
$ npm install pull-emoji --save
Acknowledgments
pull-emoji was inspired by emojione and pull-stream
See Also
License
MIT