npm

Bring the best of OSS JavaScript development to your projects with npm Orgs - private packages & team management tools.Learn more »

cif-parser

1.4.2 • 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

39

version

1.4.2

license

GNU GPL

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability