Added micro parser
This commit is contained in:
13
README.md
Normal file
13
README.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# Micro CSV
|
||||
Micro CSV Parser for JavaScript and Google Script. Designed to be small,
|
||||
efficient and no dependencies.
|
||||
|
||||
## Usage
|
||||
Only one method is provided;
|
||||
```js
|
||||
const csv = 'Name,Age,Location\nDom,26,Sydney\nSteve,30,New York';
|
||||
parseCSV(csv, function(line) {
|
||||
console.log(line.name);//Dom then Steve
|
||||
})
|
||||
```
|
||||
To stay efficient we ask for a callback that is fired for every line parsed.
|
||||
Reference in New Issue
Block a user