UNPKG

@modern-js/module-tools-v2

Version:

The meta-framework suite designed from scratch for frontend-focused modern web development.

15 lines (14 loc) 357 B
import { URL } from 'url'; export interface URLOptions { href?: string; protocol?: string; host?: string; hostname?: string; port?: string | number; pathname?: string; search?: string; searchParams?: unknown; path?: string; } declare const _default: (origin: string, options: URLOptions) => URL; export default _default;