Skip to content

reasonml-community/bs-cookie-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bs-cookie-parser

cookie-parser binding in ReasonML

Example

let app = Express.express();

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

App.listen(app, ~port=3000);

Installation

npm install --save bs-cookie-parser bs-express Add bs-cookier-parser and bs-express to bsconfig.json. For example:

{
  ...
  "bs-dependencies": [
    "bs-express",
    "bs-cookie-parser"
  ]
}

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.

About

cookie-parser binding in ReasonML

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •