You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/about-npm/index.mdx
+19-21
Original file line number
Diff line number
Diff line change
@@ -8,30 +8,29 @@ npm is the world's largest software registry. Open source developers from every
8
8
9
9
npm consists of three distinct components:
10
10
11
-
* the website
12
-
* the Command Line Interface (CLI)
13
-
* the registry
11
+
- the website
12
+
- the Command Line Interface (CLI)
13
+
- the registry
14
14
15
-
Use the [*website*](https://npmjs.com) to discover packages, set up profiles, and manage other aspects of your npm experience. For example, you can set up [organizations](https://www.npmjs.com/features) to manage access to public or private packages.
15
+
Use the [_website_](https://npmjs.com) to discover packages, set up profiles, and manage other aspects of your npm experience. For example, you can set up [organizations](https://www.npmjs.com/features) to manage access to public or private packages.
16
16
17
-
The [*CLI*](https://docs.npmjs.com/cli/npm) runs from a terminal, and is how most developers interact with npm.
18
-
19
-
The [*registry*](https://docs.npmjs.com/misc/registry) is a large public database of JavaScript software and the meta-information surrounding it.
17
+
The [_CLI_](https://docs.npmjs.com/cli/npm) runs from a terminal, and is how most developers interact with npm.
20
18
19
+
The [_registry_](https://docs.npmjs.com/misc/registry) is a large public database of JavaScript software and the meta-information surrounding it.
21
20
22
21
## Use npm to . . .
23
22
24
-
* Adapt packages of code for your apps, or incorporate packages as they are.
25
-
* Download standalone tools you can use right away.
26
-
* Run packages without downloading using [npx](https://docs.npmjs.com/cli/commands/npx).
27
-
* Share code with any npm user, anywhere.
28
-
* Restrict code to specific developers.
29
-
* Create organizations to coordinate package maintenance, coding, and developers.
30
-
* Form virtual teams by using organizations.
31
-
* Manage multiple versions of code and code dependencies.
32
-
* Update applications easily when underlying code is updated.
33
-
* Discover multiple ways to solve the same puzzle.
34
-
* Find other developers who are working on similar problems and projects.
23
+
- Adapt packages of code for your apps, or incorporate packages as they are.
24
+
- Download standalone tools you can use right away.
25
+
- Run packages without downloading using [npx](https://docs.npmjs.com/cli/commands/npx).
26
+
- Share code with any npm user, anywhere.
27
+
- Restrict code to specific developers.
28
+
- Create organizations to coordinate package maintenance, coding, and developers.
29
+
- Form virtual teams by using organizations.
30
+
- Manage multiple versions of code and code dependencies.
31
+
- Update applications easily when underlying code is updated.
32
+
- Discover multiple ways to solve the same puzzle.
33
+
- Find other developers who are working on similar problems and projects.
35
34
36
35
## Getting started
37
36
@@ -41,9 +40,9 @@ After you set up an npm account, the next step is to use the command line interf
41
40
42
41
## Sharing packages and collaborating with others
43
42
44
-
If you choose to share your packages publicly, there is no cost. To use and share private packages, you need to upgrade your account. To share with others, create organizations, called **[npm organizations][orgs-docs]**, and invite others to work with you, privately (for a fee) or publicly (for free).
43
+
If you choose to share your packages publicly, there is no cost. To use and share private packages, you need to upgrade your account. To share with others, create organizations, called **[npm organizations][orgs-docs]**, and invite others to work with you, privately (for a fee) or publicly (for free).
45
44
46
-
You can also use a private npm package registry like [GitHub Packages](https://github.com/features/packages) or the open source [Verdaccio](https://verdaccio.org) project. This lets you develop packages internally that are not shared publicly.
45
+
You can also use a private npm package registry like [GitHub Packages](https://github.com/features/packages) or the open source [Verdaccio](https://verdaccio.org) project. This lets you develop packages internally that are not shared publicly.
47
46
48
47
## Learn more
49
48
@@ -55,7 +54,6 @@ For mentoring, tutorials, and learning, visit [node school](https://nodeschool.i
55
54
56
55
While relevant CLI commands are covered throughout this user documentation, the CLI includes command line help, its own [documentation section, and instant help (man pages)][cli-docs].
Copy file name to clipboardExpand all lines: content/cli/v7/commands/npm-ci.mdx
-5
Original file line number
Diff line number
Diff line change
@@ -74,15 +74,13 @@ cache:
74
74
75
75
### Configuration
76
76
77
-
78
77
#### `audit`
79
78
80
79
- Default: true
81
80
- Type: Boolean
82
81
83
82
When "true" submit audit reports alongside the current npm command to the default registry and all registries configured for scopes. See the documentation for [`npm audit`](/cli/v7/commands/npm-audit) for details on what is submitted.
84
83
85
-
86
84
#### `ignore-scripts`
87
85
88
86
- Default: false
@@ -92,16 +90,13 @@ If true, npm does not run scripts specified in package.json files.
92
90
93
91
Note that commands explicitly intended to run a particular script, such as `npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run-script` will still run their intended script if `ignore-scripts` is set, but they will _not_ run any pre- or post-scripts.
94
92
95
-
96
93
#### `script-shell`
97
94
98
95
- Default: '/bin/sh' on POSIX systems, 'cmd.exe' on Windows
99
96
- Type: null or String
100
97
101
98
The shell to use for scripts run with the `npm exec`, `npm run` and `npm init <pkg>` commands.
0 commit comments