{"library":"from2","type":"library","category":null,"description":"from2 is a convenience wrapper for Node.js `ReadableStream` (specifically, the `readable-stream` base class), designed to simplify the creation of readable streams while correctly handling backpressure. The current stable version is 2.3.0, published in 2016, indicating the project is likely abandoned or in long-term maintenance with no active development or planned release cadence. It differentiates itself by offering an API inspired by `from` and `through2`, providing `from2.obj` for object mode streams and `from2.ctor` for creating reusable stream constructors, which can improve performance for multiple similar streams. It aims to make stream creation more approachable than direct `ReadableStream` implementation.","language":"javascript","status":"abandoned","version":"2.3.0","tags":["javascript","from","stream","readable","pull","convenience","wrapper"],"last_verified":"Wed May 27","install":[{"cmd":"npm install from2","imports":["const from = require('from2')","const from = require('from2'); const objStream = from.obj(...)","const from = require('from2'); const StreamConstructor = from.ctor(...)"]},{"cmd":"yarn add from2","imports":[]},{"cmd":"pnpm add from2","imports":[]}],"homepage":null,"github":"https://github.com/hughsk/from2","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/from2","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/from2/compatibility"}}