Socket
Socket
Sign inDemoInstall

csv-es

Package Overview
Dependencies
0
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.0.2

2

package.json
{
"name": "csv-es",
"version": "2.0.1",
"version": "2.0.2",
"description": "A modern, fast, RFC 4180 compliant parser for JS",

@@ -5,0 +5,0 @@ "keywords": [

@@ -43,3 +43,3 @@ <h1 align="center">CSV-ES</h1>

```CSV.parse(csv, {options}, reviver(value, col, row)) : [entries][values]```
```CSV.parse(csv, {options}, reviver(value, row, col)) : [entries][values]```

@@ -49,4 +49,6 @@ - csv - the CSV string to parse

- typed - infer types (default `false`)
- reviver - a custom function to modify the output (default `(value) => value`)
- reviver<sup>1</sup> - a custom function to modify the output (default `(value) => value`)
*<sup>1</sup> Values for `row` and `col` are 1-based.*
### Example

@@ -76,3 +78,3 @@

```CSV.stringify(array, {options}, replacer(value, col, row)) : string```
```CSV.stringify(array, {options}, replacer(value, row, col)) : string```

@@ -82,4 +84,6 @@ - array - the input array to stringify

- eof - add a trailing newline at the end of file (default `true`)
- replacer - a custom function to modify the values (default `(value) => value`)
- replacer<sup>1</sup> - a custom function to modify the values (default `(value) => value`)
*<sup>1</sup> Values for `row` and `col` are 1-based.*
### Example

@@ -86,0 +90,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc