UNPKG

@nodesecure/scanner

Version:

A package API to run a static analysis of your module's dependencies.

13 lines 510 B
import type Config from "@npmcli/config"; import { type TokenStore } from "../types.ts"; export declare class RegistryTokenStore implements TokenStore { #private; constructor(config: Config | undefined, tokenFromEnv: string | undefined, npmRcEntries?: Record<string, string>); get(registry: string): string | undefined; getConfig(registry: string): { [x: string]: string | undefined; }; private getTokenKey; private getKey; } //# sourceMappingURL=RegistryTokenStore.d.ts.map