Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
HTTP cookie parser and serializer for javascript
$ npm install cookiex --save
import and use it like below:
const cookiex = require('cookiex');
cookiex.set('name', 'obama', 3, 'baidu.com', '/', false);
cookie.get('name'); // return 'obama'
cookie.remove('name') // unset cookie
or if you import it as script link:
<script src='./index.js'></script>
cookiex
will be expose in global scope.
cookiex.set('name', 'obama', 3, 'baidu.com', '/', false);
cookie.get('name'); // return 'obama'
cookie.remove('name') // unset cookie
const cookiex = require('cookiex');
name
the cookie name you want parse.name
Cookie name.value
Cookie value.expire
Specifies the number (in days) to be the value for the Max-Age Set-Cookie attribute.domain
Specifies the value for the Domain Set-Cookie attribute. By default, no domain is set, and most clients will consider the cookie to apply to only the current domain.path
Specifies the value for the Path Set-Cookie attribute.secure
Specifies the boolean value for the [Secure Set-Cookie attribute],when setting this to true, as compliant clients will not send the cookie back to the server in the future if the browser does not have an HTTPS connection.FAQs
HTTP cookie parser and serializer for javascript
The npm package cookiex receives a total of 2 weekly downloads. As such, cookiex popularity was classified as not popular.
We found that cookiex demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.