
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
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 4 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.