1 | # Installation
|
2 | > `npm install --save @types/has-ansi`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for has-ansi (https://github.com/chalk/has-ansi#readme).
|
6 |
|
7 | # Details
|
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/has-ansi.
|
9 | ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/has-ansi/index.d.ts)
|
10 | ````ts
|
11 | /**
|
12 | * Check if a string has ANSI escape codes
|
13 | */
|
14 | declare function hasAnsi(input: string): boolean;
|
15 |
|
16 | export default hasAnsi;
|
17 |
|
18 | ````
|
19 |
|
20 | ### Additional Details
|
21 | * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
|
22 | * Dependencies: none
|
23 |
|
24 | # Credits
|
25 | These definitions were written by [BendingBender](https://github.com/BendingBender).
|
26 |
|
\ | No newline at end of file |