serve-file
Like serve-static but for individual files. Refactored and decoupled from express res.sendFile
. Can be used standalone with router to support HTTP/2 protocol.
npm i -S serve-file
Usage
const app = app
Like serve-static but for individual files. Refactored and decoupled from express res.sendFile
. Can be used standalone with router to support HTTP/2 protocol.
npm i -S serve-file
const app = app
npm i serve-file
1
0.1.4
MIT