Skip to content

Commit e0d6479

Browse files
committed
Updating readme
1 parent 2c44a2e commit e0d6479

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ let converter = require('json-2-csv');
6464

6565
For examples, please refer to the [json2csv API Documentation (Link)](https://github.com/mrodrig/json-2-csv/wiki/json2csv-Documentation)
6666

67-
#### Promisified Version: json2csvPromisified(array, options).then(...).catch(...);
67+
#### Promisified Version: `converter.json2csvPromisified(array, options)`
6868

6969
Available in version `2.2.0`, this functionality makes use of promises from the `bluebird` module.
7070

71-
#### csv2json(csv, callback, options)
71+
#### `converter.csv2json(csv, callback, options)`
7272

7373
* `csv` - A string of CSV
7474
* `callback` - A function of the form `function (err, array)`; This function will receive any errors and/or the array of JSON documents generated.
@@ -93,7 +93,7 @@ Available in version `2.2.0`, this functionality makes use of promises from the
9393

9494
For examples, please refer to the [csv2json API Documentation (Link)](https://github.com/mrodrig/json-2-csv/wiki/csv2json-Documentation)
9595

96-
#### Promisified Version: csv2jsonPromisified(csv, options).then(...).catch(...);
96+
#### Promisified Version: `csv2jsonPromisified(csv, options)`
9797

9898
Available in version `2.2.0`, this functionality makes use of promises from the `bluebird` module.
9999

0 commit comments

Comments
 (0)