{"library":"http-range","type":"library","category":null,"description":"The `http-range` package provides a Node.js-specific parser and creator for HTTP/1.1 `Content-Range` and `Range` header fields. It offers dedicated classes `ContentRange` and `Range` for handling these headers, allowing developers to parse incoming header strings into structured objects and construct valid header strings from component parts. Additionally, it exposes a `RangeSpec` class for granular control over individual range specifications. The package is currently at version 1.0.0, indicating a stable and mature API. Its primary focus is on strict adherence to RFC2616 specifications for range headers, differentiating it by offering distinct classes for both Content-Range and Range headers rather than a single generic utility function. Release cadence is not explicitly defined but the project appears to be stable with a specific and limited scope.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","content-range","range","http","header","parser","http/1.1"],"last_verified":"Wed May 27","install":[{"cmd":"npm install http-range","imports":["import { ContentRange } from 'http-range';","import { Range } from 'http-range';","import { RangeSpec } from 'http-range';"]},{"cmd":"yarn add http-range","imports":[]},{"cmd":"pnpm add http-range","imports":[]}],"homepage":null,"github":"https://github.com/clns/node-http-range","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/http-range","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-range/compatibility"}}