Skip to content
This repository has been archived by the owner on Oct 4, 2020. It is now read-only.

randing89/ngrequire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#ngrequire

Build Status Coverage Status Dependency Status

A utility to analyse angular dependencies

#Usage

##update(moduleSourceBase);

  • moduleSourceBase: Glob-like file path array. Should contains all your angular modules, providers etc..
return {
  success: ['successed file list'],
  skipped: ['skipped file list (due to caching)']
}

##getMeta(path);

  • path: Get file meta for given path
return {
  moduleName: 'Name of the angular module',
  loadedFiles: ['List of required file (if using commonjs way)'],
  injectedProviders: ['Provider list being injected'],
  dependencies: ['Module dependencies'],
  namedProviders: ['All provider names defeind in this module (factory, service etc)'],
  providerTypes: ['All provider types defined in this module']
}

About

A utility to analyse Angular dependencies

Resources

Stars

Watchers

Forks

Packages

No packages published