An open API service indexing awesome lists of open source software.

https://github.com/zephyrpersonal/cacheable-fs-readstream

cache a fs readStream
https://github.com/zephyrpersonal/cacheable-fs-readstream

Last synced: 4 days ago
JSON representation

cache a fs readStream

Awesome Lists containing this project

README

          

# Cacheable-Fs-Stream

## Usage

```js
const createCacheableStream = require('cacheable-fs-stream')
const getCacheableFileStream = createCacheableStream()

getCacheableFileStream('path/to/your/file', e => {
console.error(e)
// handle error
}).pipe(writableStream)
```

## TODO

[ ] add multiple stores support