{"id":56847,"library":"readable-stream","title":"Readable Stream (WebJar)","description":"WebJar for the readable-stream npm package, providing a stream interface for browser and Node.js.","status":"active","version":"4.7.0","language":"java","source_language":null,"source_url":"https://github.com/nodejs/readable-stream","tags":["webjar","stream","nodejs","javascript"],"install":[{"cmd":"<dependency>\n  <groupId>org.webjars.npm</groupId>\n  <artifactId>readable-stream</artifactId>\n  <version>4.7.0</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.webjars.npm:readable-stream:4.7.0'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"Readable","correct":"org.webjars.npm.readable_stream.Readable"}],"quickstart":{"code":"import org.webjars.npm.readable_stream.Readable;\n\nReadable readable = new Readable({\n    read(size) {\n        this.push(\"Hello, world!\");\n        this.push(null);\n    }\n});\nreadable.on('data', chunk -> System.out.println(chunk.toString()));","lang":"java","description":"Creates a simple readable stream that emits a string and ends."},"warnings":[{"fix":"Use a JavaScript runtime to execute the stream code, or use a Java-native stream library.","message":"WebJars are client-side libraries; usage in Java requires a JavaScript engine like Nashorn or GraalVM.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'browser':17 'interfac':15 'javascript':23 'node.js':19 'nodej':22 'npm':10 'packag':11 'provid':12 'readabl':1,8 'readable-stream':7 'stream':2,9,14,21 'webjar':3,4,20","created_at":"2026-06-15T10:52:31.142341+00:00","updated_at":"2026-06-15T10:52:31.142341+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://www.webjars.org","github":"https://github.com/nodejs/readable-stream","docs":"https://appdoc.app/artifact/org.webjars.npm/readable-stream/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}