Wondering what’s next for npm?Check out our public roadmap! »

    @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
      }
    ];

    Install

    npm i @aeonrush/ngx-pathmatcher

    DownloadsWeekly Downloads

    5

    Version

    11.0.0

    License

    MIT

    Unpacked Size

    8.82 kB

    Total Files

    9

    Last publish

    Collaborators

    • avatar