dicom-microscopy-viewer-changed
Version:
Interactive web-based viewer for DICOM Microscopy Images
20 lines (15 loc) • 388 B
TypeScript
/**
Strip leading whitespace from each line in a string.
The line with the least number of leading whitespace, ignoring empty lines, determines the number to remove.
@example
```
import stripIndent from 'strip-indent';
const string = '\tunicorn\n\t\tcake';
// unicorn
// cake
stripIndent(string);
//unicorn
// cake
```
*/
export default function stripIndent(string: string): string;