range request implementation for koa2
npm install @minax/koa-range
const Koa = require('koa')
const range = require('@minax/koa-range')
const app = new Koa()
app.use(async (ctx, next) => {
await range(ctx, '/Users/admin/1.mp4')
})
app.listen(3000)