Express uses the range-parser package - see https://github.com/jshttp/range-parser/. This doesn't look to have any deps and therefore may be usable via Pika/Skypack/JSPM which would make this task reasonably simple! If it cannot be used via a CDN then we can look to port it and add to the utils directory, including appropriate copyright notices etc.
Issue
Add the
req.range()
API.Details
See:
Express uses the
range-parser
package - see https://github.com/jshttp/range-parser/. This doesn't look to have any deps and therefore may be usable via Pika/Skypack/JSPM which would make this task reasonably simple! If it cannot be used via a CDN then we can look to port it and add to the utils directory, including appropriate copyright notices etc.