@@ -17,17 +17,19 @@ Parse a file with custom parser.
17
17
18
18
##### Parameters
19
19
20
- - ** input** ` String ` File to parse.
21
- - ** config** ` Object ` Configuration object.
22
- - ** config.parser** ` String ` String representing the parser to be used.
20
+ | Name | Type | Description | |
21
+ | ---- | ---- | ----------- | -------- |
22
+ | input | ` String ` | File to parse. |   ; |
23
+ | config | ` Object ` | Configuration object. |   ; |
24
+ | config.parser | ` String ` | String representing the parser to be used. |   ; |
23
25
24
26
25
27
26
28
27
29
##### Returns
28
30
29
31
30
- - ` Object ` Promise
32
+ - ` Object ` Promise
31
33
32
34
33
35
@@ -42,19 +44,21 @@ Parse array of files, and then render the parsed data through the defined layout
42
44
43
45
##### Parameters
44
46
45
- - ** inputs** ` Array ` Array of directory globs and/or files.
46
- - ** config** ` Object ` Configuration object.
47
- - ** config.ignore** ` String ` Array of paths to ignore.
48
- - ** config.parser** ` String ` String representing the parser to be used.
49
- - ** config.layout** ` String ` String representing the layout plugin to be used.
47
+ | Name | Type | Description | |
48
+ | ---- | ---- | ----------- | -------- |
49
+ | inputs | ` Array ` | Array of directory globs and/or files. |   ; |
50
+ | config | ` Object ` | Configuration object. |   ; |
51
+ | config.ignore | ` String ` | Array of paths to ignore. |   ; |
52
+ | config.parser | ` String ` | String representing the parser to be used. |   ; |
53
+ | config.layout | ` String ` | String representing the layout plugin to be used. |   ; |
50
54
51
55
52
56
53
57
54
58
##### Returns
55
59
56
60
57
- - ` Object ` Promise
61
+ - ` Object ` Promise
58
62
59
63
60
64
@@ -69,19 +73,21 @@ Parse array of directory globs and/or files, and then render the parsed data thr
69
73
70
74
##### Parameters
71
75
72
- - ** inputs** ` Array ` Array of directory globs and/or files.
73
- - ** config** ` Object ` Configuration object.
74
- - ** config.ignore** ` String ` Array of paths to ignore.
75
- - ** config.parser** ` String ` String representing the parser to be used.
76
- - ** config.layout** ` String ` String representing the layout plugin to be used.
76
+ | Name | Type | Description | |
77
+ | ---- | ---- | ----------- | -------- |
78
+ | inputs | ` Array ` | Array of directory globs and/or files. |   ; |
79
+ | config | ` Object ` | Configuration object. |   ; |
80
+ | config.ignore | ` String ` | Array of paths to ignore. |   ; |
81
+ | config.parser | ` String ` | String representing the parser to be used. |   ; |
82
+ | config.layout | ` String ` | String representing the layout plugin to be used. |   ; |
77
83
78
84
79
85
80
86
81
87
##### Returns
82
88
83
89
84
- - ` Object ` Promise
90
+ - ` Object ` Promise
85
91
86
92
87
93
@@ -101,15 +107,17 @@ Find which node_modules directory to load package from.
101
107
102
108
##### Parameters
103
109
104
- - ** pkg** ` String ` Package name as string.
110
+ | Name | Type | Description | |
111
+ | ---- | ---- | ----------- | -------- |
112
+ | pkg | ` String ` | Package name as string. |   ; |
105
113
106
114
107
115
108
116
109
117
##### Returns
110
118
111
119
112
- - ` Object ` Promise
120
+ - ` Object ` Promise
113
121
114
122
115
123
@@ -125,16 +133,18 @@ Load parser based on user defined choice.
125
133
126
134
##### Parameters
127
135
128
- - ** config** ` Object ` Configuration object.
129
- - ** config.parser** ` String ` String representing the parser to be loaded.
136
+ | Name | Type | Description | |
137
+ | ---- | ---- | ----------- | -------- |
138
+ | config | ` Object ` | Configuration object. |   ; |
139
+ | config.parser | ` String ` | String representing the parser to be loaded. |   ; |
130
140
131
141
132
142
133
143
134
144
##### Returns
135
145
136
146
137
- - ` Object ` Promise
147
+ - ` Object ` Promise
138
148
139
149
140
150
@@ -151,16 +161,18 @@ Load layout plugin based on user defined choice.
151
161
152
162
##### Parameters
153
163
154
- - ** config** ` Object ` Configuration object.
155
- - ** config.layout** ` String ` String representing the layout plugin to be loaded.
164
+ | Name | Type | Description | |
165
+ | ---- | ---- | ----------- | -------- |
166
+ | config | ` Object ` | Configuration object. |   ; |
167
+ | config.layout | ` String ` | String representing the layout plugin to be loaded. |   ; |
156
168
157
169
158
170
159
171
160
172
##### Returns
161
173
162
174
163
- - ` Object ` Promise
175
+ - ` Object ` Promise
164
176
165
177
166
178
@@ -181,15 +193,17 @@ Finds package.json file from either the directory the script was called from or
181
193
182
194
##### Parameters
183
195
184
- - ** input** ` String ` * Optional* Directory or file.
196
+ | Name | Type | Description | |
197
+ | ---- | ---- | ----------- | -------- |
198
+ | input | ` String ` | Directory or file. | * Optional* |
185
199
186
200
187
201
188
202
189
203
##### Returns
190
204
191
205
192
- - ` String ` Path to package.json file.
206
+ - ` String ` Path to package.json file.
193
207
194
208
195
209
@@ -204,15 +218,17 @@ Format an array of directories and/or files to be ignored by globby by adding a
204
218
205
219
##### Parameters
206
220
207
- - ** paths** ` Array ` Array of directories and/or files.
221
+ | Name | Type | Description | |
222
+ | ---- | ---- | ----------- | -------- |
223
+ | paths | ` Array ` | Array of directories and/or files. |   ; |
208
224
209
225
210
226
211
227
212
228
##### Returns
213
229
214
230
215
- - ` Array ` Modified array of directories and/or files.
231
+ - ` Array ` Modified array of directories and/or files.
216
232
217
233
218
234
@@ -227,15 +243,17 @@ Sets default configuration values.
227
243
228
244
##### Parameters
229
245
230
- - ** config** ` Object ` Custom configuration object.
246
+ | Name | Type | Description | |
247
+ | ---- | ---- | ----------- | -------- |
248
+ | config | ` Object ` | Custom configuration object. |   ; |
231
249
232
250
233
251
234
252
235
253
##### Returns
236
254
237
255
238
- - ` Object ` Modified configuration object.
256
+ - ` Object ` Modified configuration object.
239
257
240
258
241
259
0 commit comments