
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@djforth/cookie_mgmt_fp
Advanced tools
A small utility for managing cookies in the browser
npm install @djforth/cookie_mgmt_fp --save
Setup up and instance:
var CookieMgmt = require("@djforth/cookie_mgmt_fp");
var mycookie = CookieMgmt("my-cookie");
This will return a object with the following methods:
This will create the cookie "my-cookie" with a value of "foobar" and it will expire in 31 days
mycookie.createCookie("foobar", 31)
The cookie is read once the manage is instantiated, :
mycookie.getValue() //returns foobar
This will delete the cookie:
mycookie.deleteCookie()
If you discover any bugs, feel free to create an issue on GitHub. Please add as much information as possible to help us fixing the possible bug. We also encourage you to help even more by forking and sending us a pull request.
https://github.com/djforth/cookie_mgmt_fp/issues
If you'd like to contribute, cookie_mgmt_fp is written using babel in ES6.
Please make sure any additional code should be covered in tests (Jasmine using karma).
If you need to run the test please use:
npm test
or to rebuild the JS run:
npm run build
Adrian Stainforth (https://github.com/djforth)
cookie_mgmt_fp is an open source project falling under the MIT License. By using, distributing, or contributing to this project, you accept and agree that all code within the cookie_mgmt_fp project are licensed under MIT license.
FAQs
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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.