Sha256: 24112d1a55250f4da7f9edb9dabeac8e3badebdf4a55b421fc7b8ca5ccc03133
Contents?: true
Size: 780 Bytes
Versions: 26
Compression:
Stored size: 780 Bytes
Contents
// Type definitions for wrap-ansi v3.0.0 // Project: https://www.npmjs.com/package/wrap-ansi // Definitions by: Klaus Reimer <https://github.com/kayahr> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /** * Wrap words to the specified column width. * * @param input String with ANSI escape codes. Like one styled by chalk. * @param columns Number of columns to wrap the text to. * @param options By default the wrap is soft, meaning long words may extend past the column width. Setting * this to true will make it hard wrap at the column width. */ declare function wrapAnsi(input: string, columns: number, options?: { hard?: boolean; trim?: boolean; wordWrap?: boolean; }): string; declare namespace wrapAnsi {} export = wrapAnsi;
Version data entries
26 entries across 26 versions & 1 rubygems