Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jakeburden/pull-emoji
parse strings into emoji through a pull-stream interface
https://github.com/jakeburden/pull-emoji
emoji pull-emoji pull-stream
Last synced: 1 day ago
JSON representation
parse strings into emoji through a pull-stream interface
- Host: GitHub
- URL: https://github.com/jakeburden/pull-emoji
- Owner: jakeburden
- Created: 2017-02-05T04:34:56.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-05T16:28:07.000Z (almost 8 years ago)
- Last Synced: 2024-11-16T08:07:03.946Z (about 2 months ago)
- Topics: emoji, pull-emoji, pull-stream
- Language: JavaScript
- Size: 2.93 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pull-emoji
[![build status][travis-image]][travis-url]
[![js-standard-style][standard-image]][standard-url]> parse strings into emoji through a pull-stream interface
## Usage
```js
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
```js
var emoji = require('pull-emoji')
```## Install
With [npm](https://npmjs.org/) installed, run
```
$ npm install pull-emoji --save
```## Acknowledgments
pull-emoji was inspired by emojione and pull-stream
## See Also
- [`Ranks/emojione`](https://github.com/Ranks/emojione)
- [`Dominic/pull-stream`](http://gitmx.com/%25xAFKL6PBr1CIzL5xGHZC5DFVWiXmc7R0MMnZnBwq%2Fyk%3D.sha256)## License
MIT
[travis-image]: https://img.shields.io/travis/jekrb/pull-emoji/master.svg?style=flat-square
[travis-url]: https://travis-ci.org/jekrb/pull-emoji
[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square
[standard-url]: https://github.com/feross/standard