1.0.8 • Published 2 years ago

feedit v1.0.8

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

Feed It

Stream video file from a place to your target

Usage

It shows you how to install the package, and how to use it from your projects.

Installation

npm install feedit

Samples

Stream video with Express

feedIt.stream({ url: 'https://vjs.zencdn.net/v/oceans.mp4', range: req.headers.range, method: req.method }, (data, meta) => {
  if(meta.status === 200) {
    res.writeHead(meta.headers);
    return res.end();
  }
  res.writeHead(meta.status, meta.headers);
  data?.pipe(res);
}).catch(err => {

});
1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago