Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (15 sloc) 378 Bytes

Flatware::Cookie-Parser

Cookie Parser middleware for Flatiron.js

Include as dependency

Add "flatware-cookie-parser" to your dependencies in package.json.

$ npm install

Add it to the server

var CookieParser = require('flatware-cookie-parser');

  var server = union.createServer({
    before: [
      CookieParser(),
      // ...
    ]
  });