mmm-cookies
v1.0.2
Published
A JavaScript module to set and get cookies in the browser.
Downloads
6
Maintainers
Readme
Mmm Cookies
A JavaScript module to set and get cookies in the browser.
Install
npm install mmm-cookies --save-dev
Use
var cookie = require('mmm-cookies');
// set a cookie
cookie.set('cookieName', 'cookieValue');
// get a cookie value
cookie.get('cookieName');
Release History
- 1.0.2: Add domain support.
- 1.0.1: Update documentation.
- 1.0.0: Initial release.
Contributing
- Fork it
- Run
npm install
- Run Grunt watch
grunt watch
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am "Add some feature"
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
License
MIT © Ryan Burgess