@arcjet/headers
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-alpha.32 • Public • Published
Arcjet Logo

@arcjet/headers

npm badge

Arcjet extension of the Headers class.

Installation

npm install -S @arcjet/headers

Example

import ArcjetHeaders from "@arcjet/headers";

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

console.log(headers.get("abc"));

Considerations

This package will filter the cookie header and all headers with keys or values that are not strings, such as { "abc": undefined }.

License

Licensed under the Apache License, Version 2.0.

Readme

Keywords

none

Package Sidebar

Install

npm i @arcjet/headers

Homepage

arcjet.com

Weekly Downloads

5,028

Version

1.0.0-alpha.32

License

Apache-2.0

Unpacked Size

18.1 kB

Total Files

5

Last publish

Collaborators

  • blaine-arcjet
  • davidmytton