Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

cif-parser

1.4.1 • Public • Published

parser-cif

cif-parser is a node.js module that parses and converts results of bike race published by FFC CIF from PDF to json format, it's built with pdf2json.

The goal is to enable server side parsing.

Install

npm install cif-parser

Code Example

  • Parse a PDF file then write to a JSON file:
    let CIF2JSON = require('cif-parser');
 
    let cifParser = new CIF2JSON("./res/lagny.pdf", "BENICHON");
    cifParser.on("cif_parser_dataReady", competitors => console.log(competitors));
    cifParser.generateJSON();

Keywords

none

install

npm i cif-parser

Downloadsweekly downloads

0

version

1.4.1

license

GNU GPL

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability