New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sswahn/cookie

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sswahn/cookie - npm Package Compare versions

Comparing version 1.0.0-beta.1 to 1.0.0-beta.2

2

package.json
{
"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)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc