Skip to content

fun-coder/dependency-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dependency Analyzer Build Status

Analyze file dependencies and imports

Watch the files

import { buildDM } from 'dependency-analyzer';

buildDM(appDir).then(dm => {

    // analyze dependencies and imports

    const node = dm.find(absolutedPath);

    node.dependencies // file dependencies;

    node.imports // file imports;

    dm.on('add', path => listener);
    dm.on('change', path => listener);
    dm.on('unlink', path => listener);
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published