csv.js
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -9,3 +9,3 @@ /** | ||
* @module csv.js | ||
* @version 1.0.0 | ||
* @version 1.0.1 | ||
*/ | ||
@@ -325,3 +325,3 @@ ( function ( global ) { | ||
encode : encode, | ||
version : "1.0.0" | ||
version : "1.0.1" | ||
}; | ||
@@ -328,0 +328,0 @@ |
{ | ||
"name": "csv.js", | ||
"description": "Simplify encoding & decoding CSV", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"homepage": "https://github.com/avoidwork/csv.js", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -20,2 +20,9 @@ # csv.js | ||
## API | ||
### encode( arg[, delimiter, header] ) | ||
Encodes `arg` as CSV. The optional `delimiter` allows you change the default `comma`. The optional `header` allows you to disable the first row of column names by passing `false`. | ||
### decode( arg[, delimiter] ) | ||
Decodes `arg` to an `Array` of `Objects`. The optional `delimiter` allows you to specify the delimiter if it is not a `comma`. | ||
## How can I load csv.js? | ||
@@ -22,0 +29,0 @@ csv.js supports AMD loaders (require.js, curl.js, etc.), CommonJS, node.js & npm (npm install csv.js), or using a script tag. |
11240
35