🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
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

Source
npmnpm
Version
1.3.0
Version published
Weekly downloads
3
-87.5%
Maintainers
1
Weekly downloads
 
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 23 Jul 2018

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