check-ethereum-scanner
Version:
Safety checks for new Ethereum tokens
15 lines (14 loc) • 378 B
TypeScript
/// <reference types="node" />
import { URL } from 'node:url';
export interface URLOptions {
href?: string;
protocol?: string;
host?: string;
hostname?: string;
port?: string | number;
pathname?: string;
search?: string;
searchParams?: unknown;
path?: string;
}
export default function optionsToUrl(origin: string, options: URLOptions): URL;