简体   繁体   中英

what is the best way to get list of NPM packages from GitHub Repositories

I would like to list all NPM packages available in a repository on GitHub and use code parsing to get just needed information of the packages using PowerShell.

How do I identify these packages?. if they are in packages.json file, there seems to be many of the "packages.json" file name in some repos.

You can see multiple package.json files are part of nested dependencies, as seen here .

If you somehow had to see those dependencies (direct and indirect) as one package.json , that is what json-merge or package-merge are for.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM