Skip to content

Commit 707b8a7

Browse files
committed
fixed case for pretty table in readme
1 parent 2743625 commit 707b8a7

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
## Prettytable
1+
## PrettyTable
22

3-
Prettytable is a CLI based module for printing ASCII tables on the console from multiple data sources. The table can be populated by adding table rows one by one or from a CSV file or from a JSON file. It provides multiple ways of manipulating table data - sorting on a specific column, deleting a particular row or the table itself. The table can be printed as plain text or as a HTML table.
3+
PrettyTable is a CLI based module for printing ASCII tables on the console from multiple data sources. The table can be populated by adding table rows one by one or from a CSV file or from a JSON file. It provides multiple ways of manipulating table data - sorting on a specific column, deleting a particular row or the table itself. The table can be printed as plain text or as a HTML table.
44

55
### Basic Usage
66

@@ -61,7 +61,7 @@ We are using `fieldNames()` method and passing a list of table headers. Method `
6161

6262
### Importing from CSV File
6363

64-
Prettytable can load a local CSV file and print it on the console. It considers the first row to generate table headers.
64+
PrettyTable can load a local CSV file and print it on the console. It considers the first row to generate table headers.
6565

6666
```javascript
6767
PrettyTable = require('prettytable');
@@ -73,7 +73,7 @@ pt.print();
7373

7474
### Importing from JSON File
7575

76-
Like CSV, Prettytable can load a local JSON file, parse through it and finally print it on the console. Table headers are automatically determined from the keys.
76+
Like CSV, PrettyTable can load a local JSON file, parse through it and finally print it on the console. Table headers are automatically determined from the keys.
7777

7878
```javascript
7979
PrettyTable = require('prettytable');
@@ -85,7 +85,7 @@ pt.print();
8585

8686
### Output Formats
8787

88-
Prettytable can print a table directly to the console, return as a string or print in HTML format.
88+
PrettyTable can print a table directly to the console, return as a string or print in HTML format.
8989

9090
The following example shows returning the table as plain text and then printing to the console.
9191

@@ -132,7 +132,7 @@ console.log(styledHTML);
132132

133133
### Sorting Table by Column
134134

135-
Prettytable also offers option to sort the table given a column name. Additional parameters can be passed to sort in ascending or descending order. If no parameter is passed, the table will be sorted in ascending order.
135+
PrettyTable also offers option to sort the table given a column name. Additional parameters can be passed to sort in ascending or descending order. If no parameter is passed, the table will be sorted in ascending order.
136136

137137
```javascript
138138
PrettyTable = require('prettytable');

0 commit comments

Comments
 (0)