
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@webpack-cli/info
Advanced tools
The @webpack-cli/info package is a command-line utility that provides information about the system environment, and the configuration and dependencies of a webpack project. It is useful for debugging and sharing environment details with others, such as when seeking help with webpack-related issues.
Environment Information
This command prints environment information like the operating system, node.js version, npm/yarn version, installed webpack version, and other details that might be relevant for debugging or issue reporting.
npx webpack info
Project Information
This command provides information specific to the webpack project, such as the webpack configuration and the versions of webpack-related packages installed in the project.
npx webpack info --project
Output as JSON
This command outputs the information in JSON format, which can be useful for automated parsing or integration with other tools.
npx webpack info --json
Custom Output
This command allows the user to specify the output format, such as markdown, which can be used for creating reports or documentation.
npx webpack info --output markdown
The envinfo package is similar to @webpack-cli/info in that it provides detailed information about the development environment. It is more general-purpose and not specific to webpack, offering information on system details, browsers, binaries, npm packages, and more.
While not directly similar to @webpack-cli/info, webpack-bundle-analyzer provides insights into the contents of webpack bundles. It helps in understanding which modules take up space and how they are interconnected, which is useful for optimization purposes.
Note
This package is used by webpack-cli under-the-hood and is not intended for installation
This package returns a set of information related to the local environment.
#npm
npm i -D @webpack-cli/info
#yarn
yarn add -D @webpack-cli/info
#npx
npx webpack info [options]
#global installation
webpack info [options]
Flag | Description | Type |
---|---|---|
-o, --output < json or markdown > | To get the output in a specified format | string |
-a, --additional-package <value...> | Adds additional packages to the output | string |
Not supported for config
Flag | Description | Type |
---|---|---|
--help | Show help | boolean |
--version | Show version number of @webpack-cli/info | boolean |
FAQs
Outputs info about system and webpack config
We found that @webpack-cli/info demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.