Map Servie
RequestandResponseinstances to node.js HTTP objects.
DEPRECATED: As an interesting experiment someone can reference.
npm install servie-compat-http --save
import { createServer } from 'servie-compat-http'
export const server = createServer(function (req, res, next) {
res.write('hello world')
res.end()
})routerExpress.js-like router for HTTPcompose-middlewareCompose an array of HTTP middleware into a single functionconnectSimple middleware frameworkexpressMinimal web framework for node
This project is written using TypeScript and publishes the definitions directly to NPM.
Apache 2.0