Welcome to mirror list, hosted at ThFree Co, Russian Federation.

npm-usage.js.test.cjs « utils « lib « test « tap-snapshots - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0fd36c7c1d3722a250d640268a3e16d0c27c12c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
/* IMPORTANT
 * This snapshot file is auto-generated, but designed for humans.
 * It should be checked into source control and tracked carefully.
 * Re-generate by setting TAP_SNAPSHOT=1 and running tests.
 * Make sure to inspect the output below.  Do not ignore changes!
 */
'use strict'
exports[`test/lib/utils/npm-usage.js TAP usage basic usage > must match snapshot 1`] = `
npm <command>

Usage:

npm install        install all the dependencies in your project
npm install <foo>  add the <foo> dependency to your project
npm test           run this project's tests
npm run <foo>      run the script named <foo>
npm <command> -h   quick help on <command>
npm -l             display usage info for all commands
npm help <term>    search for help on <term>
npm help npm       more involved overview

All commands:

    access, adduser, audit, bin, bugs, cache, ci, completion,
    config, dedupe, deprecate, diff, dist-tag, docs, doctor,
    edit, exec, explain, explore, find-dupes, fund, get, help,
    hook, init, install, install-ci-test, install-test, link,
    ll, login, logout, ls, org, outdated, owner, pack, ping,
    pkg, prefix, profile, prune, publish, rebuild, repo,
    restart, root, run-script, search, set, set-script,
    shrinkwrap, star, stars, start, stop, team, test, token,
    uninstall, unpublish, unstar, update, version, view, whoami

Specify configs in the ini-formatted file:
    /some/config/file/.npmrc
or on the command line via: npm <command> --key=value

More configuration info: npm help config
Configuration fields: npm help 7 config

npm@{VERSION} {BASEDIR}
`

exports[`test/lib/utils/npm-usage.js TAP usage set process.stdout.columns columns=0 > must match snapshot 1`] = `
npm <command>

Usage:

npm install        install all the dependencies in your project
npm install <foo>  add the <foo> dependency to your project
npm test           run this project's tests
npm run <foo>      run the script named <foo>
npm <command> -h   quick help on <command>
npm -l             display usage info for all commands
npm help <term>    search for help on <term>
npm help npm       more involved overview

All commands:

    access, adduser, audit, bin, bugs, cache, ci, completion,
    config, dedupe, deprecate, diff, dist-tag, docs, doctor,
    edit, exec, explain, explore, find-dupes, fund, get, help,
    hook, init, install, install-ci-test, install-test, link,
    ll, login, logout, ls, org, outdated, owner, pack, ping,
    pkg, prefix, profile, prune, publish, rebuild, repo,
    restart, root, run-script, search, set, set-script,
    shrinkwrap, star, stars, start, stop, team, test, token,
    uninstall, unpublish, unstar, update, version, view, whoami

Specify configs in the ini-formatted file:
    /some/config/file/.npmrc
or on the command line via: npm <command> --key=value

More configuration info: npm help config
Configuration fields: npm help 7 config

npm@{VERSION} {BASEDIR}
`

exports[`test/lib/utils/npm-usage.js TAP usage set process.stdout.columns columns=90 > must match snapshot 1`] = `
npm <command>

Usage:

npm install        install all the dependencies in your project
npm install <foo>  add the <foo> dependency to your project
npm test           run this project's tests
npm run <foo>      run the script named <foo>
npm <command> -h   quick help on <command>
npm -l             display usage info for all commands
npm help <term>    search for help on <term>
npm help npm       more involved overview

All commands:

    access, adduser, audit, bin, bugs, cache, ci, completion,
    config, dedupe, deprecate, diff, dist-tag, docs, doctor,
    edit, exec, explain, explore, find-dupes, fund, get, help,
    hook, init, install, install-ci-test, install-test, link,
    ll, login, logout, ls, org, outdated, owner, pack, ping,
    pkg, prefix, profile, prune, publish, rebuild, repo,
    restart, root, run-script, search, set, set-script,
    shrinkwrap, star, stars, start, stop, team, test, token,
    uninstall, unpublish, unstar, update, version, view, whoami

Specify configs in the ini-formatted file:
    /some/config/file/.npmrc
or on the command line via: npm <command> --key=value

More configuration info: npm help config
Configuration fields: npm help 7 config

npm@{VERSION} {BASEDIR}
`

