uri-path-manager
TypeScript icon, indicating that this package has built-in type declarations

3.1.0 • Public • Published

Introduction

This project provides simple functions for working with paths.

  const myPathManager = new PathManager()

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

  const pathContainsLogin = myPathManager.pathContains("login")

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

The Ministry of Technology Open Source Products

Welcome to The Ministry of Technology open source products. All open source Ministry of Technology products are distributed under the MIT License for maximum re-usability. Our other open source repositories can be found here...

Where can I get it?

You can download the package for this project from any of the following package managers...

Contribution guidelines

If you would like to contribute to the project, please contact me.

Who do I talk to?

Package Sidebar

Install

npm i uri-path-manager

Weekly Downloads

9

Version

3.1.0

License

MIT

Unpacked Size

10.2 kB

Total Files

7

Last publish

Collaborators

  • ministryotech