ustatic
A static file serve handler for uWebSockets.js with range and compression support.
import uws from 'uWebSockets.js'
const app = uws.App()
app.get('/*', ustatic('./'))
app.listen(1337)
A static file serve handler for uWebSockets.js with range and compression support.
import uws from 'uWebSockets.js'
const app = uws.App()
app.get('/*', ustatic('./'))
app.listen(1337)
npm i ustatic
1
0.0.12
Unlicense
26.9 kB
5