simple_video_response
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "simple_video_response", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "video response", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -37,1 +37,10 @@ # simple_video_response | ||
``` | ||
## option | ||
```javascript | ||
require('simple_video_response').express({ | ||
basePath: "", // path to read file dir ( path.join(bathPath, "example.mp4") ) | ||
fileStatCache: true, // caches file info (fs.stats) | ||
maxChunkSize: 1234567, // maximum sent chunk at one request | ||
}) | ||
``` |
10644
46