nekos 1.2.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts DELETED
@@ -1,32 +0,0 @@
1
- type ColorKeyword = "RANDOM" | "RAINBOW";
2
-
3
- type ColorValue = ColorKeyword | string;
4
-
5
- /**
6
- * An object of options for the nekos function.
7
- */
8
- interface NekosOptions {
9
- /**
10
- * The ID (filename without .txt) of a specific ASCII art file to display.
11
- */
12
- id?: string;
13
-
14
- /**
15
- * A 6-digit hex color code, a keyword ("RANDOM", "RAINBOW"), or an array of these values for a gradient.
16
- */
17
- colors?: ColorValue | ColorValue[];
18
- }
19
-
20
- /**
21
- * Logs a cat ASCII art to the console.
22
- * @param options The options object.
23
- *
24
- * @example
25
- * import nekos from 'nekos';
26
- *
27
- * // Log a cat with a specific hex color
28
- * nekos({ colors: '#a4c8e1' });
29
- */
30
- declare function nekos(options?: NekosOptions): void;
31
-
32
- export default nekos;