URL Battery Pack

The URL battery pack contains the following types:

Url

import { Url } from 'cmd-ts/batteries/url';

Resolves into a URL class. Fails if there is no host or protocol.

HttpUrl

import { HttpUrl } from 'cmd-ts/batteries/url';

Resolves into a URL class. Fails if the protocol is not http or https