Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

cif-parser

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cif-parser

Parse results of bike race published by FFC CIF

latest
Source
npmnpm
Version
1.4.2
Version published
Maintainers
1
Created
Source

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();

FAQs

Package last updated on 19 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts