Fasteejs new fast express alternative
pouchlabs

pouchlabs @pouchlabs

About: Home to Next Gen Js Tools

Joined:
Apr 30, 2024

Fasteejs new fast express alternative

Publish Date: Aug 26 '24
0 0

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

Comments 0 total

    Add comment