|
sfcode
An Online Competing and Development Environment
|
Range header field parser.
This is a Node.js module available through the npm registry. Installation is done using the npm install command:
Parse the given header string where size is the maximum size of the resource. An array of ranges will be returned or negative numbers indicating an error parsing.
-2 signals a malformed header string-1 signals an unsatisfiable rangeThese properties are accepted in the options object.
Specifies if overlapping & adjacent ranges should be combined, defaults to false. When true, ranges will be combined and returned as if they were specified that way in the header.
[MIT](LICENSE)