@types/has-ansi
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -1,6 +0,1 @@ | ||
// Type definitions for has-ansi 5.0 | ||
// Project: https://github.com/chalk/has-ansi#readme | ||
// Definitions by: BendingBender <https://github.com/BendingBender> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
/** | ||
@@ -7,0 +2,0 @@ * Check if a string has ANSI escape codes |
{ | ||
"name": "@types/has-ansi", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "TypeScript definitions for has-ansi", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/has-ansi", | ||
"license": "MIT", | ||
@@ -9,4 +10,4 @@ "contributors": [ | ||
"name": "BendingBender", | ||
"url": "https://github.com/BendingBender", | ||
"githubUsername": "BendingBender" | ||
"githubUsername": "BendingBender", | ||
"url": "https://github.com/BendingBender" | ||
} | ||
@@ -23,4 +24,4 @@ ], | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "67546227e2d9edc9223315e9401807a8d87d1132a33b3e6d1592939799c45a37", | ||
"typeScriptVersion": "3.5" | ||
"typesPublisherContentHash": "7e3259e684d88beec412849618599a73bc1e808217d09f74f7fc206114b2a12a", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -9,9 +9,18 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/has-ansi. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/has-ansi/index.d.ts) | ||
````ts | ||
/** | ||
* Check if a string has ANSI escape codes | ||
*/ | ||
declare function hasAnsi(input: string): boolean; | ||
export default hasAnsi; | ||
```` | ||
### Additional Details | ||
* Last updated: Mon, 26 Apr 2021 21:31:24 GMT | ||
* Last updated: Wed, 18 Oct 2023 01:17:35 GMT | ||
* Dependencies: none | ||
* Global values: none | ||
# Credits | ||
These definitions were written by [BendingBender](https://github.com/BendingBender). |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
2797
0
26
5