Socket
Socket
Sign inDemoInstall

json-2-csv

Package Overview
Dependencies
Maintainers
1
Versions
140
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-2-csv - npm Package Compare versions

Comparing version 0.0.3 to 0.0.8

bin/json2csv

5

lib/main.js
(function () {
var json2csv, data, callback;
json2csv = require('./json-2-csv');
json2csv = require('./json2csv');
data = process.argv[2];
console.log('json2csv required');
json2csv(data, function (err, csv) {

@@ -14,2 +15,2 @@ if (err) {

});
}).call(this);
}).call(this);

49

package.json
{
"author": "mrodrig",
"name": "json-2-csv",
"description": "Convert JSON to CSV (including sub-documents)",
"version": "0.0.3",
"repository": {
"url": ""
},
"main": "./lib/main",
"keywords": [
"json",
"csv",
"converter",
"json2csv",
"json-2-csv"
],
"dependencies": {
"underscore": "1.6.0",
"async": "0.2.10"
},
"devDependencies": {},
"engines": {
"node": "*"
}
"name": "json-2-csv",
"version": "0.0.8",
"description": "A JSON to CSV converter that natively supports sub-documents and auto-generates the heading.",
"main": "lib/json2csv.js",
"bin": {
"json-2-csv": "json2csv"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/mrodrig/json-2-csv.git"
},
"keywords": [
"json",
"csv",
"json2csv",
"converter"
],
"author": "mrodrig",
"license": "ISC",
"bugs": {
"url": "https://github.com/mrodrig/json-2-csv/issues"
},
"homepage": "https://github.com/mrodrig/json-2-csv"
}
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