Socket
Socket
Sign inDemoInstall

csv-to-js-parser

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csv-to-js-parser - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

18

example/example.js

@@ -12,11 +12,11 @@ 'use strict';

const description =
{
customer_id: {constant: true, type: 'number', mainKey: true},
product: {constant: false, type: 'string'},
product_id:{constant: false, type: 'number'},
customer_name: {constant: true, type: 'string'},
price: {constant: false, type: 'number'},
closed: {constant: false, type: 'boolean'},
customer_status: {constant: true, type: 'number'}
};
{
customer_id: {type: 'number', order: 1},
product: {type: 'string'},
product_id: {type: 'number'},
customer_name: {type: 'string', order: 2},
price: {type: 'number'},
closed: {type: 'boolean'},
customer_status: {type: 'number', order: 2}
};

@@ -23,0 +23,0 @@ //Csv to JavaScript object

{
"name": "csv-to-js-parser",
"version": "2.0.0",
"description": "Converting csv data into array of JavaScript objects. Can be used for relation format input tables.",
"version": "2.0.1",
"description": "Converting csv data into array of JavaScript objects. This module can group data from input tables.",
"main": "app.js",

@@ -6,0 +6,0 @@ "scripts": {

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