lambda-live-debugger
Version:
Debug Lambda functions locally like it is running in the cloud
20 lines (19 loc) • 413 B
TypeScript
type TruncationOptions = {
limit?: number;
ellipsis?: string;
ellipsisWidth?: number;
};
type WidthOptions = {
controlWidth?: number;
tabWidth?: number;
emojiWidth?: number;
regularWidth?: number;
wideWidth?: number;
};
type Result = {
width: number;
index: number;
truncated: boolean;
ellipsed: boolean;
};
export type { TruncationOptions, WidthOptions, Result };