File tree Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change
1
+ # npm exec
2
+
3
+ > Voer binaire bestanden uit vanuit ` npm ` -pakketten.
4
+ > Meer informatie: < https://docs.npmjs.com/cli/npm-exec > .
5
+
6
+ - Voer het commando uit vanuit een lokaal of extern ` npm ` -pakket:
7
+
8
+ ` npm {{[x|exec]}} {{commando}} {{argument1 argument2 ...}} `
9
+
10
+ - Specificeer het pakket expliciet (handig als meerdere commando's dezelfde naam hebben):
11
+
12
+ ` npm {{[x|exec]}} --package {{pakket}} {{commando}} `
13
+
14
+ - Voer een commando uit als het bestaat in het huidig pad of in ` node_modules/.bin ` :
15
+
16
+ ` npm {{[x|exec]}} --no-install {{commando}} {{argument1 argument2 ...}} `
17
+
18
+ - Voer een specifiek commando uit, waarbij uitvoer van ` npm ` zelf wordt onderdrukt:
19
+
20
+ ` npm {{[x|exec]}} --quiet {{command}} {{argument1 argument2 ...}} `
21
+
22
+ - Toon de help:
23
+
24
+ ` npm {{[x|exec]}} --help `
Original file line number Diff line number Diff line change 7
7
8
8
` npm {{[x|exec]}} {{command}} {{argument1 argument2 ...}} `
9
9
10
- - In case multiple commands with the same name exist, it is possible to explicitly specify the package :
10
+ - Specify the package explicitly (useful if multiple commands with the same name exist) :
11
11
12
12
` npm {{[x|exec]}} --package {{package}} {{command}} `
13
13
14
14
- Run a command if it exists in the current path or in ` node_modules/.bin ` :
15
15
16
16
` npm {{[x|exec]}} --no-install {{command}} {{argument1 argument2 ...}} `
17
17
18
- - Execute a specific command suppressing any output from ` npm ` itself:
18
+ - Execute a specific command, suppressing any output from ` npm ` itself:
19
19
20
20
` npm {{[x|exec]}} --quiet {{command}} {{argument1 argument2 ...}} `
21
21
You can’t perform that action at this time.
0 commit comments