cookie-browser

1.0.0 • Public • Published

cookie-browser

Bower version

Installation

npm install cookie-browser --save

or

bower install cookie-browser --save

Quick Usage

$cookie.set(cookieName, cookieValue)
$cookie.set('foo', 'var')
 
$cookie.get(cookieName);
$cookie.get('foo')
// returns 'bar'
 
$cookie.remove(cookieName);
$cookie.remove('foo');

Full Usage

$cookie.set(cookieName, cookieValue, 'Fri, 31 Dec 9999 23:59:59 GMT' {UTC Format}, path, domain, secure)

Readme

Keywords

Package Sidebar

Install

npm i cookie-browser

Weekly Downloads

12

Version

1.0.0

License

ISC

Last publish

Collaborators

  • jgermade