exports[`test/lib/utils/npm-usage.js TAP usage with browser > must match snapshot 1`] = `
npm <command>

Usage:

npm install        install all the dependencies in your project
npm install <foo>  add the <foo> dependency to your project
npm test           run this project's tests
npm run <foo>      run the script named <foo>
npm <command> -h   quick help on <command>
npm -l             display usage info for all commands
npm help <term>    search for help on <term> (in a browser)
npm help npm       more involved overview (in a browser)

All commands:

    access, adduser, audit, bin, bugs, cache, ci, completion,
    config, dedupe, deprecate, diff, dist-tag, docs, doctor,
    edit, exec, explain, explore, find-dupes, fund, get, help,
    hook, init, install, install-ci-test, install-test, link,
    ll, login, logout, ls, org, outdated, owner, pack, ping,
    pkg, prefix, profile, prune, publish, rebuild, repo,
    restart, root, run-script, search, set, set-script,
    shrinkwrap, star, stars, start, stop, team, test, token,
    uninstall, unpublish, unstar, update, version, view, whoami

Specify configs in the ini-formatted file:
    /some/config/file/.npmrc
or on the command line via: npm <command> --key=value

More configuration info: npm help config
Configuration fields: npm help 7 config

npm@{VERSION} {BASEDIR}
`

