UNPKG

@triliumnext/express-partial-content

Version:

A partial content handler implementation for any readable stream with Express. Based on this blog post: https://www.codeproject.com/Articles/813480/HTTP-Partial-Content-In-Node-js.

10 lines 343 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RangeParserError = void 0; class RangeParserError extends Error { constructor(start, end) { super(`Invalid start and end values: ${start}-${end}.`); } } exports.RangeParserError = RangeParserError; //# sourceMappingURL=RangeParserError.js.map