Socket
Socket
Sign inDemoInstall

csv.js

Package Overview
Dependencies
0
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

4

lib/csv.js

@@ -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.

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