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

    hsbc-statement-parserpublic

    HsbcStatementParser

    Parses and converts HSBC bank statements downloaded in PDF format into a list of operations in JSON or TSV format.

    Relies on Modesty's PDF2JSON Node.js module.

    Only supports statements in French language, for now.

    Installation

    npm install hsbc-statement-parser
    

    CLI Syntax

    hsbcextr <json|tsv|null|1line|test> <pdf_file_name_1> [<pdf_file_name_2> [<pdf_file_name_3> ...]]
    

    Usage

    var parser = new HsbcStatementParser();
    parser.parseFile(pdfFilePath, function(err, sta){
    	if (err)
    		console.error(err.stack);
    	else {
    	  console.log("parsed " + sta.ops.length + " operations");
    	  console.log("closing balance: " + sta.balTo);
    	}
    });
    

    install

    npm i hsbc-statement-parser

    Downloadsweekly downloads

    8

    version

    0.1.2

    license

    BSD

    repository

    github.com

    last publish

    collaborators

    • avatar