stream-cache

WebJar for stream-cache

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

stream-cache
Last Version

Last Version

0.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

stream-cache
WebJar for stream-cache
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/felixge/node-stream-cache

Download stream-cache

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/stream-cache/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>stream-cache</artifactId>
    <version>0.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/stream-cache/
implementation 'org.webjars.npm:stream-cache:0.0.2'
// https://jarcasting.com/artifacts/org.webjars.npm/stream-cache/
implementation ("org.webjars.npm:stream-cache:0.0.2")
'org.webjars.npm:stream-cache:jar:0.0.2'
<dependency org="org.webjars.npm" name="stream-cache" rev="0.0.2">
  <artifact name="stream-cache" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='stream-cache', version='0.0.2')
)
libraryDependencies += "org.webjars.npm" % "stream-cache" % "0.0.2"
[org.webjars.npm/stream-cache "0.0.2"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

node-stream-cache

A simple way to cache and replay readable streams.

Usage

var StreamCache = require('stream-cache');
var fs          = require('fs');

var cache = new StreamCache();
fs.createReadStream(__filename).pipe(cache);

// Cache can now be piped anywhere, even before the readable stream finishes.
cache.pipe(process.stdout);

Versions

Version
0.0.2