Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
node-modules-dependencies-extractor
Advanced tools
Extracts dependencies from the node_modules folder, to a reference format. This reference format is a JSON file containing arrays of objects with keys name and version.
Extracts dependencies from the node_modules folder of a Javascript project, to a reference format. This reference format is a JSON file containing arrays of objects with keys name and version.
The node_modules folder is assumed to have been generated by one of the following commands: npm install
or yarn install
.
Outputs the following files:
0.1.1, see CHANGELOG.md
In order to run this project, you should have installed:
Install globally:
npm install -g node-modules-dependencies-extractor
Or you could use it without installing by running:
npx node-modules-dependencies-extractor [options]
extract-nm-dependencies [options]
Flag | Alias | Functionality |
---|---|---|
--input [path] | -i | (mandatory) specifies path to the node_modules folder. |
--output [filename] | -o | (optional) Filename to which the list of dependencies (name+version) is written (json format). If the file already exists, it will be overwritten. Default value: dependencies_from_node_modules.json |
--verbose | Verbose output of commands and errors | |
--help | -h | Displays usage information |
--version | -v | Displays version number |
yarn extract-nm-dependencies -i ./test-data/node_modules_samples/siblings_no_nesting
Get the sources locally; in a command line, go to the root folder of this project and execute:
yarn install
yarn test
or
yarn coverage
Automatically enabled: standard
yarn lint
See CODEOWNERS
See MAINTAINERS.md
See CONTRIBUTING.md
See LICENSE.md
Sanda Contiu
FAQs
Extracts dependencies from the node_modules folder, to a reference format. This reference format is a JSON file containing arrays of objects with keys name and version.
The npm package node-modules-dependencies-extractor receives a total of 5 weekly downloads. As such, node-modules-dependencies-extractor popularity was classified as not popular.
We found that node-modules-dependencies-extractor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.