All Projects → politie → ngmodule-viz

politie / ngmodule-viz

Licence: Apache-2.0 License
Visualize the dependencies between the NgModules in your Angular 2+ application

Programming Languages

HTML
75241 projects
typescript
32286 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to ngmodule-viz

ngx-redux-core
The modern redux integration for Angular 6+
Stars: ✭ 32 (-8.57%)
Mutual labels:  angular2, ngmodule, angular4
ionic-uuchat
基于ionic3,angular4的实时聊天app,兼容web端。该项目只是前端部分,所有数据需要请求后端服务器,需要配套express-uuchat-api使用。
Stars: ✭ 14 (-60%)
Mutual labels:  angular2, angular4
angular-landing-page
Beautiful Angular landing page with firebase, chat, poll, dynamic features/gallary, and nice animations/scrolling.
Stars: ✭ 43 (+22.86%)
Mutual labels:  angular2, angular4
angular-ninja
The way to be an Angular ninja
Stars: ✭ 44 (+25.71%)
Mutual labels:  angular2, angular4
angular4-paystack
💵 An angular2+ module for paystack transactions
Stars: ✭ 51 (+45.71%)
Mutual labels:  angular2, angular4
kathisto
📦 Server-side rendering for Javascript based web-apps
Stars: ✭ 17 (-51.43%)
Mutual labels:  angular2, angular4
angular-rollbar-source-maps
Angular 2+ implementation to upload sourcemaps to Rollbar
Stars: ✭ 17 (-51.43%)
Mutual labels:  angular2, angular4
Angular4-seed
Angular 4 Seed for Angular Forms
Stars: ✭ 37 (+5.71%)
Mutual labels:  angular2, angular4
angular-particle
Particle.js rewritted for Angular2/4
Stars: ✭ 58 (+65.71%)
Mutual labels:  angular2, angular4
ng2-timezone-selector
A simple Angular module to create a timezone selector using moment-timezone.
Stars: ✭ 12 (-65.71%)
Mutual labels:  angular2, angular4
angular2-cookie-law
Angular2+ component that provides a banner to inform users about cookie law
Stars: ✭ 38 (+8.57%)
Mutual labels:  angular2, angular4
odata-v4-ng
OData service for Angular
Stars: ✭ 27 (-22.86%)
Mutual labels:  angular2, angular4
nativescript-whatsapp-template
NativeScript Template Similar to WhatsApp
Stars: ✭ 61 (+74.29%)
Mutual labels:  angular2, angular4
ncg-crud-ngx-md
Angular 4+ Material Design CRUD/Admin app by NinjaCodeGen http://DNAfor.NET
Stars: ✭ 36 (+2.86%)
Mutual labels:  angular2, angular4
ng-toggle
Bootstrap-styled Angular Toggle Component
Stars: ✭ 14 (-60%)
Mutual labels:  angular2, angular4
ng4-stompjs-demo
A sample using Angular4, Angular CLI and @stom/ng2-stompjs
Stars: ✭ 20 (-42.86%)
Mutual labels:  angular2, angular4
angular-material-datatransfer
A HTML5 datatransfer UI for handling upload and download of multiple simultaneous files.
Stars: ✭ 13 (-62.86%)
Mutual labels:  angular2, angular4
tcome-frontend
NodeJS&Angular4 BLOG
Stars: ✭ 49 (+40%)
Mutual labels:  angular2, angular4
spring-websocket-angular6
Example for using Spring Websocket and Angular with Stomp Messaging
Stars: ✭ 18 (-48.57%)
Mutual labels:  angular2, angular4
angular-adal-quickstart
Quickstart/Seed for using Microsoft's AAD Authentication with Angular (2/4).
Stars: ✭ 22 (-37.14%)
Mutual labels:  angular2, angular4

NgModules visualization

npm version

Commandline tool to visualize the dependencies between the @NgModules in your Angular 2+ application.

Usage

  • Install the tool: npm install ngmodule-viz -g.

Generate dependency information

  • Run ngmodule-viz <input> <output>, where:
    • <input> points to your Angular 2+ app (e.g. /Users/johndoe/ui-dashboard)
    • <output> to the dir where the visualization should be placed (e.g. your current working dir)
  • The tool outputs a ngmodules.json file with all the dependencies between your NgModules. It also outputs an index.html for visualising these dependencies.

Visualize dependency information

  • Start a http-server (npm install -g http-server followed by http-server) in your <output> dir.
  • Open http://localhost:8080/
  • Enjoy the graph of your NgModules!

Example

Let's visualize the NgModules in this angular2-realworld-example-app.

  • git clone https://github.com/gothinkster/angular2-realworld-example-app
  • ngmodule-viz angular2-realworld-example-app/ .
  • http-server
  • open http://localhost:8080/ and you'll see this:

ngmodule-viz demo

Jenkins integration

  • Run ngmodule-viz in your Jenkins pipeline
  • Use the HTML publisher plugin to publish the resulting html file
  • To avoid CORS issues disable Jenkins CSP using the Jenkins CLI: System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", ""). WARNING: the latter assumes you have otherwise secured your Jenkins instance. Don't execute this on public instances.

Building

  • Clone this project
  • Install typescript: npm install -g typescript
  • Run npm run build to compile the typescript to javascript. Or npm run build:watch to keep the typescript compiler running during development.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].