This package has been deprecated

Author message:

An interesting experiment that should be superceded by using ServieJS directly

servie-compat-http
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Servie Compat HTTP

NPM version NPM downloads Build status Test coverage

Map Servie Request and Response 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 HTTP
  • compose-middleware Compose an array of HTTP middleware into a single function
  • connect Simple middleware framework
  • express Minimal web framework for node

TypeScript

This project is written using TypeScript and publishes the definitions directly to NPM.

License

Apache 2.0

Package Sidebar

Install

npm i servie-compat-http

Weekly Downloads

0

Version

1.0.0

License

Apache-2.0

Unpacked Size

25 kB

Total Files

9

Last publish

Collaborators

  • blakeembrey