Socket
Socket
Sign inDemoInstall

@webpack-cli/info

Package Overview
Dependencies
120
Maintainers
3
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @webpack-cli/info

Outputs info about system and webpack config


Version published
Weekly downloads
5.8M
increased by1.58%
Maintainers
3
Install size
3.64 kB
Created
Weekly downloads
 

Package description

What is @webpack-cli/info?

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.

What are @webpack-cli/info's main functionalities?

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

Other packages similar to @webpack-cli/info

Readme

Source

webpack-cli info

NPM Downloads

Note

This package is used by webpack-cli under-the-hood and is not intended for installation

Description

This package returns a set of information related to the local environment.

Installation

#npm
npm i -D @webpack-cli/info

#yarn
yarn add -D @webpack-cli/info

Usage

#npx
npx webpack info [options]

#global installation
webpack info [options]

Args / Flags

Output format
FlagDescriptionType
-o, --output < json or markdown >To get the output in a specified formatstring
-a, --additional-package <value...>Adds additional packages to the outputstring

Not supported for config

Options
FlagDescriptionType
--helpShow helpboolean
--versionShow version number of @webpack-cli/infoboolean

FAQs

Last updated on 04 Jun 2023

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc