1.0.0 • Published 6 years ago
servie-compat-http v1.0.0
Servie Compat HTTP
Map Servie
Request
andResponse
instances to node.js HTTP objects.
Installation
npm install servie-compat-http --save
Usage
import { createServer } from 'servie-compat-http'
export const server = createServer(function (req, res, next) {
res.write('hello world')
res.end()
})
Additional Resources
router
Express.js-like router for HTTPcompose-middleware
Compose an array of HTTP middleware into a single functionconnect
Simple middleware frameworkexpress
Minimal web framework for node
TypeScript
This project is written using TypeScript and publishes the definitions directly to NPM.
License
Apache 2.0