exports[`test/lib/utils/npm-usage.js TAP usage with long > must match snapshot 1`] = `
npm <command>

Usage:

npm install        install all the dependencies in your project
npm install <foo>  add the <foo> dependency to your project
npm test           run this project's tests
npm run <foo>      run the script named <foo>
npm <command> -h   quick help on <command>
npm -l             display usage info for all commands
npm help <term>    search for help on <term>
npm help npm       more involved overview

All commands:

    access          npm access
                    
                    Set access level on published packages
                    
                    Usage:
                    npm access public [<package>]
                    npm access restricted [<package>]
                    npm access grant <read-only|read-write> <scope:team> [<package>]
                    npm access revoke <scope:team> [<package>]
                    npm access 2fa-required [<package>]
                    npm access 2fa-not-required [<package>]
                    npm access ls-packages [<user>|<scope>|<scope:team>]
                    npm access ls-collaborators [<package> [<user>]]
                    npm access edit [<package>]
                    
                    Options:
                    [--registry <registry>] [--otp <otp>]
                    
                    Run "npm help access" for more info

    adduser         npm adduser
                    
                    Add a registry user account
                    
                    Usage:
                    npm adduser
                    
                    Options:
                    [--registry <registry>] [--scope <@scope>]
                    
                    aliases: login, add-user
                    
                    Run "npm help adduser" for more info

    audit           npm audit
                    
                    Run a security audit
                    
                    Usage:
                    npm audit [fix]
                    
                    Options:
                    [--audit-level <info|low|moderate|high|critical|none>] [--dry-run] [-f|--force]
                    [--json] [--package-lock-only]
                    [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces]
                    
                    Run "npm help audit" for more info

    bin             npm bin
                    
                    Display npm bin folder
                    
                    Usage:
                    npm bin
                    
                    Options:
                    [-g|--global]
                    
                    Run "npm help bin" for more info

    bugs            npm bugs
                    
                    Report bugs for a package in a web browser
                    
                    Usage:
                    npm bugs [<pkgname>]
                    
                    Options:
                    [--no-browser|--browser <browser>] [--registry <registry>]
                    
                    alias: issues
                    
                    Run "npm help bugs" for more info

    cache           npm cache
                    
                    Manipulates packages cache
                    
                    Usage:
                    npm cache add <tarball file>
                    npm cache add <folder>
                    npm cache add <tarball url>
                    npm cache add <git url>
                    npm cache add <name>@<version>
                    npm cache clean [<key>]
                    npm cache ls [<name>@<version>]
                    npm cache verify
                    
                    Options:
                    [--cache <cache>]
                    
                    Run "npm help cache" for more info

    ci              npm ci
                    
                    Install a project with a clean slate
                    
                    Usage:
                    npm ci
                    
                    Options:
                    [--no-audit] [--ignore-scripts] [--script-shell <script-shell>]
                    
                    aliases: clean-install, ic, install-clean, isntall-clean
                    
                    Run "npm help ci" for more info

    completion      npm completion
                    
                    Tab Completion for npm
                    
                    Usage:
                    npm completion
                    
                    Run "npm help completion" for more info

    config          npm config
                    
                    Manage the npm configuration files
                    
                    Usage:
                    npm config set <key>=<value> [<key>=<value> ...]
                    npm config get [<key> [<key> ...]]
                    npm config delete <key> [<key> ...]
                    npm config list [--json]
                    npm config edit
                    
                    Options:
                    [--json] [-g|--global] [--editor <editor>] [-L|--location <global|user|project>]
                    [-l|--long]
                    
                    alias: c
                    
                    Run "npm help config" for more info

    dedupe          npm dedupe
                    
                    Reduce duplication in the package tree
                    
                    Usage:
                    npm dedupe
                    
                    Options:
                    [--global-style] [--legacy-bundling] [--strict-peer-deps] [--no-package-lock]
                    [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]] [--ignore-scripts]
                    [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces]
                    
                    alias: ddp
                    
                    Run "npm help dedupe" for more info

    deprecate       npm deprecate
                    
                    Deprecate a version of a package
                    
                    Usage:
                    npm deprecate <pkg>[@<version>] <message>
                    
                    Options:
                    [--registry <registry>] [--otp <otp>]
                    
                    Run "npm help deprecate" for more info

    diff            npm diff
                    
                    The registry diff command
                    
                    Usage:
                    npm diff [...<paths>]
                    
                    Options:
                    [--diff <pkg-name|spec|version> [--diff <pkg-name|spec|version> ...]]
                    [--diff-name-only] [--diff-unified <number>] [--diff-ignore-all-space]
                    [--diff-no-prefix] [--diff-src-prefix <path>] [--diff-dst-prefix <path>]
                    [--diff-text] [-g|--global] [--tag <tag>]
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces]
                    
                    Run "npm help diff" for more info

    dist-tag        npm dist-tag
                    
                    Modify package distribution tags
                    
                    Usage:
                    npm dist-tag add <pkg>@<version> [<tag>]
                    npm dist-tag rm <pkg> <tag>
                    npm dist-tag ls [<pkg>]
                    
                    Options:
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces]
                    
                    alias: dist-tags
                    
                    Run "npm help dist-tag" for more info

    docs            npm docs
                    
                    Open documentation for a package in a web browser
                    
                    Usage:
                    npm docs [<pkgname> [<pkgname> ...]]
                    
                    Options:
                    [--no-browser|--browser <browser>] [--registry <registry>]
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces]
                    
                    alias: home
                    
                    Run "npm help docs" for more info

    doctor          npm doctor
                    
                    Check your npm environment
                    
                    Usage:
                    npm doctor
                    
                    Options:
                    [--registry <registry>]
                    
                    Run "npm help doctor" for more info

    edit            npm edit
                    
                    Edit an installed package
                    
                    Usage:
                    npm edit <pkg>[/<subpkg>...]
                    
                    Options:
                    [--editor <editor>]
                    
                    Run "npm help edit" for more info

    exec            npm exec
                    
                    Run a command from a local or remote npm package
                    
                    Usage:
                    npm exec -- <pkg>[@<version>] [args...]
                    npm exec --package=<pkg>[@<version>] -- <cmd> [args...]
                    npm exec -c '<cmd> [args...]'
                    npm exec --package=foo -c '<cmd> [args...]'
                    
                    Options:
                    [--package <pkg>[@<version>] [--package <pkg>[@<version>] ...]]
                    [-c|--call <call>]
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces]
                    
                    alias: x
                    
                    Run "npm help exec" for more info

    explain         npm explain
                    
                    Explain installed packages
                    
                    Usage:
                    npm explain <folder | specifier>
                    
                    Options:
                    [--json] [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    
                    alias: why
                    
                    Run "npm help explain" for more info

    explore         npm explore
                    
                    Browse an installed package
                    
                    Usage:
                    npm explore <pkg> [ -- <command>]
                    
                    Options:
                    [--shell <shell>]
                    
                    Run "npm help explore" for more info

    find-dupes      npm find-dupes
                    
                    Find duplication in the package tree
                    
                    Usage:
                    npm find-dupes
                    
                    Options:
                    [--global-style] [--legacy-bundling] [--strict-peer-deps] [--no-package-lock]
                    [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]] [--ignore-scripts]
                    [--no-audit] [--no-bin-links] [--no-fund]
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces]
                    
                    Run "npm help find-dupes" for more info

    fund            npm fund
                    
                    Retrieve funding information
                    
                    Usage:
                    npm fund [[<@scope>/]<pkg>]
                    
                    Options:
                    [--json] [--no-browser|--browser <browser>] [--unicode]
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [--which <fundingSourceNumber>]
                    
                    Run "npm help fund" for more info

    get             npm get
                    
                    Get a value from the npm configuration
                    
                    Usage:
                    npm get [<key> ...] (See \`npm config\`)
                    
                    Run "npm help get" for more info

    help            npm help
                    
                    Get help on npm
                    
                    Usage:
                    npm help <term> [<terms..>]
                    
                    Options:
                    [--viewer <viewer>]
                    
                    alias: hlep
                    
                    Run "npm help help" for more info

    hook            npm hook
                    
                    Manage registry hooks
                    
                    Usage:
                    npm hook add <pkg> <url> <secret> [--type=<type>]
                    npm hook ls [pkg]
                    npm hook rm <id>
                    npm hook update <id> <url> <secret>
                    
                    Options:
                    [--registry <registry>] [--otp <otp>]
                    
                    Run "npm help hook" for more info

    init            npm init
                    
                    Create a package.json file
                    
                    Usage:
                    npm init [--force|-f|--yes|-y|--scope]
                    npm init <@scope> (same as \`npx <@scope>/create\`)
                    npm init [<@scope>/]<name> (same as \`npx [<@scope>/]create-<name>\`)
                    
                    Options:
                    [-y|--yes] [-f|--force]
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces]
                    
                    aliases: create, innit
                    
                    Run "npm help init" for more info

    install         npm install
                    
                    Install a package
                    
                    Usage:
                    npm install [<@scope>/]<pkg>
                    npm install [<@scope>/]<pkg>@<tag>
                    npm install [<@scope>/]<pkg>@<version>
                    npm install [<@scope>/]<pkg>@<version range>
                    npm install <alias>@npm:<name>
                    npm install <folder>
                    npm install <tarball file>
                    npm install <tarball url>
                    npm install <git:// url>
                    npm install <github username>/<github project>
                    
                    Options:
                    [-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer]
                    [-E|--save-exact] [-g|--global] [--global-style] [--legacy-bundling]
                    [--strict-peer-deps] [--no-package-lock]
                    [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]] [--ignore-scripts]
                    [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces]
                    
                    aliases: i, in, ins, inst, insta, instal, isnt, isnta, isntal, add
                    
                    Run "npm help install" for more info

    install-ci-test npm install-ci-test
                    
                    Install a project with a clean slate and run tests
                    
                    Usage:
                    npm install-ci-test
                    
                    Options:
                    [--no-audit] [--ignore-scripts] [--script-shell <script-shell>]
                    
                    alias: cit
                    
                    Run "npm help install-ci-test" for more info

    install-test    npm install-test
                    
                    Install package(s) and run tests
                    
                    Usage:
                    npm install-test [<@scope>/]<pkg>
                    npm install-test [<@scope>/]<pkg>@<tag>
                    npm install-test [<@scope>/]<pkg>@<version>
                    npm install-test [<@scope>/]<pkg>@<version range>
                    npm install-test <alias>@npm:<name>
                    npm install-test <folder>
                    npm install-test <tarball file>
                    npm install-test <tarball url>
                    npm install-test <git:// url>
                    npm install-test <github username>/<github project>
                    
                    Options:
                    [-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer]
                    [-E|--save-exact] [-g|--global] [--global-style] [--legacy-bundling]
                    [--strict-peer-deps] [--no-package-lock]
                    [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]] [--ignore-scripts]
                    [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces]
                    
                    alias: it
                    
                    Run "npm help install-test" for more info

    link            npm link
                    
                    Symlink a package folder
                    
                    Usage:
                    npm link (in package dir)
                    npm link [<@scope>/]<pkg>[@<version>]
                    
                    Options:
                    [-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer]
                    [-E|--save-exact] [-g|--global] [--global-style] [--legacy-bundling]
                    [--strict-peer-deps] [--no-package-lock]
                    [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]] [--ignore-scripts]
                    [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces]
                    
                    alias: ln
                    
                    Run "npm help link" for more info

    ll              npm ll
                    
                    List installed packages
                    
                    Usage:
                    npm ll [[<@scope>/]<pkg> ...]
                    
                    Options:
                    [-a|--all] [--json] [-l|--long] [-p|--parseable] [-g|--global] [--depth <depth>]
                    [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]] [--link]
                    [--package-lock-only] [--unicode]
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces]
                    
                    alias: la
                    
                    Run "npm help ll" for more info

    login           npm adduser
                    
                    Add a registry user account
                    
                    Usage:
                    npm adduser
                    
                    Options:
                    [--registry <registry>] [--scope <@scope>]
                    
                    aliases: login, add-user
                    
                    Run "npm help adduser" for more info

    logout          npm logout
                    
                    Log out of the registry
                    
                    Usage:
                    npm logout
                    
                    Options:
                    [--registry <registry>] [--scope <@scope>]
                    
                    Run "npm help logout" for more info

    ls              npm ls
                    
                    List installed packages
                    
                    Usage:
                    npm ls [[<@scope>/]<pkg> ...]
                    
                    Options:
                    [-a|--all] [--json] [-l|--long] [-p|--parseable] [-g|--global] [--depth <depth>]
                    [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]] [--link]
                    [--package-lock-only] [--unicode]
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces]
                    
                    alias: list
                    
                    Run "npm help ls" for more info

    org             npm org
                    
                    Manage orgs
                    
                    Usage:
                    npm org set orgname username [developer | admin | owner]
                    npm org rm orgname username
                    npm org ls orgname [<username>]
                    
                    Options:
                    [--registry <registry>] [--otp <otp>] [--json] [-p|--parseable]
                    
                    alias: ogr
                    
                    Run "npm help org" for more info

    outdated        npm outdated
                    
                    Check for outdated packages
                    
                    Usage:
                    npm outdated [[<@scope>/]<pkg> ...]
                    
                    Options:
                    [-a|--all] [--json] [-l|--long] [-p|--parseable] [-g|--global]
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    
                    Run "npm help outdated" for more info

    owner           npm owner
                    
                    Manage package owners
                    
                    Usage:
                    npm owner add <user> [<@scope>/]<pkg>
                    npm owner rm <user> [<@scope>/]<pkg>
                    npm owner ls [<@scope>/]<pkg>
                    
                    Options:
                    [--registry <registry>] [--otp <otp>]
                    
                    alias: author
                    
                    Run "npm help owner" for more info

    pack            npm pack
                    
                    Create a tarball from a package
                    
                    Usage:
                    npm pack [[<@scope>/]<pkg>...]
                    
                    Options:
                    [--dry-run] [--json] [--pack-destination <pack-destination>]
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces]
                    
                    Run "npm help pack" for more info

    ping            npm ping
                    
                    Ping npm registry
                    
                    Usage:
                    npm ping
                    
                    Options:
                    [--registry <registry>]
                    
                    Run "npm help ping" for more info

    pkg             npm pkg
                    
                    Manages your package.json
                    
                    Usage:
                    npm pkg set <key>=<value> [<key>=<value> ...]
                    npm pkg get [<key> [<key> ...]]
                    npm pkg delete <key> [<key> ...]
                    
                    Options:
                    [-f|--force] [--json]
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces]
                    
                    Run "npm help pkg" for more info

    prefix          npm prefix
                    
                    Display prefix
                    
                    Usage:
                    npm prefix [-g]
                    
                    Options:
                    [-g|--global]
                    
                    Run "npm help prefix" for more info

    profile         npm profile
                    
                    Change settings on your registry profile
                    
                    Usage:
                    npm profile enable-2fa [auth-only|auth-and-writes]
                    npm profile disable-2fa
                    npm profile get [<key>]
                    npm profile set <key> <value>
                    
                    Options:
                    [--registry <registry>] [--json] [-p|--parseable] [--otp <otp>]
                    
                    Run "npm help profile" for more info

    prune           npm prune
                    
                    Remove extraneous packages
                    
                    Usage:
                    npm prune [[<@scope>/]<pkg>...]
                    
                    Options:
                    [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]] [--dry-run]
                    [--json] [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces]
                    
                    Run "npm help prune" for more info

    publish         npm publish
                    
                    Publish a package
                    
                    Usage:
                    npm publish [<folder>]
                    
                    Options:
                    [--tag <tag>] [--access <restricted|public>] [--dry-run] [--otp <otp>]
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces]
                    
                    Run "npm help publish" for more info

    rebuild         npm rebuild
                    
                    Rebuild a package
                    
                    Usage:
                    npm rebuild [[<@scope>/]<name>[@<version>] ...]
                    
                    Options:
                    [-g|--global] [--no-bin-links] [--ignore-scripts]
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces]
                    
                    alias: rb
                    
                    Run "npm help rebuild" for more info

    repo            npm repo
                    
                    Open package repository page in the browser
                    
                    Usage:
                    npm repo [<pkgname> [<pkgname> ...]]
                    
                    Options:
                    [--no-browser|--browser <browser>]
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces]
                    
                    Run "npm help repo" for more info

    restart         npm restart
                    
                    Restart a package
                    
                    Usage:
                    npm restart [-- <args>]
                    
                    Options:
                    [--ignore-scripts] [--script-shell <script-shell>]
                    
                    Run "npm help restart" for more info

    root            npm root
                    
                    Display npm root
                    
                    Usage:
                    npm root
                    
                    Options:
                    [-g|--global]
                    
                    Run "npm help root" for more info

    run-script      npm run-script
                    
                    Run arbitrary package scripts
                    
                    Usage:
                    npm run-script <command> [-- <args>]
                    
                    Options:
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces] [--if-present] [--ignore-scripts]
                    [--script-shell <script-shell>]
                    
                    aliases: run, rum, urn
                    
                    Run "npm help run-script" for more info

    search          npm search
                    
                    Search for packages
                    
                    Usage:
                    npm search [search terms ...]
                    
                    Options:
                    [-l|--long] [--json] [--color|--no-color|--color always] [-p|--parseable]
                    [--no-description] [--searchopts <searchopts>] [--searchexclude <searchexclude>]
                    [--registry <registry>] [--prefer-online] [--prefer-offline] [--offline]
                    
                    aliases: s, se, find
                    
                    Run "npm help search" for more info

    set             npm set
                    
                    Set a value in the npm configuration
                    
                    Usage:
                    npm set <key>=<value> [<key>=<value> ...] (See \`npm config\`)
                    
                    Run "npm help set" for more info

    set-script      npm set-script
                    
                    Set tasks in the scripts section of package.json
                    
                    Usage:
                    npm set-script [<script>] [<command>]
                    
                    Options:
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces]
                    
                    Run "npm help set-script" for more info

    shrinkwrap      npm shrinkwrap
                    
                    Lock down dependency versions for publication
                    
                    Usage:
                    npm shrinkwrap
                    
                    Run "npm help shrinkwrap" for more info

    star            npm star
                    
                    Mark your favorite packages
                    
                    Usage:
                    npm star [<pkg>...]
                    
                    Options:
                    [--registry <registry>] [--unicode]
                    
                    Run "npm help star" for more info

    stars           npm stars
                    
                    View packages marked as favorites
                    
                    Usage:
                    npm stars [<user>]
                    
                    Options:
                    [--registry <registry>]
                    
                    Run "npm help stars" for more info

    start           npm start
                    
                    Start a package
                    
                    Usage:
                    npm start [-- <args>]
                    
                    Options:
                    [--ignore-scripts] [--script-shell <script-shell>]
                    
                    Run "npm help start" for more info

    stop            npm stop
                    
                    Stop a package
                    
                    Usage:
                    npm stop [-- <args>]
                    
                    Options:
                    [--ignore-scripts] [--script-shell <script-shell>]
                    
                    Run "npm help stop" for more info

    team            npm team
                    
                    Manage organization teams and team memberships
                    
                    Usage:
                    npm team create <scope:team> [--otp <otpcode>]
                    npm team destroy <scope:team> [--otp <otpcode>]
                    npm team add <scope:team> <user> [--otp <otpcode>]
                    npm team rm <scope:team> <user> [--otp <otpcode>]
                    npm team ls <scope>|<scope:team>
                    
                    Options:
                    [--registry <registry>] [--otp <otp>] [-p|--parseable] [--json]
                    
                    Run "npm help team" for more info

    test            npm test
                    
                    Test a package
                    
                    Usage:
                    npm test [-- <args>]
                    
                    Options:
                    [--ignore-scripts] [--script-shell <script-shell>]
                    
                    aliases: tst, t
                    
                    Run "npm help test" for more info

    token           npm token
                    
                    Manage your authentication tokens
                    
                    Usage:
                    npm token list
                    npm token revoke <id|token>
                    npm token create [--read-only] [--cidr=list]
                    
                    Options:
                    [--read-only] [--cidr <cidr> [--cidr <cidr> ...]] [--registry <registry>]
                    [--otp <otp>]
                    
                    Run "npm help token" for more info

    uninstall       npm uninstall
                    
                    Remove a package
                    
                    Usage:
                    npm uninstall [<@scope>/]<pkg>...
                    
                    Options:
                    [-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer]
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces]
                    
                    aliases: un, unlink, remove, rm, r
                    
                    Run "npm help uninstall" for more info

    unpublish       npm unpublish
                    
                    Remove a package from the registry
                    
                    Usage:
                    npm unpublish [<@scope>/]<pkg>[@<version>]
                    
                    Options:
                    [--dry-run] [-f|--force]
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces]
                    
                    Run "npm help unpublish" for more info

    unstar          npm unstar
                    
                    Remove an item from your favorite packages
                    
                    Usage:
                    npm unstar [<pkg>...]
                    
                    Options:
                    [--registry <registry>] [--unicode] [--otp <otp>]
                    
                    Run "npm help unstar" for more info

    update          npm update
                    
                    Update packages
                    
                    Usage:
                    npm update [<pkg>...]
                    
                    Options:
                    [-g|--global] [--global-style] [--legacy-bundling] [--strict-peer-deps]
                    [--no-package-lock] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
                    [--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces]
                    
                    aliases: up, upgrade, udpate
                    
                    Run "npm help update" for more info

    version         npm version
                    
                    Bump a package version
                    
                    Usage:
                    npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git]
                    
                    Options:
                    [--allow-same-version] [--no-commit-hooks] [--no-git-tag-version] [--json]
                    [--preid prerelease-id] [--sign-git-tag]
                    [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces]
                    
                    alias: verison
                    
                    Run "npm help version" for more info

    view            npm view
                    
                    View registry info
                    
                    Usage:
                    npm view [<@scope>/]<pkg>[@<version>] [<field>[.subfield]...]
                    
                    Options:
                    [--json] [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
                    [-ws|--workspaces]
                    
                    aliases: v, info, show
                    
                    Run "npm help view" for more info

    whoami          npm whoami
                    
                    Display npm username
                    
                    Usage:
                    npm whoami
                    
                    Options:
                    [--registry <registry>]
                    
                    Run "npm help whoami" for more info

Specify configs in the ini-formatted file:
    /some/config/file/.npmrc
or on the command line via: npm <command> --key=value

More configuration info: npm help config
Configuration fields: npm help 7 config

npm@{VERSION} {BASEDIR}
`