new kid with added goodies ,ship production ready endpoints
import {Fastee} from "fasteejs"
const app = new Fastee({port:4000,delay:30000}) //pass port and shutdown delay
app.get('/', function (req, res) {
res.send('Hello World')
})
app.static("static",{dotfiles:false}) //pass valid folder path and optional config
//shutdown listener
app.onShutdown((signal)=>{
//call service before shutdown
console.log("before",signal)
})
export default app
try contibutions are welcomed
fasteejs