Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.34 KB

README.md

File metadata and controls

47 lines (33 loc) · 1.34 KB
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.