Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abakermi/towords

node stream to words
https://github.com/abakermi/towords

Last synced: about 1 month ago
JSON representation

node stream to words

Awesome Lists containing this project

README

        

# towords
[![Build Status](https://travis-ci.com/abakermi/towords.svg?branch=master)](https://travis-ci.com/abakermi/towords) [![npm version](https://badge.fury.io/js/%40abakermi%2Ftowords.svg)](https://badge.fury.io/js/%40abakermi%2Ftowords)

convert node stream to words

## Installation

```sh
$ npm install @abakermi/towords --save
```

## Usage

```js
const fs = require('fs');
const input = fs.createReadStream('text.txt');
const wordStream = new wordStream(input);

input.pipe(wordStream).pipe(process.stdout)
```

## License

towords is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)i)