UNPKG

sms-transaction-parser

Version:

Parse SMS for transactions to extract relevant information.

5 lines (4 loc) 275 B
export type timeType = `${string}:${string} ${'AM' | 'PM'}`; export type dateType = `${string}/${string}/${string}`; export declare const parseDateTimeString: (date: dateType, time: timeType) => number; export declare const parseAmount: (numberString: string) => number;