@aeonrush/ngx-pathmatcher
TypeScript icon, indicating that this package has built-in type declarations

11.0.0 • Public • Published

Angular path to regex UrlMatcher

Very small library that makes working with path in Angular Router a little easier to work with

Install

npm i @aeonrush/ngx-pathmatcher

How to use

import { customUrlMatcher } from '@aeonrush/ngx-pathmatcher';

const routes: Routes = [
  {
    path: '@:username',
    matcher: customUrlMatcher,
    component: UserComponent
  }
];

Readme

Keywords

Package Sidebar

Install

npm i @aeonrush/ngx-pathmatcher

Weekly Downloads

0

Version

11.0.0

License

MIT

Unpacked Size

8.82 kB

Total Files

9

Last publish

Collaborators

  • aeonrush