This package has been deprecated

Author message:

Not maintained and probably not usable.

bs-cookie-session

0.1.1 • Public • Published

bs-cookie-session

Barebones BuckleScript-bindings for cookie-session to be used with bs-express

These bindings are currently very barebones, so feel free to contribute!

Getting started

Example

open Express;

let app = express();

App.use(
  app,
  CookieSession.make(
    ~name="name",
    ~keys=["key1", "key2"],
    ~secret="somesecret",
  ),
);

// etc

Installation

npm i -S bs-cookie-session

Configuring

Add bs-cookie-session as a dependency to your bsconfig.json

"bs-dependencies": [
  "bs-express",
  // other dependencies
],

License

MIT

Package Sidebar

Install

npm i bs-cookie-session

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

3.58 kB

Total Files

6

Last publish

Collaborators

  • lessp