🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@sabirmgd/cimb-statement-parser

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sabirmgd/cimb-statement-parser

Deterministic CIMB bank statement PDF parser with CLI and library API.

latest
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

CIMB Statement Parser

Deterministic parser for CIMB statement PDFs.

It ships as:

  • a CLI: cimb-statement-parser
  • a library export: parseCimbStatementPdfDeterministic
  • a CSV serializer: transactionsToCsv

Install

Local install:

npm install

From a published npm package:

npm install @sabirmgd/cimb-statement-parser

CLI Usage

npx @sabirmgd/cimb-statement-parser /path/to/CIMBClicks.pdf output.json

CSV output:

npx @sabirmgd/cimb-statement-parser /path/to/CIMBClicks.pdf output.csv

Or force the format explicitly:

npx @sabirmgd/cimb-statement-parser /path/to/CIMBClicks.pdf report.txt --format csv

Or after install:

cimb-statement-parser /path/to/CIMBClicks.pdf output.json

If you omit output.json, the parsed JSON is printed to stdout.

Library Usage

const {
  parseCimbStatementPdfDeterministic,
  transactionsToCsv,
} = require("@sabirmgd/cimb-statement-parser");

async function run(pdfPath) {
  const transactions = await parseCimbStatementPdfDeterministic(pdfPath);
  const csv = transactionsToCsv(transactions);
  console.log(csv);
}

Verify

Run the regression tests:

npm test

Check the npm tarball contents:

npm run pack:check

Publish

  • Bump the version in package.json.
  • Log in to npm:
npm login
  • Publish:
npm publish

If you use a scoped package and want it public:

npm publish --access public

Included Files

The published package includes only:

  • cimb-deterministic.js
  • index-deterministic.js
  • pdf-helper.js
  • README.md

Keywords

pdf

FAQs

Package last updated on 18 Mar 2026

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