Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

url-fns

ehmpathy270MIT1.2.1TypeScript support: included

Easily define and manipulate urls with relative paths, query parameters, and path parameters

url, uri, query, parameter, params, query-params, query-param, queryparams, queryparam, path-params, path-param, path, relative, absolute, update, modify, create

readme

url-fns

changelog

Changelog

1.2.1 (2023-08-16)

Bug Fixes

  • origin: support hyphens in origins (5c9613c)
  • practs: bump best practs for faster cicd (773e50b)

1.2.0 (2022-09-14)

Features

  • update: enable updating the origin of a url (2c83ff8)

1.1.2 (2022-09-14)

Bug Fixes

  • paths: ensure paths relative to root are evaluated correctly (c10eee8)

1.1.1 (2022-04-14)

Bug Fixes

  • origin: support ports defined in origins (ecdbd57)

1.1.0 (2022-04-12)

Features

1.0.4 (2022-02-24)

Bug Fixes

  • queryparams: correctly decode aliased spaces (009f40d)

1.0.3 (2022-01-21)

Bug Fixes

  • queryparams: ensure to encode and decode special chars in query params (a4f4045)

1.0.2 (2022-01-13)

Bug Fixes

  • parse: ensure urls without query strings are parseable (d566b56)

1.0.1 (2022-01-11)

Bug Fixes

  • dep: use window.URL if present (da9f9c5)

1.0.0 (2022-01-11)

Features

  • init: initialize lib, expose createUrl, updateUrl, parseUrl functions (239333b)