{"library":"content-range","type":"library","category":null,"description":"Parser and formatter for the HTTP/1.1 Content-Range header field. Current stable version is 2.0.2, released periodically via npm. Provides two functions: format() to build the header string from object parameters (unit, start, end, size) and parse() to parse the header string into an object with unit, start, end, and length. Ships TypeScript definitions. Key differentiator: lightweight (no dependencies) and focuses solely on Content-Range, unlike larger HTTP libraries.","language":"javascript","status":"active","version":"2.0.2","tags":["javascript","content-range","header","formatter","parser","typescript"],"install":[{"cmd":"npm install content-range","imports":["import { format } from 'content-range'","import { parse } from 'content-range'","import type { ContentRange } from 'content-range'"]},{"cmd":"yarn add content-range","imports":[]},{"cmd":"pnpm add content-range","imports":[]}],"homepage":"https://github.com/gregberge/content-range#readme","github":"https://github.com/gregberge/content-range","docs":null,"changelog":null,"pypi":null,"npm":"content-range","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Thu Jun 04","next_check":"Wed Sep 02","install_tag":null}}