UNPKG

telefunc

Version:

Remote functions. Instead of API.

5 lines (4 loc) 120 B
export { getUrlPathname }; function getUrlPathname(url) { return new URL(url, 'http://fake-domain.com').pathname; }