pullout

pull out data from stream
get pull body data stream


Summary

Project Name pullout Project Url http://github.com/coderaiser/pullout
InceptionYear 2016-10-27 10:36:31 更新时间 2019-09-22 03:03:31
IssueManagement https://github.com/coderaiser/pullout/issues Licenses MIT
仓库地址 git://github.com/coderaiser/pullout.git 用户数 1
Node Engine >=10.0.0 文件大小 2.3 KB
install test lint fix:lint watch:test watcher coverage report

项目介绍

# Pullout [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL] Pull out data from stream. ## Install ``` npm i pullout ``` ## pullout(stream[, type = 'string']) Type could be `string` or `buffer`. ```js const pullout = require('pullout'), const fs = require('fs'), const readStream = fs.createReadStream(__filename); const data = await pullout(readStream); console.log(data); ``` ## Related - [pipe-io](https://github.com/coderaiser/pipe-io "pipe-io") - pipe streams and handle events ## License MIT [NPMIMGURL]: https://img.shields.io/npm/v/pullout.svg?style=flat [BuildStatusIMGURL]: https://img.shields.io/travis/coderaiser/pullout/master.svg?style=flat [DependencyStatusIMGURL]: https://img.shields.io/david/coderaiser/pullout.svg?style=flat [LicenseIMGURL]: https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat [CoverageIMGURL]: https://coveralls.io/repos/coderaiser/pullout/badge.svg?branch=master&service=github [NPMURL]: https://npmjs.org/package/pullout "npm" [BuildStatusURL]: https://travis-ci.org/coderaiser/pullout "Build Status" [DependencyStatusURL]: https://david-dm.org/coderaiser/pullout "Dependency Status" [LicenseURL]: https://tldrlegal.com/license/mit-license "MIT License" [CoverageURL]: https://coveralls.io/github/coderaiser/pullout?branch=master

开发依赖

GroupId ArtifactID Version 引用量
Gregg Caines coveralls 3.1.0 41856
Nicholas C. Zakas eslint 7.10.0 238059
Toru Nagashima eslint-plugin-node 11.1.0 27563
coderaiser eslint-plugin-putout 5.2.0 202
coderaiser madrun 7.0.4 201
Remy Sharp nodemon 2.0.4 16993
Ben Coe nyc 15.1.0 42605
coderaiser putout 6.6.1 110
coderaiser supertape 2.0.0 150
coderaiser try-to-catch 3.0.0 46