cmorten / opine

Minimalist web framework for Deno ported from ExpressJS.
https://github.com/cmorten/opine/blob/main/.github/API/api.md
MIT License
854 stars 43 forks source link

[FEAT] Support req.range() API #73

Closed asos-craigmorten closed 4 years ago

asos-craigmorten commented 4 years ago

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.