@hitchy/plugin-cookies
v0.1.9
Published
per-request cookie parser for Hitchy
Downloads
12
Readme
@hitchy/plugin-cookies
per-request cookie parser for Hitchy
License
Usage
In your Hitchy-based application run
npm install --save @hitchy/plugin-cookies
On start of your application, it is discovering the plugin which is automatically injecting a new policy parsing every request's header for provided cookies exposing them in req.cookies
in handlers of any succeeding policy or controller.