new CSV(cfg)
Constructor. It accepts an Options object.
- Source:
- See:
Parameters:
Name | Type | Description |
---|---|---|
cfg |
Options
|
null
|
Options to be configured. |
Methods
configure(cfg)
Configure the options.
Parameters:
Name | Type | Description |
---|---|---|
cfg |
Options
|
null
|
Options to be configured. |
parse(str) → {Definition|any}
Parse the input string based on the options configured.
- Source:
- See:
Parameters:
Name | Type | Description |
---|---|---|
str |
string
|
input string to be parsed (CSV string). |