{"library":"fibers","type":"library","category":null,"description":"Fibers is a Node.js module that enables cooperative multi-tasking, often referred to as coroutines, by providing an API to jump between multiple call stacks within a single thread. It allows developers to write asynchronous code in a synchronous, blocking style, making it easier to integrate with older synchronous libraries. Originally developed in early 2011 for Node.js v0.1.x, the module's utility has largely been superseded by the standardization of native JavaScript features like Promises, async/await, and Generators. The current stable version is 5.0.3, although its compatibility is limited to Node.js v14.x and older, specifically not supporting v16.0.0 or later due to V8 engine changes. The project maintainer actively recommends avoiding its use due to its obsolescence and the inherent difficulty in maintaining compatibility with the rapidly evolving V8 engine and Node.js platform, which makes its long-term viability uncertain. It does not follow a regular release cadence, with updates primarily driven by critical compatibility fixes for older Node.js versions. A key differentiator was its ability to bring synchronous-looking code to asynchronous environments, a niche now robustly filled by modern JS concurrency primitives. Given its age and the availability of superior native alternatives, it is largely considered a legacy solution.","language":"javascript","status":"deprecated","version":"5.0.3","tags":["javascript","fiber","fibers","coroutine","thread","async","parallel","worker","future"],"last_verified":"Wed May 27","install":[{"cmd":"npm install fibers","imports":["const Fiber = require('fibers');","Fiber.yield();","myFiber.run();"]},{"cmd":"yarn add fibers","imports":[]},{"cmd":"pnpm add fibers","imports":[]}],"homepage":null,"github":"https://github.com/laverdet/node-fibers","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/fibers","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/fibers/compatibility"}}