Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Commit 75c1e6a

Browse files
Update README.md
1 parent 095fbe0 commit 75c1e6a

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CSVJS Allows CSV, Comma-Separated values, in JS.
44
### Starting up
55
Use this script to get the script
66
```html
7-
<script src="https://cdn.jsdelivr.net/gh/XHiddenProjects/CSVJS@1.0.0/csv.min.js"></script>
7+
<script src="https://cdn.jsdelivr.net/gh/XHiddenProjects/CSVJS@1.0.1/csv.min.js"></script>
88
```
99

1010
### Creating object
@@ -54,3 +54,14 @@ To load up the table from an object, use the **toTable** method
5454
*/
5555
csv.toTable(myCSV, {element});
5656
```
57+
58+
### Coverting Objects to CSV
59+
To convert objects to CSV, use the **toCSV()** method
60+
```js
61+
/**
62+
* Converts Object to CSV
63+
* @param {Object} obj Object to convert
64+
* @returns {String} CSV String
65+
*/
66+
csv.toCSV(myCSV);
67+
```

0 commit comments

Comments
 (0)