1.0.0 • Published 6 months ago

@bellpetchpol/thailand-billpayment-txt-to-object v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Installation

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))

Functions

namedescription
b256สำหรับ text file ที่ข้อมูลแต่ละส่วนมีจำนวนตัวอักษร 256 ตัว
b450สำหรับ text file ที่ข้อมูลแต่ละส่วนมีจำนวนตัวอักษร 450 ตัว
b256MultipleDaysสำหรับ text file ที่ข้อมูลแต่ละส่วนมีจำนวนตัวอักษร 256 ตัว และมีข้อมูลหลายวันในไฟล์เดียว
1.0.0

6 months ago

0.0.10

6 months ago

0.0.9

6 months ago

0.0.8

6 months ago

0.0.7

6 months ago

0.0.6

7 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago