cif-parser
Advanced tools
+5
-4
@@ -36,6 +36,6 @@ /** | ||
| super(); | ||
| this.pdfFilePath = pdfFilePath; | ||
| this.pdfBuffer = pdfBuffer; | ||
| this.competitorName = competitorName; | ||
| this.unexpectedBikers = unexpectedBikers; | ||
| this.pdfBuffer = pdfBuffer; | ||
| this.pdfFormat = pdfFormat; | ||
| } | ||
@@ -93,3 +93,3 @@ | ||
| pdfParser.loadPDF(this.pdfFilePath); | ||
| pdfParser.loadPDF(this.pdfBuffer); | ||
| } | ||
@@ -103,2 +103,3 @@ | ||
| pdfParser.on("pdfParser_dataReady", pdfData => { | ||
| fs.writeFile("./res/result.json", JSON.stringify(pdfData)); | ||
@@ -278,3 +279,3 @@ /** | ||
| pdfParser.loadPDF(this.pdfFilePath); | ||
| pdfParser.parseBuffer(this.pdfBuffer); | ||
| } | ||
@@ -281,0 +282,0 @@ |
+1
-1
| { | ||
| "name": "cif-parser", | ||
| "version": "1.3.0", | ||
| "version": "1.3.1", | ||
| "description": "Parse results of bike race published by FFC CIF", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
512154
0.01%270
0.37%