npm.io
5.0.2 • Published 2 years ago

@types/has-ansi

Licence
MIT
Version
5.0.2
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/has-ansi

Summary

This package contains type definitions for has-ansi (https://github.com/chalk/has-ansi#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/has-ansi.

index.d.ts

/**
 * Check if a string has ANSI escape codes
 */
declare function hasAnsi(input: string): boolean;

export default hasAnsi;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0337 GMT
  • Dependencies: none

Credits

These definitions were written by BendingBender.