File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change 41
41
``` javascript
42
42
import { json2csv } from ' json-2-csv' ;
43
43
```
44
- Looking for examples? Check out the Wiki: [ json-2-csv Wiki] ( https://github.com/mrodrig/json-2-csv/wiki )
45
44
46
45
### API
47
46
@@ -165,8 +164,6 @@ Returns the CSV `string` or rejects with an `Error` if there was an issue.
165
164
* Default: `false`
166
165
167
166
168
- For examples, please refer to the [json2csv API Documentation (Link)](https://github.com/mrodrig/json-2-csv/wiki/json2csv-Documentation)
169
-
170
167
#### `csv2json(csv, options)` => object[]
171
168
172
169
Returns the JSON object array (`object[]`) or rejects with an `Error` if there was an issue.
@@ -197,8 +194,6 @@ Returns the JSON object array (`object[]`) or rejects with an `Error` if there w
197
194
* `trimFieldValues` - Boolean - Should the field values be trimmed?
198
195
* Default: `false`
199
196
200
- For examples, please refer to the [csv2json API Documentation (Link)](https://github.com/mrodrig/json-2-csv/wiki/csv2json-Documentation)
201
-
202
197
### CLI
203
198
Note: As of `3.5.8`, the command line interface functionality has been pulled out to a separate package. Please be sure to
204
199
install the `@mrodrig/json-2-csv-cli` NPM package if you wish to use the CLI functionality shown below:
@@ -258,9 +253,6 @@ To see test coverage, please run:
258
253
$ npm run coverage
259
254
```
260
255
261
- ## Frequently Asked Questions (FAQ)
262
- Please find the updated list (relocated to the Wiki) here: [ Frequently Asked Questions (Link)] ( https://github.com/mrodrig/json-2-csv/wiki/FAQ )
263
-
264
256
## Features
265
257
* Header Generation (per document keys)
266
258
* Allows for conversion of specific keys in both json2csv and csv2json via the options.keys parameter (as of 1.1.2)
You can’t perform that action at this time.
0 commit comments