
Company News
Socket Has Acquired Secure Annex
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.
@types/auth-header
Advanced tools
npm install --save @types/auth-header
This package contains type definitions for auth-header (https://github.com/izaakschroeder/auth-header).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/auth-header.
// Type definitions for auth-header 1.0
// Project: https://github.com/izaakschroeder/auth-header
// Definitions by: ForbesLindesay <https://github.com/ForbesLindesay>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
type Params =
| Array<[string, string | ReadonlyArray<string>]>
| { [key: string]: string | ReadonlyArray<string> };
export { Params };
export interface TokenOptions {
scheme: string;
token?: string | undefined;
params?: Params | undefined;
}
export interface Token {
scheme: string;
params: { [key: string]: string | string[] };
token: null | string | string[];
}
export function format(token: TokenOptions): string;
export function format(scheme: string, token?: string, params?: Params): string;
export function parse(header: string): Token;
These definitions were written by ForbesLindesay.
FAQs
TypeScript definitions for auth-header
The npm package @types/auth-header receives a total of 8,992 weekly downloads. As such, @types/auth-header popularity was classified as popular.
We found that @types/auth-header demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Company News
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.

Research
/Security News
Socket is tracking cloned Open VSX extensions tied to GlassWorm, with several updated from benign-looking sleepers into malware delivery vehicles.

Product
Reachability analysis for PHP is now available in experimental, helping teams identify which vulnerabilities are actually exploitable.