
Security News
Federal Government Rescinds Software Supply Chain Mandates, Makes SBOMs Optional
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.
@dalisoft/cookie
Advanced tools
Cookie utility for everyone
Note: Requires Node.js framework Response and Request instance for some methods
We recommend install via npm because of it's cache and flat node modules tree
npm i @dalisoft/cookie
then you able to import to Node.js/Browser easily
// Node.js
const Cookie = require("@dalisoft/cookie");
// Browser
// window.Cookie OR Cookie
// ES6
import Cookie from "@dalisoft/cookie";
(str: string): object - Converts cookie string into object(str: object): string - Converts cookie object into string(headers: Req.Headers): object - Get cookie from header cokie field(res: Response, key: string, value: any, options?: object): void - Sets cookie(res: Response, key: string, options?: object): void - Remove cookieapp.get("/delete_cookie", (req, res) => {
Cookie.set(res, "deleted", true);
Cookie.remove(res, "public_cookie");
});
MIT
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
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.

Research
/Security News
A Chrome extension claiming to hide Amazon ads was found secretly hijacking affiliate links, replacing creators’ tags with its own without user consent.