@abakermi/towords 中文文档教程
towords
convert node stream to words
Installation
$ npm install @abakermi/towords --save
Usage
const fs = require('fs');
const input = fs.createReadStream('text.txt');
const wordStream = new wordStream(input);
input.pipe(wordStream).pipe(process.stdout)
License
towords 是根据 MIT 许可i) 许可的开源软件
towords
convert node stream to words
Installation
$ npm install @abakermi/towords --save
Usage
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 licensei)