Fasteejs new fast express alternative

pouchlabs - Aug 26 - - Dev Community

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

Enter fullscreen mode Exit fullscreen mode

try contibutions are welcomed
fasteejs

. . . .