pullout

2019-03-15 admin

pullout是什么

什么是pullout,pull out data from stream

pullout使用教程帮助文档

Pullout License NPM version Dependency Status Build Status Coverage Status

Pull out data from stream.

Install

npm i pullout

pullout(stream[, type = ‘string’])

Type could be string or buffer.

const pullout = require('pullout'),
const fs = require('fs'),

const readStream = fs.createReadStream(__filename);

const data = await pullout(readStream);
console.log(data);

Related

  • pipe-io - pipe streams and handle events

License

MIT

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-57766.html

文章标题:pullout

回到顶部