0.3.0 • Published 5 years ago

angular-inject-graph v0.3.0

Weekly downloads
3
License
-
Repository
github
Last release
5 years ago

Angular Inject Graph

This project is a node utility that analyses an angular project and exports a graph with the project's architecture: modules, controllers, directives, components and filters.

How to use it:

  1. Require the module:

    var angularInjectGraph = require('angular-inject-graph'),
    ])
  2. Call it with your project code:

    var deps = angularInjectGraph([
      { id: 'file1.js', text: '<angular code here in a string>' },
      { id: 'file2.js', text: '<angular code here in a string>' }
    ])

It was designed with grunt in mind. Use it with grunt-angular-modules-graph.

  1. Do whatever you want with the resulted graph object

About

This project was originally forked from , extracted from @carlo-colombo's angular-modules-graph, then forked again from @lucalanca's angular-architecture-graph

License:

MIT