pipe-io
Pipe streams and handle events
Last updated 6 years ago by coderaiser .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install pipe-io 
SYNC missed versions from official npm registry.

Pipe-io License NPM version Dependency Status Build Status Coverage Status

Pipe streams and handle events.

Install

npm i pipe-io

API

pipe

Create pipe between streams and adds callback wich would be called once whenever everything is done, or error occures.

const fs = require('fs');

const pipe = require('pipe-io');
const tryToCatch = require('try-to-catch');

const NAME = 'README.md';
const NAME2 = 'README2.md';
const readStream = fs.createReadStream(NAME);
const writeStream = fs.createWriteStream(NAME2);

const [e] = await tryToCatch(pipe, [readStream, writeStream]);

Related

  • Pullout - pull out data from stream

License

MIT

Current Tags

  • 4.0.1                                ...           latest (6 years ago)

78 Versions

  • 4.0.1                                ...           6 years ago
  • 4.0.0                                ...           7 years ago
  • 3.0.12                                ...           7 years ago
  • 3.0.11                                ...           7 years ago
  • 3.0.10                                ...           7 years ago
  • 3.0.9                                ...           8 years ago
  • 3.0.8                                ...           8 years ago
  • 3.0.7                                ...           8 years ago
  • 3.0.6                                ...           8 years ago
  • 3.0.5                                ...           8 years ago
  • 3.0.4                                ...           8 years ago
  • 3.0.3                                ...           8 years ago
  • 3.0.2                                ...           8 years ago
  • 3.0.1                                ...           8 years ago
  • 3.0.0                                ...           8 years ago
  • 2.0.5                                ...           9 years ago
  • 2.0.4                                ...           9 years ago
  • 2.0.3                                ...           9 years ago
  • 2.0.2                                ...           9 years ago
  • 2.0.1                                ...           9 years ago
  • 2.0.0                                ...           9 years ago
  • 1.2.8                                ...           9 years ago
  • 1.2.7                                ...           9 years ago
  • 1.2.6                                ...           9 years ago
  • 1.2.5                                ...           9 years ago
  • 1.2.4                                ...           9 years ago
  • 1.2.3                                ...           9 years ago
  • 1.2.2                                ...           9 years ago
  • 1.2.1                                ...           10 years ago
  • 1.2.0                                ...           11 years ago
  • 1.1.36                                ...           11 years ago
  • 1.1.35                                ...           11 years ago
  • 1.1.34                                ...           11 years ago
  • 1.1.33                                ...           11 years ago
  • 1.1.32                                ...           11 years ago
  • 1.1.31                                ...           11 years ago
  • 1.1.30                                ...           11 years ago
  • 1.1.29                                ...           11 years ago
  • 1.1.28                                ...           11 years ago
  • 1.1.27                                ...           11 years ago
  • 1.1.26                                ...           11 years ago
  • 1.1.25                                ...           11 years ago
  • 1.1.24                                ...           11 years ago
  • 1.1.23                                ...           11 years ago
  • 1.1.22                                ...           11 years ago
  • 1.1.21                                ...           11 years ago
  • 1.1.20                                ...           11 years ago
  • 1.1.19                                ...           11 years ago
  • 1.1.18                                ...           11 years ago
  • 1.1.17                                ...           11 years ago
  • 1.1.16                                ...           11 years ago
  • 1.1.15                                ...           11 years ago
  • 1.1.14                                ...           11 years ago
  • 1.1.13                                ...           11 years ago
  • 1.1.12                                ...           11 years ago
  • 1.1.11                                ...           11 years ago
  • 1.1.10                                ...           11 years ago
  • 1.1.9                                ...           11 years ago
  • 1.1.8                                ...           11 years ago
  • 1.1.7                                ...           11 years ago
  • 1.1.6                                ...           11 years ago
  • 1.1.5                                ...           11 years ago
  • 1.1.4                                ...           11 years ago
  • 1.1.3                                ...           11 years ago
  • 1.1.2                                ...           11 years ago
  • 1.1.1                                ...           11 years ago
  • 1.1.0                                ...           11 years ago
  • 1.0.1                                ...           11 years ago
  • 1.0.0                                ...           11 years ago
  • 0.9.6                                ...           12 years ago
  • 0.9.5                                ...           12 years ago
  • 0.9.4                                ...           12 years ago
  • 0.9.3                                ...           12 years ago
  • 0.9.2                                ...           12 years ago
  • 0.9.1                                ...           12 years ago
  • 0.9.0                                ...           12 years ago
  • 0.8.4                                ...           12 years ago
  • 0.8.3                                ...           12 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 12
Last Day 0
Last Week 13
Last Month 2
Dependencies (0)
None
Dev Dependencies (16)
Dependents (3)

Copyright 2013 - present © cnpmjs.org | Home |