@jsenv/href
Version:
url helpers not relying on URL constructor
10 lines (9 loc) • 714 B
JavaScript
export { hrefToOrigin } from "./src/hrefToOrigin/hrefToOrigin.js"
export { hrefToPathname } from "./src/hrefToPathname/hrefToPathname.js"
export { hrefToScheme } from "./src/hrefToScheme/hrefToScheme.js"
export { pathnameIsInside } from "./src/pathnameIsInside/pathnameIsInside.js"
export { pathnameToDirname } from "./src/pathnameToDirname/pathnameToDirname.js"
export { pathnameToExtension } from "./src/pathnameToExtension/pathnameToExtension.js"
export { pathnameToRelativePath } from "./src/pathnameToRelativePath/pathnameToRelativePath.js"
export { ressourceToPathname } from "./src/ressourceToPathname/ressourceToPathname.js"
export { ressourceToSearch } from "./src/ressourceToSearch/ressourceToSearch.js"