payslip-parser

0.0.5 • Public • Published

payslip-parser

A naive parser for a few payslip formats.

Supports

  • XERO
  • Employment Hero

If it can't recognize the format, payslip-parser simply runs the file through pdf-parse naively.

npx payslip-parser /documents/payslips/*.pdf

I recommend piping the results into ramda-cli or (jq if you prefer).

payslip-parser /documents/payslips/*.pdf | npx ramda-cli "pluck('driverName')"
[
    "Employment Hero",
    "XERO",
    "RAW"
]

Contributing

This parser is super naive, it might not handle your payslip if there's even a slight deviation in the structure. PR's welcome!

Repo

Readme

Keywords

none

Package Sidebar

Install

npm i payslip-parser

Weekly Downloads

1

Version

0.0.5

License

MIT

Unpacked Size

10.2 kB

Total Files

4

Last publish

Collaborators

  • jaforbes