summaryrefslogtreecommitdiff
path: root/bin/wiki/ImportarDesdeURL/node_modules/condense-whitespace/index.d.ts
blob: 5b33f20123480f857fe9733f50c1d5f96daf607e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/**
Remove leading, trailing, and repeated whitespace from a string.

@example
```
import condenseWhitespace = require('condense-whitespace');

condenseWhitespace('  foo bar     baz ');
//=> 'foo bar baz'
```
*/
declare function condenseWhitespace(string: string): string;

export = condenseWhitespace;