Skip to content

cybrown/typescript-dependency-util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typescript-dependency-util

Build Status

Features

  • Sort typescript files in order of dependency.
  • Find exported elements (classes, modules, variables) in typescript files.
  • Find usage of exported elements in files.
  • Create a dependency graph.

Installation

npm install --save-dev typescript-dependency-util

Usage

var tdu = require('typescript-dependency-util');
var glob = require('glob');

var sourceFiles = glob.sync('./src/**/*.ts');
var sortedArrayOfTypescriptFiles = tdu.createSortedFileList(sourceFiles);

About

Utility for dependencies between typescript files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published