Fasteejs new fast express alternative

pouchlabs

pouchlabs

Posted on August 26, 2024

Fasteejs new fast express alternative

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

💖 💪 🙅 🚩
pouchlabs
pouchlabs

Posted on August 26, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related