No features
It is literally a package that adds middleware to node:http.
Not using context
zely uses context, not req and res, but zely-js/http uses req and res, so context must be implemented separately in zely. (middleware still use req and res)
server.use(
() =>
new senta.SentaResponse({
type: 'json',
body: "Hello World" // typescript error: Type 'string' is not assignable to type 'JsonType'.ts(2345)
})
);
Problems of zely-js/http
node:http
.Solve!
A new base engine has been developed: Senta