npm install rackspace-shared-middlewares
|2||downloads in the last month|
|Version||0.1.1 last updated 2 years ago|
|Dependencies||async, logmagic, express, swiz, rackspace-shared-utils|
Rackspace Express middleware
Shared Rackspace Express middleware.
Log express access attempts using logamgic.
Attaches transaction id to every request and return it in the response inside the X-Response-Id header.
Body size limiter
Middleware which accepts and limits the maximum size of the request body.
A middleware which responds to any OPTIONS requests with a 204 and an Access control Response.
Middleware which uses Swiz definitions to parse a request body.
A middleware which deserializes the request body and performs a validation on it using the provided Valve object. This middleware must be used in combination with body parser one.
This library is distributed under the Apache 2.0 license.