PHP 8.2.30
Preview: index.d.ts Size: 783 B
/opt/alt/alt-nodejs16/root/lib/node_modules/npm/node_modules/indent-string/index.d.ts

declare namespace indentString {
	interface Options {
		/**
		The string to use for the indent.

		@default ' '
		*/
		readonly indent?: string;

		/**
		Also indent empty lines.

		@default false
		*/
		readonly includeEmptyLines?: boolean;
	}
}

/**
Indent each line in a string.

@param string - The string to indent.
@param count - How many times you want `options.indent` repeated. Default: `1`.

@example
```
import indentString = require('indent-string');

indentString('Unicorns\nRainbows', 4);
//=> '    Unicorns\n    Rainbows'

indentString('Unicorns\nRainbows', 4, {indent: '♥'});
//=> '♥♥♥♥Unicorns\n♥♥♥♥Rainbows'
```
*/
declare function indentString(
	string: string,
	count?: number,
	options?: indentString.Options
): string;

export = indentString;

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
783 B lrw-r--r-- 2026-03-09 06:51:28
Edit Download
743 B lrw-r--r-- 2026-03-09 06:51:28
Edit Download
1.08 KB lrw-r--r-- 2026-03-09 06:51:28
Edit Download
582 B lrw-r--r-- 2026-03-09 06:51:28
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).