New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ngarch-dev

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngarch-dev

Angular architecture tool

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

ngarch-dev

Install ngArch(Angular application architecture tool) as development dependency.

Description

NgArch is an Angular application architecture tool, analyzing the static structure of the Angular application and visually displaying the modules, components, services and data models in multiple diagrams.

  • Activity Diagram/Application Activity Diagram(Architecture View)
  • Use Application Activity Diagram to illustrate the application activity and refer to the Route(s), NgModules and Components involved in the execution of the views.

    It focuses on 1) routes eager and lazy loading flow and 2)view hierarchy(Component's templates and views). It describes the application activity from the app routes to the component views( component templates and its rendered components).

    The activity diagram starts from one NgModule through its routes. Then, shows component hierarchy base on component's template(showing what and how to render component's view)

  • Service Dependency Diagram(Future feature)
  • Uses service dependency injection tree to illustrate the service dependency relationships.

  • Structure Diagram
  • Apply to:(Application/NgModule Metadata/Component Template Render)
    Showing the structure of NgModule and Component, exposing the whole/part relationship of NgModule and Component.
    • To show NgModule what it includes and provides based on NgModule's metadata
    • To show the component's hierarchy based on component template
    Application Structure Diagram starts from AppModule to show complete static application structure.

  • Class Visualizer
  • Apply to:(NgModuleComponentServiceDirectivePipe)
    Showing the class metadata properties, constructor parameters, attributes and methods.

ngArch Architecture Diagrams

ngArch Architecture



Activity Diagram & Structure Diagram(ngArch architecture)



ngArch Module Overview



ngArch PonentDiagramModule structure



Usage

  • install ngarch-dev to an Angular project
npm install ngarch-dev --save-dev
  • add launch script to package.json
"scripts": {
  ...
  "ngarch": "node node_modules/ngarch-server/server",
  ...
}
  • start ngArch server
npm run ngarch
  • access ngArch
In browser, enter 'http://localhost:3000'

License

MIT

Keywords

Angular

FAQs

Package last updated on 02 Aug 2019

Did you know?

Socket

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