Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/abakermi/towords
- Owner: abakermi
- License: mit
- Created: 2020-05-25T17:48:45.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-25T18:21:21.000Z (over 4 years ago)
- Last Synced: 2024-11-12T11:40:11.828Z (about 1 month ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
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)