Registry / utility / readable-stream

readable-stream

JSON →
library4.7.0javamavenunverified

WebJar for the readable-stream npm package, providing a stream interface for browser and Node.js.

<dependency> <groupId>org.webjars.npm</groupId> <artifactId>readable-stream</artifactId> <version>4.7.0</version> </dependency>
INSTALL
IMPORT
SIG · READABLE-STREAM
R
readable-stream
utilityjavav4.7.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Readable
org.webjars.npm.readable_stream.Readable

Creates a simple readable stream that emits a string and ends.

import org.webjars.npm.readable_stream.Readable; Readable readable = new Readable({ read(size) { this.push("Hello, world!"); this.push(null); } }); readable.on('data', chunk -> System.out.println(chunk.toString()));
Debug
Known issues
gotchaWebJars are client-side libraries; usage in Java requires a JavaScript engine like Nashorn or GraalVM.
fix
Use a JavaScript runtime to execute the stream code, or use a Java-native stream library.
affects: *
Upgrade
Version history
4.7.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
readable-stream — mvn dependency:get readable-stream · libregistry