Socket
Socket
Sign inDemoInstall

ng-route-discoverer

Package Overview
Dependencies
59
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ng-route-discoverer

[![Build Status](https://api.travis-ci.org/kevinphelps/ng-route-discoverer.svg?branch=master)](https://travis-ci.org/kevinphelps/ng-route-discoverer) [![codecov](https://codecov.io/gh/kevinphelps/ng-route-discoverer/branch/master/graph/badge.svg)](https:


Version published
Maintainers
1
Install size
735 kB
Created

Readme

Source

ng-route-discoverer

Build Status codecov npm version

ng-route-discoverer traverses an Angular project and discovers all routes, including lazy routes (loadChildren).

Installation

npm install --save-dev ng-route-discoverer or yarn add --dev ng-route-discoverer

Usage

CLI

ng-route-discoverer --project ./path/to/tsconfig.app.json

Sample output:

/
/app-shell
/errors/not-found
/errors/internal-server-error
/feature
/feature/feature-page
/**

API

import { getPaths, getProjectRoutes } from 'ng-route-discoverer';

const routes = getProjectRoutes('./src/tsconfig.app.json'); // tree
const paths = getPaths(routes);

FAQs

Last updated on 02 Feb 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc