1.0.0-alpha.28 • Published 9 months ago

@arcjet/headers v1.0.0-alpha.28

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

@arcjet/headers

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.