@sswahn/cookie
Advanced tools
Comparing version 1.0.0-beta.1 to 1.0.0-beta.2
{ | ||
"name": "@sswahn/cookie", | ||
"version": "1.0.0-beta.1", | ||
"version": "1.0.0-beta.2", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "A JavaScript utility for efficiently managing browser cookies.", |
@@ -6,3 +6,4 @@ # Cookie | ||
Import library | ||
Import library. | ||
```javascript | ||
@@ -14,3 +15,3 @@ import cookie from '@sswahn/cookie' | ||
To retrieve a cookie by name: | ||
Retrieve a cookie by name. | ||
@@ -23,3 +24,3 @@ ```javascript | ||
To set a cookie, with optional expiration argument (a numeric value representing the lifetime of the cookie in seconds): | ||
Set a cookie, with optional expiration argument (a numeric value representing the lifetime of the cookie in seconds). | ||
@@ -30,5 +31,5 @@ ```javascript | ||
### Remove A Cookie | ||
### Remove Cookie | ||
To remove a cookie: | ||
Remove a cookie. | ||
@@ -39,3 +40,3 @@ ```javascript | ||
## Licence | ||
## License | ||
Cookie is [MIT Licensed](https://github.com/sswahn/cookie/blob/main/LICENSE) |
38
3592