@fcgs/filerr-nach
Version:
nACH is a highly customizable Node.js module exposing a high & low-level API for generating ACH files for use within the ACH network
45 lines (30 loc) • 1.11 kB
TypeScript
export function pad(
string: string,
width: number,
padRight?: boolean,
padChar?: string
): string;
export function computeCheckDigit(routing: string): string;
export function testRegex(
regex: RegExp,
field: { number?: boolean; value: string; name: string; type: string }
): boolean;
export function generateString(
object: object,
cb: (result: string) => void
): void;
export function parseLine(str: string, object: object): object;
export function unique(): number;
export function overrideLowLevel(
values: any[],
options: object,
self: object
): void;
export function getNextMultiple(value: number, multiple: number): number;
export function getNextMultipleDiff(value: number, multiple: number): number;
export function formatDate(date: Date): string;
export function formatTime(date: Date): string;
export function isBusinessDay(day: Date): boolean;
export function computeBusinessDay(businessDays: number, day?: Date): Date;
export function newLineChar(): string;
export function createEmptyString(length: number): string;