Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

rendr-cookies

0.0.3 • Public • Published

rendr cookies

right now only reading cookies works...

in therory, add the cookies module to your rendr app. Include the cookies module when compiling for client side, and you should be able to work with cookies either client side or server side

Hooking into app

var cookies = require("rendr-cookies");
 
module.exports = BaseApp.extend({
  cookies : cookies   
});

Using in app

// in a model or collection
this.app.cookies.get.call(this, "cookieName");

this will change

Install

npm i rendr-cookies

DownloadsWeekly Downloads

3

Version

0.0.3

License

MIT

Last publish

Collaborators

  • avatar