UNPKG

parjs

Version:

A parser-combinator library for JavaScript.

26 lines (25 loc) 524 B
/** * @external */ /** */ /** * Some simple helpers for working with strings. */ export declare namespace StringHelpers { /** * Recursively applies join to an array of arrays. * @param arr */ function recJoin(arr: any): string; } /** * Helpers for working with numbers. */ export declare namespace NumHelpers { /** * Pads an integer with characters. * @param n * @param digits * @param char */ function padInt(n: number, digits: number, char: string): string; }