Skip to content

Commit fc1a08c

Browse files
authored
npm-exec: update page and add Dutch translation (#18549)
1 parent 4f650e3 commit fc1a08c

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

pages.nl/common/npm-exec.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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`

pages/common/npm-exec.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77

88
`npm {{[x|exec]}} {{command}} {{argument1 argument2 ...}}`
99

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):
1111

1212
`npm {{[x|exec]}} --package {{package}} {{command}}`
1313

1414
- Run a command if it exists in the current path or in `node_modules/.bin`:
1515

1616
`npm {{[x|exec]}} --no-install {{command}} {{argument1 argument2 ...}}`
1717

18-
- Execute a specific command suppressing any output from `npm` itself:
18+
- Execute a specific command, suppressing any output from `npm` itself:
1919

2020
`npm {{[x|exec]}} --quiet {{command}} {{argument1 argument2 ...}}`
2121

0 commit comments

Comments
 (0)