payslip-parser
v0.0.5
Published
payslip-parser ==============
Downloads
8
Readme
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!