npm

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

1.0.0-alpha.28 • 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

3,231

Version

1.0.0-alpha.28

License

Apache-2.0

Unpacked Size

20.7 kB

Total Files

6

Last publish

Collaborators

  • blaine-arcjet
  • davidmytton