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

tabletojson

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tabletojson - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

package.json

@@ -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) {

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