1.0.2 • Published 4 years ago

repdeps v1.0.2

Weekly downloads
59
License
MIT
Repository
github
Last release
4 years ago

repdeps Build Status codecov

Dependency transformer for madge. Replaces paths in JSON dependency structures.

Installation

$ npm -g install repdeps

Examples: Piping madge output through repdeps

Convert all path/... dependencies to other.

$ madge --json app.js | repdeps -p 'path' -r 'other' | madge --stdin

Convert all path/... dependencies to path. (Replacement defaults to parent.)

$ madge --json app.js | repdeps -p 'path' | madge --stdin

Replace all multipart paths with their first component.

$ madge --json app.js | repdeps -x '([^\/]*).*' -r '$1' | madge --stdin
1.0.2

4 years ago

1.0.0

5 years ago

0.3.4

6 years ago

0.3.3

6 years ago

0.3.2

6 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.1

7 years ago