| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a6d50a1 commit cce95c4
470 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -29,6 +29,7 @@ If you're looking to manage multiple versions of **`node`** &/or **`npm`**, cons | |||
| 29 | 29 | * [**`volta`**](https://github.com/volta-cli/volta) | |
| 30 | 30 | * [**`nodenv`**](https://github.com/nodenv/nodenv) | |
| 31 | 31 | * [**`asdf-nodejs`**](https://github.com/asdf-vm/asdf-nodejs) | |
| 32 | + * [**`nvm-windows`**](https://github.com/coreybutler/nvm-windows) | ||
| 32 | 33 | ||
| 33 | 34 | ### Usage | |
| 34 | 35 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -85,13 +85,17 @@ Management of teams and team memberships is done with the `npm team` command. | |||
| 85 | 85 | ||
| 86 | 86 | <!-- AUTOGENERATED CONFIG DESCRIPTIONS START --> | |
| 87 | 87 | <!-- automatically generated, do not edit manually --> | |
| 88 | + <!-- see lib/utils/config/definitions.js --> | ||
| 88 | 89 | #### `registry` | |
| 89 | 90 | ||
| 90 | 91 | * Default: "https://registry.npmjs.org/" | |
| 91 | 92 | * Type: URL | |
| 92 | 93 | ||
| 93 | 94 | The base URL of the npm registry. | |
| 94 | 95 | ||
| 96 | + <!-- automatically generated, do not edit manually --> | ||
| 97 | + <!-- see lib/utils/config/definitions.js --> | ||
| 98 | + | ||
| 95 | 99 | #### `otp` | |
| 96 | 100 | ||
| 97 | 101 | * Default: null | |
@@ -103,6 +107,9 @@ when publishing or changing package permissions with `npm access`. | |||
| 103 | 107 | If not set, and a registry response fails with a challenge for a one-time | |
| 104 | 108 | password, npm will prompt on the command line for one. | |
| 105 | 109 | ||
| 110 | + <!-- automatically generated, do not edit manually --> | ||
| 111 | + <!-- see lib/utils/config/definitions.js --> | ||
| 112 | + | ||
| 106 | 113 | <!-- AUTOGENERATED CONFIG DESCRIPTIONS END --> | |
| 107 | 114 | ||
| 108 | 115 | ### See Also | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -37,13 +37,17 @@ your existing record. | |||
| 37 | 37 | ||
| 38 | 38 | <!-- AUTOGENERATED CONFIG DESCRIPTIONS START --> | |
| 39 | 39 | <!-- automatically generated, do not edit manually --> | |
| 40 | + <!-- see lib/utils/config/definitions.js --> | ||
| 40 | 41 | #### `registry` | |
| 41 | 42 | ||
| 42 | 43 | * Default: "https://registry.npmjs.org/" | |
| 43 | 44 | * Type: URL | |
| 44 | 45 | ||
| 45 | 46 | The base URL of the npm registry. | |
| 46 | 47 | ||
| 48 | + <!-- automatically generated, do not edit manually --> | ||
| 49 | + <!-- see lib/utils/config/definitions.js --> | ||
| 50 | + | ||
| 47 | 51 | #### `scope` | |
| 48 | 52 | ||
| 49 | 53 | * Default: the scope of the current project, if any, or "" | |
@@ -74,6 +78,9 @@ npm init --scope=@foo --yes | |||
| 74 | 78 | ``` | |
| 75 | 79 | ||
| 76 | 80 | ||
| 81 | + <!-- automatically generated, do not edit manually --> | ||
| 82 | + <!-- see lib/utils/config/definitions.js --> | ||
| 83 | + | ||
| 77 | 84 | <!-- AUTOGENERATED CONFIG DESCRIPTIONS END --> | |
| 78 | 85 | ||
| 79 | 86 | ### See Also | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -191,6 +191,7 @@ $ npm audit --audit-level=moderate | |||
| 191 | 191 | ||
| 192 | 192 | <!-- AUTOGENERATED CONFIG DESCRIPTIONS START --> | |
| 193 | 193 | <!-- automatically generated, do not edit manually --> | |
| 194 | + <!-- see lib/utils/config/definitions.js --> | ||
| 194 | 195 | #### `audit-level` | |
| 195 | 196 | ||
| 196 | 197 | * Default: null | |
@@ -199,6 +200,9 @@ $ npm audit --audit-level=moderate | |||
| 199 | 200 | The minimum level of vulnerability for `npm audit` to exit with a non-zero | |
| 200 | 201 | exit code. | |
| 201 | 202 | ||
| 203 | + <!-- automatically generated, do not edit manually --> | ||
| 204 | + <!-- see lib/utils/config/definitions.js --> | ||
| 205 | + | ||
| 202 | 206 | #### `dry-run` | |
| 203 | 207 | ||
| 204 | 208 | * Default: false | |
@@ -212,6 +216,9 @@ commands that modify your local installation, eg, `install`, `update`, | |||
| 212 | 216 | Note: This is NOT honored by other network related commands, eg `dist-tags`, | |
| 213 | 217 | `owner`, etc. | |
| 214 | 218 | ||
| 219 | + <!-- automatically generated, do not edit manually --> | ||
| 220 | + <!-- see lib/utils/config/definitions.js --> | ||
| 221 | + | ||
| 215 | 222 | #### `force` | |
| 216 | 223 | ||
| 217 | 224 | * Default: false | |
@@ -237,6 +244,9 @@ mistakes, unnecessary performance degradation, and malicious input. | |||
| 237 | 244 | If you don't have a clear idea of what you want to do, it is strongly | |
| 238 | 245 | recommended that you do not use this option! | |
| 239 | 246 | ||
| 247 | + <!-- automatically generated, do not edit manually --> | ||
| 248 | + <!-- see lib/utils/config/definitions.js --> | ||
| 249 | + | ||
| 240 | 250 | #### `json` | |
| 241 | 251 | ||
| 242 | 252 | * Default: false | |
@@ -249,6 +259,9 @@ Whether or not to output JSON data, rather than the normal output. | |||
| 249 | 259 | ||
| 250 | 260 | Not supported by all npm commands. | |
| 251 | 261 | ||
| 262 | + <!-- automatically generated, do not edit manually --> | ||
| 263 | + <!-- see lib/utils/config/definitions.js --> | ||
| 264 | + | ||
| 252 | 265 | #### `package-lock-only` | |
| 253 | 266 | ||
| 254 | 267 | * Default: false | |
@@ -263,6 +276,9 @@ instead of checking `node_modules` and downloading dependencies. | |||
| 263 | 276 | For `list` this means the output will be based on the tree described by the | |
| 264 | 277 | `package-lock.json`, rather than the contents of `node_modules`. | |
| 265 | 278 | ||
| 279 | + <!-- automatically generated, do not edit manually --> | ||
| 280 | + <!-- see lib/utils/config/definitions.js --> | ||
| 281 | + | ||
| 266 | 282 | #### `omit` | |
| 267 | 283 | ||
| 268 | 284 | * Default: 'dev' if the `NODE_ENV` environment variable is set to | |
@@ -281,6 +297,9 @@ it will be included. | |||
| 281 | 297 | If the resulting omit list includes `'dev'`, then the `NODE_ENV` environment | |
| 282 | 298 | variable will be set to `'production'` for all lifecycle scripts. | |
| 283 | 299 | ||
| 300 | + <!-- automatically generated, do not edit manually --> | ||
| 301 | + <!-- see lib/utils/config/definitions.js --> | ||
| 302 | + | ||
| 284 | 303 | #### `workspace` | |
| 285 | 304 | ||
| 286 | 305 | * Default: | |
@@ -303,6 +322,9 @@ brand new workspace within the project. | |||
| 303 | 322 | ||
| 304 | 323 | This value is not exported to the environment for child processes. | |
| 305 | 324 | ||
| 325 | + <!-- automatically generated, do not edit manually --> | ||
| 326 | + <!-- see lib/utils/config/definitions.js --> | ||
| 327 | + | ||
| 306 | 328 | #### `workspaces` | |
| 307 | 329 | ||
| 308 | 330 | * Default: false | |
@@ -313,6 +335,9 @@ workspaces. | |||
| 313 | 335 | ||
| 314 | 336 | This value is not exported to the environment for child processes. | |
| 315 | 337 | ||
| 338 | + <!-- automatically generated, do not edit manually --> | ||
| 339 | + <!-- see lib/utils/config/definitions.js --> | ||
| 340 | + | ||
| 316 | 341 | <!-- AUTOGENERATED CONFIG DESCRIPTIONS END --> | |
| 317 | 342 | ||
| 318 | 343 | ### See Also | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -20,6 +20,7 @@ Print the folder where npm will install executables. | |||
| 20 | 20 | ||
| 21 | 21 | <!-- AUTOGENERATED CONFIG DESCRIPTIONS START --> | |
| 22 | 22 | <!-- automatically generated, do not edit manually --> | |
| 23 | + <!-- see lib/utils/config/definitions.js --> | ||
| 23 | 24 | #### `global` | |
| 24 | 25 | ||
| 25 | 26 | * Default: false | |
@@ -34,6 +35,9 @@ folder instead of the current working directory. See | |||
| 34 | 35 | * bin files are linked to `{prefix}/bin` | |
| 35 | 36 | * man pages are linked to `{prefix}/share/man` | |
| 36 | 37 | ||
| 38 | + <!-- automatically generated, do not edit manually --> | ||
| 39 | + <!-- see lib/utils/config/definitions.js --> | ||
| 40 | + | ||
| 37 | 41 | <!-- AUTOGENERATED CONFIG DESCRIPTIONS END --> | |
| 38 | 42 | ||
| 39 | 43 | ### See Also | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -23,6 +23,7 @@ will search for a `package.json` in the current folder and use the `name` proper | |||
| 23 | 23 | ||
| 24 | 24 | <!-- AUTOGENERATED CONFIG DESCRIPTIONS START --> | |
| 25 | 25 | <!-- automatically generated, do not edit manually --> | |
| 26 | + <!-- see lib/utils/config/definitions.js --> | ||
| 26 | 27 | #### `browser` | |
| 27 | 28 | ||
| 28 | 29 | * Default: OS X: `"open"`, Windows: `"start"`, Others: `"xdg-open"` | |
@@ -35,13 +36,19 @@ terminal. | |||
| 35 | 36 | ||
| 36 | 37 | Set to `true` to use default system URL opener. | |
| 37 | 38 | ||
| 39 | + <!-- automatically generated, do not edit manually --> | ||
| 40 | + <!-- see lib/utils/config/definitions.js --> | ||
| 41 | + | ||
| 38 | 42 | #### `registry` | |
| 39 | 43 | ||
| 40 | 44 | * Default: "https://registry.npmjs.org/" | |
| 41 | 45 | * Type: URL | |
| 42 | 46 | ||
| 43 | 47 | The base URL of the npm registry. | |
| 44 | 48 | ||
| 49 | + <!-- automatically generated, do not edit manually --> | ||
| 50 | + <!-- see lib/utils/config/definitions.js --> | ||
| 51 | + | ||
| 45 | 52 | <!-- AUTOGENERATED CONFIG DESCRIPTIONS END --> | |
| 46 | 53 | ||
| 47 | 54 | ### See Also | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -77,6 +77,7 @@ verify`. | |||
| 77 | 77 | ||
| 78 | 78 | <!-- AUTOGENERATED CONFIG DESCRIPTIONS START --> | |
| 79 | 79 | <!-- automatically generated, do not edit manually --> | |
| 80 | + <!-- see lib/utils/config/definitions.js --> | ||
| 80 | 81 | #### `cache` | |
| 81 | 82 | ||
| 82 | 83 | * Default: Windows: `%LocalAppData%\npm-cache`, Posix: `~/.npm` | |
@@ -85,6 +86,9 @@ verify`. | |||
| 85 | 86 | The location of npm's cache directory. See [`npm | |
| 86 | 87 | cache`](/commands/npm-cache) | |
| 87 | 88 | ||
| 89 | + <!-- automatically generated, do not edit manually --> | ||
| 90 | + <!-- see lib/utils/config/definitions.js --> | ||
| 91 | + | ||
| 88 | 92 | <!-- AUTOGENERATED CONFIG DESCRIPTIONS END --> | |
| 89 | 93 | ||
| 90 | 94 | ### See Also | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -69,6 +69,7 @@ cache: | |||
| 69 | 69 | ||
| 70 | 70 | <!-- AUTOGENERATED CONFIG DESCRIPTIONS START --> | |
| 71 | 71 | <!-- automatically generated, do not edit manually --> | |
| 72 | + <!-- see lib/utils/config/definitions.js --> | ||
| 72 | 73 | #### `audit` | |
| 73 | 74 | ||
| 74 | 75 | * Default: true | |
@@ -79,6 +80,9 @@ default registry and all registries configured for scopes. See the | |||
| 79 | 80 | documentation for [`npm audit`](/commands/npm-audit) for details on what is | |
| 80 | 81 | submitted. | |
| 81 | 82 | ||
| 83 | + <!-- automatically generated, do not edit manually --> | ||
| 84 | + <!-- see lib/utils/config/definitions.js --> | ||
| 85 | + | ||
| 82 | 86 | #### `ignore-scripts` | |
| 83 | 87 | ||
| 84 | 88 | * Default: false | |
@@ -91,6 +95,9 @@ Note that commands explicitly intended to run a particular script, such as | |||
| 91 | 95 | will still run their intended script if `ignore-scripts` is set, but they | |
| 92 | 96 | will *not* run any pre- or post-scripts. | |
| 93 | 97 | ||
| 98 | + <!-- automatically generated, do not edit manually --> | ||
| 99 | + <!-- see lib/utils/config/definitions.js --> | ||
| 100 | + | ||
| 94 | 101 | #### `script-shell` | |
| 95 | 102 | ||
| 96 | 103 | * Default: '/bin/sh' on POSIX systems, 'cmd.exe' on Windows | |
@@ -99,6 +106,9 @@ will *not* run any pre- or post-scripts. | |||
| 99 | 106 | The shell to use for scripts run with the `npm exec`, `npm run` and `npm | |
| 100 | 107 | init <pkg>` commands. | |
| 101 | 108 | ||
| 109 | + <!-- automatically generated, do not edit manually --> | ||
| 110 | + <!-- see lib/utils/config/definitions.js --> | ||
| 111 | + | ||
| 102 | 112 | <!-- AUTOGENERATED CONFIG DESCRIPTIONS END --> | |
| 103 | 113 | ||
| 104 | 114 | ### See Also | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -97,6 +97,7 @@ global config. | |||
| 97 | 97 | ||
| 98 | 98 | <!-- AUTOGENERATED CONFIG DESCRIPTIONS START --> | |
| 99 | 99 | <!-- automatically generated, do not edit manually --> | |
| 100 | + <!-- see lib/utils/config/definitions.js --> | ||
| 100 | 101 | #### `json` | |
| 101 | 102 | ||
| 102 | 103 | * Default: false | |
@@ -109,6 +110,9 @@ Whether or not to output JSON data, rather than the normal output. | |||
| 109 | 110 | ||
| 110 | 111 | Not supported by all npm commands. | |
| 111 | 112 | ||
| 113 | + <!-- automatically generated, do not edit manually --> | ||
| 114 | + <!-- see lib/utils/config/definitions.js --> | ||
| 115 | + | ||
| 112 | 116 | #### `global` | |
| 113 | 117 | ||
| 114 | 118 | * Default: false | |
@@ -123,6 +127,9 @@ folder instead of the current working directory. See | |||
| 123 | 127 | * bin files are linked to `{prefix}/bin` | |
| 124 | 128 | * man pages are linked to `{prefix}/share/man` | |
| 125 | 129 | ||
| 130 | + <!-- automatically generated, do not edit manually --> | ||
| 131 | + <!-- see lib/utils/config/definitions.js --> | ||
| 132 | + | ||
| 126 | 133 | #### `editor` | |
| 127 | 134 | ||
| 128 | 135 | * Default: The EDITOR or VISUAL environment variables, or 'notepad.exe' on | |
@@ -131,6 +138,9 @@ folder instead of the current working directory. See | |||
| 131 | 138 | ||
| 132 | 139 | The command to run for `npm edit` and `npm config edit`. | |
| 133 | 140 | ||
| 141 | + <!-- automatically generated, do not edit manually --> | ||
| 142 | + <!-- see lib/utils/config/definitions.js --> | ||
| 143 | + | ||
| 134 | 144 | #### `location` | |
| 135 | 145 | ||
| 136 | 146 | * Default: "user" unless `--global` is passed, which will also set this value | |
@@ -139,13 +149,19 @@ The command to run for `npm edit` and `npm config edit`. | |||
| 139 | 149 | ||
| 140 | 150 | When passed to `npm config` this refers to which config file to use. | |
| 141 | 151 | ||
| 152 | + <!-- automatically generated, do not edit manually --> | ||
| 153 | + <!-- see lib/utils/config/definitions.js --> | ||
| 154 | + | ||
| 142 | 155 | #### `long` | |
| 143 | 156 | ||
| 144 | 157 | * Default: false | |
| 145 | 158 | * Type: Boolean | |
| 146 | 159 | ||
| 147 | 160 | Show extended information in `ls`, `search`, and `help-search`. | |
| 148 | 161 | ||
| 162 | + <!-- automatically generated, do not edit manually --> | ||
| 163 | + <!-- see lib/utils/config/definitions.js --> | ||
| 164 | + | ||
| 149 | 165 | <!-- AUTOGENERATED CONFIG DESCRIPTIONS END --> | |
| 150 | 166 | ||
| 151 | 167 | ### See Also | |
| Back | FazBrowse Home | New Git URL |
0 commit comments