@types/has-ansi
TypeScript icon, indicating that this package has built-in type declarations

5.0.2 • Public • Published

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 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by BendingBender.

Versions

Current Tags

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 5.0.2
    6,925
  • 5.0.1
    13
  • 5.0.0
    1,356
  • 3.0.0
    42,932

Package Sidebar

Install

npm i @types/has-ansi

Weekly Downloads

51,226

Version

5.0.2

License

MIT

Unpacked Size

2.8 kB

Total Files

5

Last publish

Collaborators

  • types