Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fast-csv

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-csv - npm Package Compare versions

Comparing version 0.3.1 to 0.4.0

2

lib/formatter.js

@@ -12,3 +12,3 @@ var fs = require("fs"),

options = options || {};
var delimiter = options.delimeter || ",",
var delimiter = options.delimiter || ",",
ESCAPE_REGEXP = new RegExp("[" + delimiter + "\\r\\n']"),

@@ -15,0 +15,0 @@ QUOTE = options.quote || '"',

{
"name": "fast-csv",
"version": "0.3.1",
"version": "0.4.0",
"description": "CSV parser and writer",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -22,4 +22,4 @@ [![build status](https://secure.travis-ci.org/C2FO/fast-csv.png)](http://travis-ci.org/C2FO/fast-csv)

* `delimiter=','`: If your data uses an alternate delimiter such as `;` or `\t`.
* **NOTE** When specifying an alternate `delimiter` you may only pass in a single character delimeter
* `quote='"'`: The character to use to escape values that contain a delimeter.
* **NOTE** When specifying an alternate `delimiter` you may only pass in a single character delimiter
* `quote='"'`: The character to use to escape values that contain a delimiter.
* `escape='"'`: The character to use when escaping a value that is `quoted` and contains a `quote` character.

@@ -26,0 +26,0 @@ * `i.e`: 'First,"Name"' => '"First,""name"""'

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc