npm-get-packages
v1.0.2
Published
Scan directories to find out all of dependencies and devDependencies of npm packages
Downloads
3
Readme
Welcome to npm-get-packages 👋
Scan directories to find out all of dependencies and devDependencies of npm packages
To run
npx npm-get-packages -p ~/Documents/Projects/npm-get-packages
Results
info: Found npm-get-packages in /Users/mikolajsykula/Documents/Projekty/Programowanie/npm-get-packages} with 2 dependencies and 14 devDependencies
info: Found 2 dependencies and 14 devDependencies
{
"dependencies": [
"commander",
"winston"
],
"devDependencies": [
"@types/jest",
"@types/node",
"@typescript-eslint/eslint-plugin",
"@typescript-eslint/parser",
"eslint",
"eslint-config-prettier",
"eslint-plugin-node",
"eslint-plugin-prettier",
"jest",
"lint-staged",
"prettier",
"ts-jest",
"ts-node",
"typescript"
]
}
To run with out
npx npm-get-packages -p ~/Documents/Projects/npm-get-packages ./
To install
npm i -g npm-get-packages
Documentation
Usage: npm-get-packages [options]
NPM get packages is a tool to get all dependencies and devDependencies from a directory
Author: xSyki
Example: npm-get-packages -p ~/Documents/Projects/npm-get-packages ./
Options:
-V, --version output the version number
-p, --path <path> Specify start directory of scan (default: "/")
-o, --out <out> Specify out json direction
-h, --help display help for command
Contribute
All contributions are welcome. General instructions on how to contribute are in CONTRIBUTING.