{"library":"parse-headers","type":"library","category":null,"description":"The `parse-headers` package is a lightweight utility designed to transform raw HTTP header strings into a JavaScript object. It is currently at version 2.0.6, with its last update occurring approximately one year ago (as of early 2024), indicating a slow release cadence and minimal active development. The library's core functionality involves parsing a multi-line header string, lowercasing all header names, and consolidating multiple instances of the same header into an array of values. It distinguishes itself by being a zero-dependency solution, making it ideal for environments where a minimal footprint is critical, such as older browser environments via Browserify or for basic XHR header processing. Unlike more comprehensive, RFC-strict parsers that handle structured field values, `parse-headers` offers a straightforward, object-based representation suitable for common, less complex HTTP header scenarios.","language":"javascript","status":"maintenance","version":"2.0.6","tags":["javascript","http","headers","typescript"],"install":[{"cmd":"npm install parse-headers","imports":["import parse from 'parse-headers'","const parse = require('parse-headers')","import type { ParsedHeaders } from 'parse-headers'"]},{"cmd":"yarn add parse-headers","imports":[]},{"cmd":"pnpm add parse-headers","imports":[]}],"homepage":null,"github":"https://github.com/kesla/parse-headers","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/parse-headers","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/parse-headers/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Mon Jul 20","install_tag":null}}