Socket
Book a DemoInstallSign in
Socket

@arcjet/headers

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcjet/headers

Arcjet extension of the Headers class

1.0.0-beta.10
latest
Source
npmnpm
Version published
Weekly downloads
12K
-20.48%
Maintainers
3
Weekly downloads
 
Created
Source
Arcjet Logo

@arcjet/headers

npm badge

Arcjet extension of the Headers class.

What is this?

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.

When should I use this?

You should not use this but use Headers or plain objects instead. This package matches our current needs which are likely different from yours.

Install

This package is ESM only. Install with npm in Node.js:

npm install @arcjet/headers

Use

import ArcjetHeaders from "@arcjet/headers";

const headers = new ArcjetHeaders({ abc: "123" });

console.log(headers.get("abc")); // => "123"

License

Apache License, Version 2.0 © Arcjet Labs, Inc.

Keywords

arcjet

FAQs

Package last updated on 05 Aug 2025

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.