| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,10 +6,6 @@ description: Set access level on published packages | |||
| 6 | 6 | ||
| 7 | 7 | ### Synopsis | |
| 8 | 8 | ||
| 9 | - <!-- AUTOGENERATED USAGE DESCRIPTIONS START --> | ||
| 10 | - <!-- automatically generated, do not edit manually --> | ||
| 11 | - <!-- see lib/commands/access.js --> | ||
| 12 | - | ||
| 13 | 9 | ```bash | |
| 14 | 10 | npm access public [<package>] | |
| 15 | 11 | npm access restricted [<package>] | |
@@ -22,11 +18,6 @@ npm access ls-collaborators [<package> [<user>]] | |||
| 22 | 18 | npm access edit [<package>] | |
| 23 | 19 | ``` | |
| 24 | 20 | ||
| 25 | - <!-- automatically generated, do not edit manually --> | ||
| 26 | - <!-- see lib/commands/access.js --> | ||
| 27 | - | ||
| 28 | - <!-- AUTOGENERATED USAGE DESCRIPTIONS END --> | ||
| 29 | - | ||
| 30 | 21 | ### Description | |
| 31 | 22 | ||
| 32 | 23 | Used to set access controls on private packages. | |
@@ -88,19 +79,13 @@ Management of teams and team memberships is done with the `npm team` command. | |||
| 88 | 79 | ||
| 89 | 80 | ### Configuration | |
| 90 | 81 | ||
| 91 | - <!-- AUTOGENERATED CONFIG DESCRIPTIONS START --> | ||
| 92 | - <!-- automatically generated, do not edit manually --> | ||
| 93 | - <!-- see lib/utils/config/definitions.js --> | ||
| 94 | 82 | #### `registry` | |
| 95 | 83 | ||
| 96 | 84 | * Default: "https://registry.npmjs.org/" | |
| 97 | 85 | * Type: URL | |
| 98 | 86 | ||
| 99 | 87 | The base URL of the npm registry. | |
| 100 | 88 | ||
| 101 | - <!-- automatically generated, do not edit manually --> | ||
| 102 | - <!-- see lib/utils/config/definitions.js --> | ||
| 103 | - | ||
| 104 | 89 | #### `otp` | |
| 105 | 90 | ||
| 106 | 91 | * Default: null | |
@@ -112,11 +97,6 @@ when publishing or changing package permissions with `npm access`. | |||
| 112 | 97 | If not set, and a registry response fails with a challenge for a one-time | |
| 113 | 98 | password, npm will prompt on the command line for one. | |
| 114 | 99 | ||
| 115 | - <!-- automatically generated, do not edit manually --> | ||
| 116 | - <!-- see lib/utils/config/definitions.js --> | ||
| 117 | - | ||
| 118 | - <!-- AUTOGENERATED CONFIG DESCRIPTIONS END --> | ||
| 119 | - | ||
| 120 | 100 | ### See Also | |
| 121 | 101 | ||
| 122 | 102 | * [`libnpmaccess`](https://npm.im/libnpmaccess) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,21 +6,12 @@ description: Add a registry user account | |||
| 6 | 6 | ||
| 7 | 7 | ### Synopsis | |
| 8 | 8 | ||
| 9 | - <!-- AUTOGENERATED USAGE DESCRIPTIONS START --> | ||
| 10 | - <!-- automatically generated, do not edit manually --> | ||
| 11 | - <!-- see lib/commands/adduser.js --> | ||
| 12 | - | ||
| 13 | 9 | ```bash | |
| 14 | 10 | npm adduser | |
| 15 | 11 | ||
| 16 | 12 | aliases: login, add-user | |
| 17 | 13 | ``` | |
| 18 | 14 | ||
| 19 | - <!-- automatically generated, do not edit manually --> | ||
| 20 | - <!-- see lib/commands/adduser.js --> | ||
| 21 | - | ||
| 22 | - <!-- AUTOGENERATED USAGE DESCRIPTIONS END --> | ||
| 23 | - | ||
| 24 | 15 | Note: This command is unaware of workspaces. | |
| 25 | 16 | ||
| 26 | 17 | ### Description | |
@@ -44,19 +35,13 @@ your existing record. | |||
| 44 | 35 | ||
| 45 | 36 | ### Configuration | |
| 46 | 37 | ||
| 47 | - <!-- AUTOGENERATED CONFIG DESCRIPTIONS START --> | ||
| 48 | - <!-- automatically generated, do not edit manually --> | ||
| 49 | - <!-- see lib/utils/config/definitions.js --> | ||
| 50 | 38 | #### `registry` | |
| 51 | 39 | ||
| 52 | 40 | * Default: "https://registry.npmjs.org/" | |
| 53 | 41 | * Type: URL | |
| 54 | 42 | ||
| 55 | 43 | The base URL of the npm registry. | |
| 56 | 44 | ||
| 57 | - <!-- automatically generated, do not edit manually --> | ||
| 58 | - <!-- see lib/utils/config/definitions.js --> | ||
| 59 | - | ||
| 60 | 45 | #### `scope` | |
| 61 | 46 | ||
| 62 | 47 | * Default: the scope of the current project, if any, or "" | |
@@ -87,9 +72,6 @@ npm init --scope=@foo --yes | |||
| 87 | 72 | ``` | |
| 88 | 73 | ||
| 89 | 74 | ||
| 90 | - <!-- automatically generated, do not edit manually --> | ||
| 91 | - <!-- see lib/utils/config/definitions.js --> | ||
| 92 | - | ||
| 93 | 75 | #### `auth-type` | |
| 94 | 76 | ||
| 95 | 77 | * Default: "legacy" | |
@@ -100,11 +82,6 @@ removed in a future version. | |||
| 100 | 82 | ||
| 101 | 83 | What authentication strategy to use with `login`. | |
| 102 | 84 | ||
| 103 | - <!-- automatically generated, do not edit manually --> | ||
| 104 | - <!-- see lib/utils/config/definitions.js --> | ||
| 105 | - | ||
| 106 | - <!-- AUTOGENERATED CONFIG DESCRIPTIONS END --> | ||
| 107 | - | ||
| 108 | 85 | ### See Also | |
| 109 | 86 | ||
| 110 | 87 | * [npm registry](/using-npm/registry) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,19 +6,10 @@ description: Run a security audit | |||
| 6 | 6 | ||
| 7 | 7 | ### Synopsis | |
| 8 | 8 | ||
| 9 | - <!-- AUTOGENERATED USAGE DESCRIPTIONS START --> | ||
| 10 | - <!-- automatically generated, do not edit manually --> | ||
| 11 | - <!-- see lib/commands/audit.js --> | ||
| 12 | - | ||
| 13 | 9 | ```bash | |
| 14 | 10 | npm audit [fix|signatures] | |
| 15 | 11 | ``` | |
| 16 | 12 | ||
| 17 | - <!-- automatically generated, do not edit manually --> | ||
| 18 | - <!-- see lib/commands/audit.js --> | ||
| 19 | - | ||
| 20 | - <!-- AUTOGENERATED USAGE DESCRIPTIONS END --> | ||
| 21 | - | ||
| 22 | 13 | ### Description | |
| 23 | 14 | ||
| 24 | 15 | The audit command submits a description of the dependencies configured in | |
@@ -247,9 +238,6 @@ $ npm audit --audit-level=moderate | |||
| 247 | 238 | ||
| 248 | 239 | ### Configuration | |
| 249 | 240 | ||
| 250 | - <!-- AUTOGENERATED CONFIG DESCRIPTIONS START --> | ||
| 251 | - <!-- automatically generated, do not edit manually --> | ||
| 252 | - <!-- see lib/utils/config/definitions.js --> | ||
| 253 | 241 | #### `audit-level` | |
| 254 | 242 | ||
| 255 | 243 | * Default: null | |
@@ -258,9 +246,6 @@ $ npm audit --audit-level=moderate | |||
| 258 | 246 | The minimum level of vulnerability for `npm audit` to exit with a non-zero | |
| 259 | 247 | exit code. | |
| 260 | 248 | ||
| 261 | - <!-- automatically generated, do not edit manually --> | ||
| 262 | - <!-- see lib/utils/config/definitions.js --> | ||
| 263 | - | ||
| 264 | 249 | #### `dry-run` | |
| 265 | 250 | ||
| 266 | 251 | * Default: false | |
@@ -274,9 +259,6 @@ commands that modify your local installation, eg, `install`, `update`, | |||
| 274 | 259 | Note: This is NOT honored by other network related commands, eg `dist-tags`, | |
| 275 | 260 | `owner`, etc. | |
| 276 | 261 | ||
| 277 | - <!-- automatically generated, do not edit manually --> | ||
| 278 | - <!-- see lib/utils/config/definitions.js --> | ||
| 279 | - | ||
| 280 | 262 | #### `force` | |
| 281 | 263 | ||
| 282 | 264 | * Default: false | |
@@ -303,9 +285,6 @@ mistakes, unnecessary performance degradation, and malicious input. | |||
| 303 | 285 | If you don't have a clear idea of what you want to do, it is strongly | |
| 304 | 286 | recommended that you do not use this option! | |
| 305 | 287 | ||
| 306 | - <!-- automatically generated, do not edit manually --> | ||
| 307 | - <!-- see lib/utils/config/definitions.js --> | ||
| 308 | - | ||
| 309 | 288 | #### `json` | |
| 310 | 289 | ||
| 311 | 290 | * Default: false | |
@@ -318,9 +297,6 @@ Whether or not to output JSON data, rather than the normal output. | |||
| 318 | 297 | ||
| 319 | 298 | Not supported by all npm commands. | |
| 320 | 299 | ||
| 321 | - <!-- automatically generated, do not edit manually --> | ||
| 322 | - <!-- see lib/utils/config/definitions.js --> | ||
| 323 | - | ||
| 324 | 300 | #### `package-lock-only` | |
| 325 | 301 | ||
| 326 | 302 | * Default: false | |
@@ -335,9 +311,6 @@ instead of checking `node_modules` and downloading dependencies. | |||
| 335 | 311 | For `list` this means the output will be based on the tree described by the | |
| 336 | 312 | `package-lock.json`, rather than the contents of `node_modules`. | |
| 337 | 313 | ||
| 338 | - <!-- automatically generated, do not edit manually --> | ||
| 339 | - <!-- see lib/utils/config/definitions.js --> | ||
| 340 | - | ||
| 341 | 314 | #### `omit` | |
| 342 | 315 | ||
| 343 | 316 | * Default: 'dev' if the `NODE_ENV` environment variable is set to | |
@@ -356,9 +329,6 @@ it will be included. | |||
| 356 | 329 | If the resulting omit list includes `'dev'`, then the `NODE_ENV` environment | |
| 357 | 330 | variable will be set to `'production'` for all lifecycle scripts. | |
| 358 | 331 | ||
| 359 | - <!-- automatically generated, do not edit manually --> | ||
| 360 | - <!-- see lib/utils/config/definitions.js --> | ||
| 361 | - | ||
| 362 | 332 | #### `foreground-scripts` | |
| 363 | 333 | ||
| 364 | 334 | * Default: false | |
@@ -371,9 +341,6 @@ input, output, and error with the main npm process. | |||
| 371 | 341 | Note that this will generally make installs run slower, and be much noisier, | |
| 372 | 342 | but can be useful for debugging. | |
| 373 | 343 | ||
| 374 | - <!-- automatically generated, do not edit manually --> | ||
| 375 | - <!-- see lib/utils/config/definitions.js --> | ||
| 376 | - | ||
| 377 | 344 | #### `ignore-scripts` | |
| 378 | 345 | ||
| 379 | 346 | * Default: false | |
@@ -386,9 +353,6 @@ Note that commands explicitly intended to run a particular script, such as | |||
| 386 | 353 | will still run their intended script if `ignore-scripts` is set, but they | |
| 387 | 354 | will *not* run any pre- or post-scripts. | |
| 388 | 355 | ||
| 389 | - <!-- automatically generated, do not edit manually --> | ||
| 390 | - <!-- see lib/utils/config/definitions.js --> | ||
| 391 | - | ||
| 392 | 356 | #### `workspace` | |
| 393 | 357 | ||
| 394 | 358 | * Default: | |
@@ -411,9 +375,6 @@ brand new workspace within the project. | |||
| 411 | 375 | ||
| 412 | 376 | This value is not exported to the environment for child processes. | |
| 413 | 377 | ||
| 414 | - <!-- automatically generated, do not edit manually --> | ||
| 415 | - <!-- see lib/utils/config/definitions.js --> | ||
| 416 | - | ||
| 417 | 378 | #### `workspaces` | |
| 418 | 379 | ||
| 419 | 380 | * Default: null | |
@@ -432,9 +393,6 @@ _unless_ one or more workspaces are specified in the `workspace` config. | |||
| 432 | 393 | ||
| 433 | 394 | This value is not exported to the environment for child processes. | |
| 434 | 395 | ||
| 435 | - <!-- automatically generated, do not edit manually --> | ||
| 436 | - <!-- see lib/utils/config/definitions.js --> | ||
| 437 | - | ||
| 438 | 396 | #### `include-workspace-root` | |
| 439 | 397 | ||
| 440 | 398 | * Default: false | |
@@ -448,9 +406,6 @@ the specified workspaces, and not on the root project. | |||
| 448 | 406 | ||
| 449 | 407 | This value is not exported to the environment for child processes. | |
| 450 | 408 | ||
| 451 | - <!-- automatically generated, do not edit manually --> | ||
| 452 | - <!-- see lib/utils/config/definitions.js --> | ||
| 453 | - | ||
| 454 | 409 | #### `install-links` | |
| 455 | 410 | ||
| 456 | 411 | * Default: false | |
@@ -460,11 +415,6 @@ When set file: protocol dependencies that exist outside of the project root | |||
| 460 | 415 | will be packed and installed as regular dependencies instead of creating a | |
| 461 | 416 | symlink. This option has no effect on workspaces. | |
| 462 | 417 | ||
| 463 | - <!-- automatically generated, do not edit manually --> | ||
| 464 | - <!-- see lib/utils/config/definitions.js --> | ||
| 465 | - | ||
| 466 | - <!-- AUTOGENERATED CONFIG DESCRIPTIONS END --> | ||
| 467 | - | ||
| 468 | 418 | ### See Also | |
| 469 | 419 | ||
| 470 | 420 | * [npm install](/commands/npm-install) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,19 +6,10 @@ description: Display npm bin folder | |||
| 6 | 6 | ||
| 7 | 7 | ### Synopsis | |
| 8 | 8 | ||
| 9 | - <!-- AUTOGENERATED USAGE DESCRIPTIONS START --> | ||
| 10 | - <!-- automatically generated, do not edit manually --> | ||
| 11 | - <!-- see lib/commands/bin.js --> | ||
| 12 | - | ||
| 13 | 9 | ```bash | |
| 14 | 10 | npm bin | |
| 15 | 11 | ``` | |
| 16 | 12 | ||
| 17 | - <!-- automatically generated, do not edit manually --> | ||
| 18 | - <!-- see lib/commands/bin.js --> | ||
| 19 | - | ||
| 20 | - <!-- AUTOGENERATED USAGE DESCRIPTIONS END --> | ||
| 21 | - | ||
| 22 | 13 | Note: This command is unaware of workspaces. | |
| 23 | 14 | ||
| 24 | 15 | ### Description | |
@@ -27,9 +18,6 @@ Print the folder where npm will install executables. | |||
| 27 | 18 | ||
| 28 | 19 | ### Configuration | |
| 29 | 20 | ||
| 30 | - <!-- AUTOGENERATED CONFIG DESCRIPTIONS START --> | ||
| 31 | - <!-- automatically generated, do not edit manually --> | ||
| 32 | - <!-- see lib/utils/config/definitions.js --> | ||
| 33 | 21 | #### `global` | |
| 34 | 22 | ||
| 35 | 23 | * Default: false | |
@@ -44,11 +32,6 @@ folder instead of the current working directory. See | |||
| 44 | 32 | * bin files are linked to `{prefix}/bin` | |
| 45 | 33 | * man pages are linked to `{prefix}/share/man` | |
| 46 | 34 | ||
| 47 | - <!-- automatically generated, do not edit manually --> | ||
| 48 | - <!-- see lib/utils/config/definitions.js --> | ||
| 49 | - | ||
| 50 | - <!-- AUTOGENERATED CONFIG DESCRIPTIONS END --> | ||
| 51 | - | ||
| 52 | 35 | ### See Also | |
| 53 | 36 | ||
| 54 | 37 | * [npm prefix](/commands/npm-prefix) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,21 +6,12 @@ description: Report bugs for a package in a web browser | |||
| 6 | 6 | ||
| 7 | 7 | ### Synopsis | |
| 8 | 8 | ||
| 9 | - <!-- AUTOGENERATED USAGE DESCRIPTIONS START --> | ||
| 10 | - <!-- automatically generated, do not edit manually --> | ||
| 11 | - <!-- see lib/commands/bugs.js --> | ||
| 12 | - | ||
| 13 | 9 | ```bash | |
| 14 | 10 | npm bugs [<pkgname> [<pkgname> ...]] | |
| 15 | 11 | ||
| 16 | 12 | alias: issues | |
| 17 | 13 | ``` | |
| 18 | 14 | ||
| 19 | - <!-- automatically generated, do not edit manually --> | ||
| 20 | - <!-- see lib/commands/bugs.js --> | ||
| 21 | - | ||
| 22 | - <!-- AUTOGENERATED USAGE DESCRIPTIONS END --> | ||
| 23 | - | ||
| 24 | 15 | ### Description | |
| 25 | 16 | ||
| 26 | 17 | This command tries to guess at the likely location of a package's bug | |
@@ -30,9 +21,6 @@ will search for a `package.json` in the current folder and use the `name` proper | |||
| 30 | 21 | ||
| 31 | 22 | ### Configuration | |
| 32 | 23 | ||
| 33 | - <!-- AUTOGENERATED CONFIG DESCRIPTIONS START --> | ||
| 34 | - <!-- automatically generated, do not edit manually --> | ||
| 35 | - <!-- see lib/utils/config/definitions.js --> | ||
| 36 | 24 | #### `browser` | |
| 37 | 25 | ||
| 38 | 26 | * Default: OS X: `"open"`, Windows: `"start"`, Others: `"xdg-open"` | |
@@ -45,19 +33,13 @@ terminal. | |||
| 45 | 33 | ||
| 46 | 34 | Set to `true` to use default system URL opener. | |
| 47 | 35 | ||
| 48 | - <!-- automatically generated, do not edit manually --> | ||
| 49 | - <!-- see lib/utils/config/definitions.js --> | ||
| 50 | - | ||
| 51 | 36 | #### `registry` | |
| 52 | 37 | ||
| 53 | 38 | * Default: "https://registry.npmjs.org/" | |
| 54 | 39 | * Type: URL | |
| 55 | 40 | ||
| 56 | 41 | The base URL of the npm registry. | |
| 57 | 42 | ||
| 58 | - <!-- automatically generated, do not edit manually --> | ||
| 59 | - <!-- see lib/utils/config/definitions.js --> | ||
| 60 | - | ||
| 61 | 43 | #### `workspace` | |
| 62 | 44 | ||
| 63 | 45 | * Default: | |
@@ -80,9 +62,6 @@ brand new workspace within the project. | |||
| 80 | 62 | ||
| 81 | 63 | This value is not exported to the environment for child processes. | |
| 82 | 64 | ||
| 83 | - <!-- automatically generated, do not edit manually --> | ||
| 84 | - <!-- see lib/utils/config/definitions.js --> | ||
| 85 | - | ||
| 86 | 65 | #### `workspaces` | |
| 87 | 66 | ||
| 88 | 67 | * Default: null | |
@@ -101,9 +80,6 @@ _unless_ one or more workspaces are specified in the `workspace` config. | |||
| 101 | 80 | ||
| 102 | 81 | This value is not exported to the environment for child processes. | |
| 103 | 82 | ||
| 104 | - <!-- automatically generated, do not edit manually --> | ||
| 105 | - <!-- see lib/utils/config/definitions.js --> | ||
| 106 | - | ||
| 107 | 83 | #### `include-workspace-root` | |
| 108 | 84 | ||
| 109 | 85 | * Default: false | |
@@ -117,11 +93,6 @@ the specified workspaces, and not on the root project. | |||
| 117 | 93 | ||
| 118 | 94 | This value is not exported to the environment for child processes. | |
| 119 | 95 | ||
| 120 | - <!-- automatically generated, do not edit manually --> | ||
| 121 | - <!-- see lib/utils/config/definitions.js --> | ||
| 122 | - | ||
| 123 | - <!-- AUTOGENERATED CONFIG DESCRIPTIONS END --> | ||
| 124 | - | ||
| 125 | 96 | ### See Also | |
| 126 | 97 | ||
| 127 | 98 | * [npm docs](/commands/npm-docs) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments