deflector

0.2.0-beta3 • Public • Published
     _       __ _           _             
  __| | ___ / _| | ___  ___| |_ ___  _ __ 
 / _` |/ _ \ |_| |/ _ \/ __| __/ _ \| '__|
| (_| |  __/  _| |  __/ (__| || (_) | |   
 \__,_|\___|_| |_|\___|\___|\__\___/|_| 

A lightweight HTTP router that provides an API that is similar to Express.

Changelog

Version 0.2.0 (Future)

  • Support for PUT, DELETE, PATCH
  • Source documentation

Version 0.3.0 - beta 3 (20131024)

  • Modified; default host to listen on
  • Added; callback to listen function

Version 0.2.0 - beta 2 (20131010)

  • Now the listen function in the router returns the server instance.

Version 0.2.0 - beta 1 (20131003)

  • Fixed problem with missing handler if a query string has been passed.

Version 0.2.0 - beta 0 (20131003)

  • Implemented query parameter parsing (now available via req.query)

Version 0.1.1 (20131003)

  • Fixed wrong parameter definition in the listen function.

Version 0.1.0 (20131003)

  • Request body parsing (if "Content-Type" is "application/json").
  • Support for GET and POST verbs.

Author

2013, André König - akoenig@posteo.de

Readme

Keywords

none

Package Sidebar

Install

npm i deflector

Weekly Downloads

1

Version

0.2.0-beta3

License

MIT

Last publish

Collaborators

  • akoenig