a set of function to read billpayment textfile
npm install @bellpetchpol/thailand-billpayment-txt-to-object
npm i @bellpetchpol/thailand-billpayment-txt-to-object
`
Example
`
import { b256 } from '@bellpetchpol/thailand-billpayment-txt-to-object'
var textReadFromFile // Should read input file
console.log(b256(textReadFromFile, true))
// you can adjust carriage return digit the default value is 1
// you might need this when read text file from ISO8859-11 encoding
console.log(b256(textReadFromFile, true, 2))
`
Example 2 read text file with multiple date (recommended) you won't need to worry about carriage return any more
`
import { b256MultipleDays } from '@bellpetchpol/thailand-billpayment-txt-to-object'
var textReadFromFile // Should read input file
console.log(b256MultipleDays(textReadFromFile, true))
``