Interface OsvClientOptions

Constructor options for OsvClient.

interface OsvClientOptions {
    baseUrl?: string;
    token?: string;
}

Properties

Properties

baseUrl?: string

Base URL for the OSV API (default: 'https://api.osv.dev'). Override to point to a self-hosted or mirrored instance.

token?: string

Bearer token for authenticated requests. Not required for public read operations.