cookie-parser binding in ReasonML
  • Reason 79.2%
  • Shell 20.8%
Find a file
2017-06-15 07:34:26 -04:00
example Initial commit 2017-06-15 07:25:22 -04:00
src Initial commit 2017-06-15 07:25:22 -04:00
tests Initial commit 2017-06-15 07:25:22 -04:00
.gitignore Initial commit 2017-06-15 07:25:22 -04:00
bsconfig.json Initial commit 2017-06-15 07:25:22 -04:00
package.json Initial commit 2017-06-15 07:25:22 -04:00
README.md Create README.md 2017-06-15 07:34:26 -04:00

bs-cookie-parser

cookie-parser binding in ReasonML

Example

let app = Express.express ();

App.use app (CookieParser.make ()); 

App.listen app port::3000 ;

Installation

TODO

Testing in development

In one terminal:

npm run start

In second terminal:

cd tests && ./test.sh

Testing relies on querying a the example/Index.re server and making sure the output matches the tests/reference.data.