Skip to content

parse strings into emoji through a pull-stream interface

Notifications You must be signed in to change notification settings

jakeburden/pull-emoji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pull-emoji

build status js-standard-style

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

About

parse strings into emoji through a pull-stream interface

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published