@@ -11,7 +11,7 @@ description: Retrieve funding information
1111<!-- see lib/commands/fund.js -->
1212
1313``` bash
14- npm fund [[ < @scope > /] < pkg > ]
14+ npm fund [< package-spec > ]
1515```
1616
1717<!-- automatically generated, do not edit manually -->
@@ -23,22 +23,22 @@ npm fund [[<@scope>/]<pkg>]
2323
2424This command retrieves information on how to fund the dependencies of a
2525given project. If no package name is provided, it will list all
26- dependencies that are looking for funding in a tree structure, listing the
27- type of funding and the url to visit. If a package name is provided then it
28- tries to open its funding url using the ` --browser ` config param; if there
29- are multiple funding sources for the package, the user will be instructed
30- to pass the ` --which ` option to disambiguate.
26+ dependencies that are looking for funding in a tree structure, listing
27+ the type of funding and the url to visit. If a package name is provided
28+ then it tries to open its funding url using the ` --browser ` config
29+ param; if there are multiple funding sources for the package, the user
30+ will be instructed to pass the ` --which ` option to disambiguate.
3131
3232The list will avoid duplicated entries and will stack all packages that
33- share the same url as a single entry. Thus, the list does not have the same
34- shape of the output from ` npm ls ` .
33+ share the same url as a single entry. Thus, the list does not have the
34+ same shape of the output from ` npm ls ` .
3535
3636#### Example
3737
3838### Workspaces support
3939
40- It's possible to filter the results to only include a single workspace and its
41- dependencies using the ` workspace ` config option.
40+ It's possible to filter the results to only include a single workspace
41+ and its dependencies using the ` workspace ` config option.
4242
4343#### Example:
4444
@@ -58,8 +58,8 @@ test-workspaces-fund@1.0.0
5858 ` -- bar@2.0.0
5959```
6060
61- And here is an example of the expected result when filtering only by
62- a specific workspace ` a ` in the same project:
61+ And here is an example of the expected result when filtering only by a
62+ specific workspace ` a ` in the same project:
6363
6464``` bash
6565$ npm fund -w a
@@ -156,6 +156,7 @@ If there are multiple funding sources, which 1-indexed source URL to open.
156156
157157## See Also
158158
159+ * [ package spec] ( /using-npm/package-spec )
159160* [ npm install] ( /commands/npm-install )
160161* [ npm docs] ( /commands/npm-docs )
161162* [ npm ls] ( /commands/npm-ls )
0 commit comments