Skip to content

No idea why this doesn't exist but this CLI tool parses a package.json file and returns the entire dependency tree as json

License

Notifications You must be signed in to change notification settings

Static-Flow/js-dep-crawl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-dep-crawl

No idea why this doesn't exist but this CLI tool parses a package.json file and returns the entire dependency tree as json

Install

go install github.com/Static-Flow/js-dep-crawl

Usage

js-dep-crawl - Crawl JavaScript dependency trees

Usage:
  js-dep-crawl [flags]

Flags:
  -debug
        Enable debug logging
  -dev
        Include dev dependencies in the crawl
  -file string
        Path to package.json file (default "package.json")
  -peer
        Include peer dependencies in the crawl

Examples:
  js-dep-crawl
  js-dep-crawl -dev
  js-dep-crawl -file /path/to/package.json -dev -peer
  js-dep-crawl -debug
  js-dep-crawl -dev -debug

TODO Features

  • Support tags
  • Support private dependencies
  • outdated dependency check
  • Support "git... Git URLs as Dependencies"
  • Support "user/repo" style dependencies
  • Support local dependencies
  • Support "http://... URLs as Dependencies"
  • Support "npm:@scope/pkg@version Custom alias for a package"

About

No idea why this doesn't exist but this CLI tool parses a package.json file and returns the entire dependency tree as json

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages