tiny-cookie
Advanced tools
Comparing version 0.5.3 to 0.5.4
{ | ||
"name": "tiny-cookie", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"main": "tiny-cookie.js", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/Alex1990/tiny-cookie", |
{ | ||
"name": "tiny-cookie", | ||
"version": "0.5.4", | ||
"description": "A tiny cookie manipulation plugin", | ||
"version": "0.5.3", | ||
"main": "tiny-cookie.js", | ||
"author": { | ||
@@ -6,0 +7,0 @@ "name": "Alex Chao", |
@@ -43,3 +43,3 @@ # tiny-cookie | ||
Set a cookie with encoding the value, using `encodeURIComponent`. The `options` parameter is an object. And its property can be a valid cookie option, such as `path`, `domain`, `expires`/`max-age` or `secure`. For example, you can set the expiration: | ||
Set a cookie with encoding the value, using `encodeURIComponent`. The `options` parameter is an object. And its property can be a valid cookie option, such as `path`(default: root path `/`), `domain`, `expires`/`max-age` or `secure`. For example, you can set the expiration: | ||
@@ -46,0 +46,0 @@ ```js |
116924