Ministry of Technology
Show Menu

URI Path Manager

URI Path Manager
Created by Ministry
JavaScript (ES5)
Web, Library

This project provides simple functions for working with paths.

  const myPathManager = new PathManager()

  const currentUrl = myPathManager.href()
  const host =
  const path = myPathManager.path()

  const pathContainsLogin = myPathManager.pathContains("login")

  const pathIsLoginPage = myPathManager.pathIs("/login/internal")

It is dependent on the Window Wrapper project.

Visit us on GitHub