@types/chalk-animation
Advanced tools
Comparing version 1.6.0 to 1.6.1
@@ -16,2 +16,7 @@ // Type definitions for chalk-animation 1.6 | ||
export interface Animation { | ||
text: string[]; | ||
lines: number; | ||
stopped: boolean; | ||
init: boolean; | ||
f: number; | ||
start(): void; | ||
@@ -18,0 +23,0 @@ stop(): void; |
{ | ||
"name": "@types/chalk-animation", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "TypeScript definitions for chalk-animation", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chalk-animation", | ||
"license": "MIT", | ||
@@ -14,11 +15,12 @@ "contributors": [ | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/chalk-animation" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "8bbe73dfe19099dbb47a77814f501d658f8f448e43f8e725fdcd42e5fa64f319", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "f205afdc17205312ad89ad45564e3a16577bcaf44eb13e4b69dca749ba290cde", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -8,6 +8,36 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chalk-animation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chalk-animation. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chalk-animation/index.d.ts) | ||
````ts | ||
// Type definitions for chalk-animation 1.6 | ||
// Project: https://github.com/bokub/chalk-animation | ||
// Definitions by: BendingBender <https://github.com/BendingBender> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
Additional Details | ||
* Last updated: Mon, 17 Dec 2018 22:57:41 GMT | ||
export const rainbow: AnimationFn; | ||
export const pulse: AnimationFn; | ||
export const glitch: AnimationFn; | ||
export const radar: AnimationFn; | ||
export const neon: AnimationFn; | ||
export const karaoke: AnimationFn; | ||
export type AnimationFn = (text: string, speed?: number) => Animation; | ||
export interface Animation { | ||
text: string[]; | ||
lines: number; | ||
stopped: boolean; | ||
init: boolean; | ||
f: number; | ||
start(): void; | ||
stop(): void; | ||
replace(text: string): void; | ||
render(): void; | ||
frame(): string; | ||
} | ||
```` | ||
### Additional Details | ||
* Last updated: Wed, 18 Aug 2021 16:01:22 GMT | ||
* Dependencies: none | ||
@@ -17,2 +47,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by BendingBender <https://github.com/BendingBender>. | ||
These definitions were written by [BendingBender](https://github.com/BendingBender). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4115
23
0
47