New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

fasteejs

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fasteejs

Blazingly fast express alternative

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

fastee

fasteejs blazingly fast express alternative

full featured backend webframework Fast, Lightweight,Built-in zod schema validator..

Features

  • fast
  • production ready
  • no production code required it just works
  • already know express Yei!
  • type safety endpoints
  • express ecosystem support
  • gracefully shutsdown
  • has built-in goodies
 npm i fasteejs

usage

  import {Fastee} from "fasteejs"

  const app = new Fastee(); //uses defaults
  const app1 = new Fastee({port:4000,delay:30000}) //pass port and shutdown delay
  let server = http.createServer().listen(5000)
  const app2 = new Fastee({server,delay:30000}) //passed listening server must be already running
  app.get('/', function (req, res) {
     res.text('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 {app,app1,app2}

what led to the developement of fasteejs

maintaining production server api was hectick and repetitive ,thus this gave birth to this awesome alternative.

Keywords

api

FAQs

Package last updated on 24 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts