@@ -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
@@ -124,16 +132,18 @@ Load parser based on user defined choice.
124
132
125
133
##### Parameters
126
134
127
- - ** config** ` Object ` Configuration object.
128
- - ** config.parser** ` String ` String representing the parser to be loaded.
135
+ | Name | Type | Description | |
136
+ | ---- | ---- | ----------- | -------- |
137
+ | config | ` Object ` | Configuration object. |   ; |
138
+ | config.parser | ` String ` | String representing the parser to be loaded. |   ; |
129
139
130
140
131
141
132
142
133
143
##### Returns
134
144
135
145
136
- - ` Object ` Promise
146
+ - ` Object ` Promise
137
147
138
148
139
149
@@ -150,16 +160,18 @@ Load layout plugin based on user defined choice.
150
160
151
161
##### Parameters
152
162
153
- - ** config** ` Object ` Configuration object.
154
- - ** config.layout** ` String ` String representing the layout plugin to be loaded.
163
+ | Name | Type | Description | |
164
+ | ---- | ---- | ----------- | -------- |
165
+ | config | ` Object ` | Configuration object. |   ; |
166
+ | config.layout | ` String ` | String representing the layout plugin to be loaded. |   ; |
155
167
156
168
157
169
158
170
159
171
##### Returns
160
172
161
173
162
- - ` Object ` Promise
174
+ - ` Object ` Promise
163
175
164
176
165
177
@@ -180,15 +192,17 @@ Finds package.json file from either the directory the script was called from or
180
192
181
193
##### Parameters
182
194
183
- - ** input** ` String ` * Optional* Directory or file.
195
+ | Name | Type | Description | |
196
+ | ---- | ---- | ----------- | -------- |
197
+ | input | ` String ` | Directory or file. | * Optional* |
184
198
185
199
186
200
187
201
188
202
##### Returns
189
203
190
204
191
- - ` String ` Path to package.json file.
205
+ - ` String ` Path to package.json file.
192
206
193
207
194
208
@@ -203,15 +217,17 @@ Format an array of directories and/or files to be ignored by globby by adding a
203
217
204
218
##### Parameters
205
219
206
- - ** paths** ` Array ` Array of directories and/or files.
220
+ | Name | Type | Description | |
221
+ | ---- | ---- | ----------- | -------- |
222
+ | paths | ` Array ` | Array of directories and/or files. |   ; |
207
223
208
224
209
225
210
226
211
227
##### Returns
212
228
213
229
214
- - ` Array ` Modified array of directories and/or files.
230
+ - ` Array ` Modified array of directories and/or files.
215
231
216
232
217
233
@@ -226,15 +242,17 @@ Sets default configuration values.
226
242
227
243
##### Parameters
228
244
229
- - ** config** ` Object ` Custom configuration object.
245
+ | Name | Type | Description | |
246
+ | ---- | ---- | ----------- | -------- |
247
+ | config | ` Object ` | Custom configuration object. |   ; |
230
248
231
249
232
250
233
251
234
252
##### Returns
235
253
236
254
237
- - ` Object ` Modified configuration object.
255
+ - ` Object ` Modified configuration object.
238
256
239
257
240
258
0 commit comments