persist-request
persist-request
will download a file and cache it in a user specified cache
directory. Subsequent requests to the same file will be returned a stream from
the cache rather than from the original source.
Install
npm install --save persist-request
Usage
var persistRequest = '/tmp/'; var stream = persistRequest; stream;