meanair-middleware
v0.6.4-patch.4
Published
Middleware you wish you always had
Downloads
23
Readme
meanair (pronouced "MEAN-er" or "MEAN-air") is a framework for building + testing node.js apps.
meanair-middleware
Run it!
npm test
Quick overview
Middleware written to promote crystal clean separation of concerns through "semantic chains". Middleware functions explained in depth and grouped under lib/*:
analytics
Track ads, application events and access to domain objects
auth(entication)
Login & logout existing and new users by mechanisms including oauth, local (password)
data
Cleanly populate + validate (pre-logic) and shape (post-logic) data for optimized or secure presentation
req
Encapsulate or gate request processing.
res
Compose responses for successful and unsuccessful api (json) and page requests
session
Inspect, persist and manipulate sessions data (authenticated & anonymous)