1.0.0 • Published 4 years ago
@orioro/expression-url v1.0.0
expressionUrl
npm install @orioro/expression-url
yarn add @orioro/expression-url
API Docs
$url(input, base)
$urlParse(url)
$urlMatches(criteriaByPath, url)
$urlSet(input, url)
URL_EXPRESSIONS
serializableSearchParams(searchParams)
serializableURLObject(url)
$url(input, base)
input
{String | URLObjectInput}base
{String}- Returns: {URL}
$urlParse(url)
url
{URL}- Returns: {SerializableURLObject}
$urlMatches(criteriaByPath, url)
criteriaByPath
{Object}url
{URL}- Returns: {Boolean}
$urlSet(input, url)
input
{URLObjectInput}url
{URL}- Returns: {URL}
URL_EXPRESSIONS
serializableSearchParams(searchParams)
searchParams
{URLSearchParams}- Returns: {SerializableSearchParams}
serializableURLObject(url)
https://developer.mozilla.org/en-US/docs/Web/API/URL
url
{Whatwg URL}- Returns: {SerializableURLObject}