tabletojson
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -9,3 +9,3 @@ { | ||
"description": "Converts HTML tables to JSON objects", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"main": "./lib/tabletojson.js", | ||
@@ -12,0 +12,0 @@ "keywords": [ |
@@ -45,5 +45,5 @@ # Table to JSON | ||
tabletojson.convertUrl(url) | ||
.then(function(json) { | ||
var firstTableAsJson = tablesAsJson[0]; | ||
var secondTableAsJson = tablesAsJson[1]; | ||
.then(function(tablesAsJson) { | ||
var standardAndPoorRatings = tablesAsJson[0]; | ||
var fitchRatings = tablesAsJson[1]; | ||
... | ||
@@ -59,3 +59,3 @@ }); | ||
tabletojson.convertUrl(url) | ||
.then(function(json) { | ||
.then(function(tablesAsJson) { | ||
var standardAndPoorCreditRatings = tablesAsJson[0]; | ||
@@ -62,0 +62,0 @@ json2csv({ data: standardAndPoorCreditRatings, fields: [ 'Country', 'Outlook'] }, function(err, csv) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5372