{"library":"llparse-test-fixture","type":"library","category":null,"description":"llparse-test-fixture is a utility package designed to provide a consistent and controlled environment for testing parsers generated by `llparse` and other `llparse`-based modules. `llparse` itself is an API for compiling incremental parsers into highly optimized C output, often used in performance-critical applications like `llhttp` (the HTTP parser in Node.js). This fixture, currently at version 5.1.0, facilitates the creation of test cases, feeding input data, and asserting on the behavior and output of such low-level parsers. It primarily serves as a development dependency for projects that utilize `llparse` to ensure the correctness and robustness of their generated parsers, offering abstractions to simplify complex parsing scenarios in tests. Its release cadence is likely tied to updates in the core `llparse` project. It differentiates itself by providing specialized tools for a generated C-based parser, contrasting with general-purpose testing libraries.","language":"javascript","status":"active","version":"5.1.0","tags":["javascript","llparse","test","fixture","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install llparse-test-fixture","imports":["import { createFixture } from 'llparse-test-fixture';","import { ParserTestStream } from 'llparse-test-fixture';","import type { IParsedEvent } from 'llparse-test-fixture';"]},{"cmd":"yarn add llparse-test-fixture","imports":[]},{"cmd":"pnpm add llparse-test-fixture","imports":[]}],"homepage":"https://llparse.org","github":"https://github.com/indutny/llparse-test-fixture","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/llparse-test-fixture","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/llparse-test-fixture/compatibility"}}