# content-range **Repository Path**: mirrors_gregberge/content-range ## Basic Information - **Project Name**: content-range - **Description**: Parser and formatter for HTTP/1.1 Content-Range header field. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-11-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # content-range ![Node.js CI](https://github.com/gregberge/content-range/workflows/Node.js%20CI/badge.svg) Parser and formatter for HTTP/1.1 Content-Range header field. ## Install ```sh npm install content-range ``` ## Usage ```js import { format, parse } from "content-range"; format({ unit: "bytes", start: 10, end: 20, size: 100, }); // bytes 10-20/100 parse("bytes 10-20/100"); // { // unit: "bytes", // start: 10, // end: 20, // length: 100, // } ``` ## License MIT