File size: 1,332 Bytes
1df763a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# webpack-cli info

[![NPM Downloads][downloads]][downloads-url]

> **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

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

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

```

## Usage

```bash
#npx
npx webpack info [options]

#global installation
webpack info [options]

```

### Args / Flags

#### Output format

| 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_

#### Options

| Flag        | Description                                | Type    |
| ----------- | ------------------------------------------ | ------- |
| `--help`    | Show help                                  | boolean |
| `--version` | Show version number of `@webpack-cli/info` | boolean |

[downloads]: https://img.shields.io/npm/dm/@webpack-cli/info.svg
[downloads-url]: https://www.npmjs.com/package/@webpack-cli/info