Express Router Dependency Graph Versions Save

A static code analysis tool that creates a dependency graph for express routing.

v3.0.3

9 months ago

v3.0.2

9 months ago

Bug Fixes

v3.0.1

9 months ago

Bug Fixes

v3.0.0

9 months ago

What's Changed

Breaking Changes

New Usage

Pass glob to check router!

Usage
  $ express-router-dependency-graph [input]

Options
  --cwd                   [Path:String] current working directory. Default: process.cwd()
  --rootBaseUrl           [Path:String] if pass it, replace rootDir with rootDirBaseURL in output.
  --format                ["json" | "markdown"] output format. Default: markdown

Examples
  # analyze all ts files in src directory
  $ express-router-dependency-graph "src/**/*.ts"
  # analyze all ts files in src directory and output json
  $ express-router-dependency-graph "src/**/*.ts" --format=json
  # analyze all js and files in src directory
  $ express-router-dependency-graph "src/**/*.ts" "src/**/*.js"
  # change rootDir to rootDirBaseURL to output
  $ express-router-dependency-graph "src/**/*.ts" --rootBaseUrl="https://github.com/owner/repo/tree/master/src"
  # include node_modules
  $ express-router-dependency-graph "src/**/*.ts" --noDefaultExcludes

Full Changelog: https://github.com/azu/express-router-dependency-graph/compare/v2.0.1...v3.0.0

v2.0.0

1 year ago

What's Changed

Breaking Changes

Full Changelog: https://github.com/azu/express-router-dependency-graph/compare/v1.1.3...v2.0.0

v1.1.3

1 year ago

Bug Fixes

v1.1.2

1 year ago

v1.1.1

2 years ago

Bug Fixes

  • do not follow node_modules by default (97a55f1)

Features

v1.1.0

2 years ago

Features