{"library":"http-string-parser","type":"library","category":null,"description":"http-string-parser is a lightweight, proof-of-concept library designed to parse raw HTTP request and response messages from strings within Node.js environments. The package is currently at version 0.0.6, with its last known update in 2014, indicating it is no longer actively maintained. Its core functionality offers methods like `parseRequest`, `parseResponse`, `parseRequestLine`, `parseStatusLine`, and `parseHeaders` to break down HTTP messages into structured JavaScript objects. A key differentiator is its explicit admission of being a 'naive' parser, not leveraging Node.js core's C bindings for HTTP parsing or more robust alternatives like `http-pegjs`, which were even suggested as future replacements in its own README. It serves as a basic utility for scenarios where a simple, non-production-grade parsing of well-formed HTTP strings is sufficient, but lacks the robustness and ongoing support expected for modern applications.","language":"javascript","status":"abandoned","version":"0.0.6","tags":["javascript","http","message","request","response","parser","string","raw","bare"],"last_verified":"Wed May 27","install":[{"cmd":"npm install http-string-parser","imports":["const parser = require('http-string-parser');","const { parseRequest } = require('http-string-parser');","const parser = require('http-string-parser');\nconst response = parser.parseResponse(responseString);"]},{"cmd":"yarn add http-string-parser","imports":[]},{"cmd":"pnpm add http-string-parser","imports":[]}],"homepage":null,"github":"https://github.com/apiaryio/http-string-parser","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/http-string-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/http-string-parser/compatibility"}}