summaryrefslogtreecommitdiff
path: root/deps/npm/man/man1/npm-fund.1
blob: 83280693f2794b7d577d7590f2925f9283273294 (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
.TH "NPM\-FUND" "1" "November 2019" "" ""
.SH "NAME"
\fBnpm-fund\fR \- Retrieve funding information
.SS Synopsis
.P
.RS 2
.nf
    npm fund [<pkg>]
.fi
.RE
.SS Description
.P
This command retrieves information on how to fund the dependencies of
a given project\. If no package name is provided, it will list all
dependencies that are looking for funding in a tree\-structure in which
are listed the type of funding and the url to visit\. If a package name
is provided then it tries to open its funding url using the \fB\-\-browser\fP
config param\.
.P
The list will avoid duplicated entries and will stack all packages
that share the same type/url as a single entry\. Given this nature the
list is not going to have the same shape of the output from \fBnpm ls\fP\|\.
.SS Configuration
.SS browser
.RS 0
.IP \(bu 2
Default: OS X: \fB"open"\fP, Windows: \fB"start"\fP, Others: \fB"xdg\-open"\fP
.IP \(bu 2
Type: String

.RE
.P
The browser that is called by the \fBnpm fund\fP command to open websites\.
.SS json
.RS 0
.IP \(bu 2
Default: false
.IP \(bu 2
Type: Boolean

.RE
.P
Show information in JSON format\.
.SS unicode
.RS 0
.IP \(bu 2
Type: Boolean
.IP \(bu 2
Default: true

.RE
.P
Whether to represent the tree structure using unicode characters\.
Set it to \fBfalse\fP in order to use all\-ansi output\.
.SH See Also
.RS 0
.IP \(bu 2
npm help docs
.IP \(bu 2
npm help config
.IP \(bu 2
npm help install
.IP \(bu 2
npm help ls

.RE