@distalog/cookie-param-handler

1.0.13 • Public • Published

cookie-param-handler

hapi handler to allow static contents to set cookies by passing them as form fields.

Use it as a pre handler on top of the actual static content.

See code in the example directory for usage.

Used by cookie-css for instance.

Security

Be aware that this handler allows setting arbitrary cookies: consider putting it behind authentication.

Readme

Keywords

Package Sidebar

Install

npm i @distalog/cookie-param-handler

Weekly Downloads

76

Version

1.0.13

License

BSD-3-Clause

Unpacked Size

24.8 kB

Total Files

15

Last publish

Collaborators

  • deedf