
Security News
PolinRider: North Korea-Linked Supply Chain Campaign Expands Across Open Source Ecosystems
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.
@arcjet/headers
Advanced tools
@arcjet/headersArcjet extension of the Headers class.
This is an internal utility to help us deal with Headers.
This exists to prevent the cookie header from being set and non-string values
from being set.
You should not use this but use Headers or plain objects instead.
This package matches our current needs which are likely different from yours.
This package is ESM only. Install with npm in Node.js:
npm install @arcjet/headers
import { ArcjetHeaders } from "@arcjet/headers";
const headers = new ArcjetHeaders({ abc: "123" });
console.log(headers.get("abc")); // => "123"
This package exports the identifier
ArcjetHeaders.
The default export is ArcjetHeaders.
This package exports no TypeScript types.
new ArcjetHeaders([init])Creates a new ArcjetHeaders instance. We use this internally to prevent
the cookie header from being set and to ensure only string values are used.
init (Headers | Array<[string, string]> | Record<string, Array<string> | string | undefined>, optional)
— initial headers to setAn ArcjetHeaders instance that extends the standard Headers class.
FAQs
Arcjet extension of the Headers class
The npm package @arcjet/headers receives a total of 82,834 weekly downloads. As such, @arcjet/headers popularity was classified as popular.
We found that @arcjet/headers demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.

Security News
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.

Research
/Security News
Malicious Chrome and Firefox extensions posed as free VPNs while stealing clipboard data through later extension updates.