{"library":"stream-parser","type":"library","category":null,"description":"This package, `stream-parser` (version 0.3.1), provides a generic \"parser\" mixin designed for Node.js `Writable` and `Transform` stream instances and subclasses. It offers a convenient API for byte-level parsing, allowing developers to implement streaming parsers for various binary file formats or network protocols. Key methods include `_bytes(n, cb)` to buffer a specified number of bytes, `_skipBytes(n, cb)` to discard bytes, and `_passthrough(n, cb)` to pass bytes through directly to the readable side of a `Transform` stream. The library was last updated over a decade ago in June 2015, indicating it is no longer actively maintained. Its primary differentiator was providing a low-level, interruptible parsing mechanism by taking control over stream's `_write` or `_transform` callbacks, which was a common pattern in older Node.js stream implementations.","language":"javascript","status":"abandoned","version":"0.3.1","tags":["javascript"],"install":[{"cmd":"npm install stream-parser","imports":["const Parser = require('stream-parser');"]},{"cmd":"yarn add stream-parser","imports":[]},{"cmd":"pnpm add stream-parser","imports":[]}],"homepage":null,"github":"https://github.com/TooTallNate/node-stream-parser","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/stream-parser","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/stream-parser/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}