{"library":"http-parser-js","type":"library","category":null,"description":"http-parser-js is a JavaScript implementation of an HTTP protocol parser, designed to replace Node.js's internal C-based `http_parser.c` module. Its primary differentiator is its flexibility and tolerance for malformed or non-standard HTTP data, making it suitable for interacting with legacy services that do not strictly adhere to HTTP parsing rules, unlike Node.js's default stricter parser. The package is currently at version 0.5.10. It does not follow a strict release cadence but updates as needed for compatibility or bug fixes. While originally created to mitigate V8's C++ function call overhead, its current main benefit lies in its error tolerance. It can be used both as a monkey-patch replacement for Node.js's internal parser or as a standalone component for parsing raw HTTP buffers.","language":"javascript","status":"active","version":"0.5.10","tags":["javascript","http","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install http-parser-js","imports":["import { HTTPParser } from 'http-parser-js';","process.binding('http_parser').HTTPParser = require('http-parser-js').HTTPParser;"]},{"cmd":"yarn add http-parser-js","imports":[]},{"cmd":"pnpm add http-parser-js","imports":[]}],"homepage":null,"github":"https://github.com/creationix/http-parser-js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/http-parser-js","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/http-parser-js/compatibility"}}