0.0.12 • Published 1 year ago
ustatic v0.0.12
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)