nekos 3.2.1 → 3.2.3

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.
@@ -0,0 +1,37 @@
1
+ # コントリビューションの方法 (日本語)
2
+
3
+ [English](./CONTRIBUTING.md) | **日本語**
4
+
5
+ コントリビューションを歓迎します!新しいアスキーアートを追加したい場合は、以下のルールに従ってください。
6
+
7
+ ## 必要な手順
8
+
9
+ ### セットアップ
10
+
11
+ ```bash
12
+ npm install
13
+ ```
14
+
15
+ ### テスト
16
+
17
+ ```bash
18
+ npm run build
19
+ npm run test
20
+ ```
21
+
22
+ ## 新しいアスキーアートの追加
23
+
24
+ `aa/` ディレクトリに新しい猫のアスキーアートを追加できます。ファイルを追加するにはプルリクエストが必要です。
25
+
26
+ > [!Warning]
27
+ > `requests` や `dev` ブランチにアスキーアートのためのプルリクエストを送信しないでください。 `main` ブランチに送信をお願いします。
28
+
29
+ ### コントリビューションのルール
30
+
31
+ システムは、あなたのプルリクエストが以下のルールに従っているかを自動的にチェックします。
32
+
33
+ 1. **既存のファイルを変更・削除しないこと**:`aa/` ディレクトリ内の既存のファイルは変更したり削除したりしないでください。
34
+ 2. **ユニークなファイル名**:ファイル名は他と重複しないユニークなもので、必ず `.txt` で終わるようにしてください。
35
+ 3. **使用可能な文字**:ファイル名(拡張子を除く)には、**小文字の英字 (a-z)**、**数字 (0-9)**、**アンダースコア (_)**、**ハイフン (-)** のみ使用できます。
36
+
37
+ ご協力ありがとうございます! 🐱
package/CONTRIBUTING.md CHANGED
@@ -1,71 +1,37 @@
1
- # How to Contribute
2
-
3
- We welcome contributions! If you want to add a new ASCII art, please follow these rules.
4
-
5
- ## Required Process
6
-
7
- ### Setup
8
-
9
- ```bash
10
- npm install
11
- ```
12
-
13
- ### Test
14
-
15
- ```bash
16
- npm run build
17
- npm run test
18
- ```
19
-
20
- ## Adding New ASCII Art
21
-
22
- You can add new cat ASCII art to the `aa/` directory. A pull request is required to add a file.
23
-
24
- > Do not send a pull request for ASCII art to `requests` or `dev` branch. Please send to `main` branch.
25
-
26
- ### Contribution Rules
27
-
28
- Our system will automatically check your pull request to ensure it follows these rules:
29
-
30
- 1. **Do not modify or delete** existing files in the `aa/` directory.
31
- 2. The filename must be **unique** and end with the `.txt` extension.
32
- 3. The filename (without the extension) can only contain **lowercase letters (a-z)**, **numbers (0-9)**, **underscores (_)**, and **hyphens (-)**.
33
-
34
- Thank you for your contribution! 🐱
35
-
36
- ---
37
-
38
- # コントリビューションの方法 (日本語)
39
-
40
- コントリビューションを歓迎します!新しいアスキーアートを追加したい場合は、以下のルールに従ってください。
41
-
42
- ## 必要な手順
43
-
44
- ### セットアップ
45
-
46
- ```bash
47
- npm install
48
- ```
49
-
50
- ### テスト
51
-
52
- ```bash
53
- npm run build
54
- npm run test
55
- ```
56
-
57
- ## 新しいアスキーアートの追加
58
-
59
- `aa/` ディレクトリに新しい猫のアスキーアートを追加できます。ファイルを追加するにはプルリクエストが必要です。
60
-
61
- > ⚠ `requests` や `dev` ブランチにアスキーアートのためのプルリクエストを送信しないでください。 `main` ブランチに送信をお願いします。
62
-
63
- ### コントリビューションのルール
64
-
65
- システムは、あなたのプルリクエストが以下のルールに従っているかを自動的にチェックします。
66
-
67
- 1. **既存のファイルを変更・削除しないこと**:`aa/` ディレクトリ内の既存のファイルは変更したり削除したりしないでください。
68
- 2. **ユニークなファイル名**:ファイル名は他と重複しないユニークなもので、必ず `.txt` で終わるようにしてください。
69
- 3. **使用可能な文字**:ファイル名(拡張子を除く)には、**小文字の英字 (a-z)**、**数字 (0-9)**、**アンダースコア (_)**、**ハイフン (-)** のみ使用できます。
70
-
71
- ご協力ありがとうございます! 🐱
1
+ # How to Contribute
2
+
3
+ **English** | [日本語](./CONTRIBUTING-ja.md)
4
+
5
+ We welcome contributions! If you want to add a new ASCII art, please follow these rules.
6
+
7
+ ## Required Process
8
+
9
+ ### Setup
10
+
11
+ ```bash
12
+ npm install
13
+ ```
14
+
15
+ ### Test
16
+
17
+ ```bash
18
+ npm run build
19
+ npm run test
20
+ ```
21
+
22
+ ## Adding New ASCII Art
23
+
24
+ You can add new cat ASCII art to the `aa/` directory. A pull request is required to add a file.
25
+
26
+ > [!Warning]
27
+ > Do not send a pull request for ASCII art to `requests` or `dev` branch. Please send to `main` branch.
28
+
29
+ ### Contribution Rules
30
+
31
+ Our system will automatically check your pull request to ensure it follows these rules:
32
+
33
+ 1. **Do not modify or delete** existing files in the `aa/` directory.
34
+ 2. The filename must be **unique** and end with the `.txt` extension.
35
+ 3. The filename (without the extension) can only contain **lowercase letters (a-z)**, **numbers (0-9)**, **underscores (_)**, and **hyphens (-)**.
36
+
37
+ Thank you for your contribution! 🐱
package/README-ja.md ADDED
@@ -0,0 +1,129 @@
1
+ ## nekos 🐱 (日本語)
2
+
3
+ [![npm version](https://badge.fury.io/js/nekos.svg)](https://badge.fury.io/js/nekos)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
+ [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
6
+ [![Validate AA Contribution](https://github.com/otoneko1102/nekos/actions/workflows/validate-aa.yml/badge.svg)](https://github.com/otoneko110/nekos/actions/workflows/validate-aa.yml)
7
+
8
+ <a href="https://www.buymeacoffee.com/devuloper" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>
9
+
10
+ <a href='https://ko-fi.com/E1E41LY2C9' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi6.png?v=6' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
11
+
12
+ [English](./README.md) | **日本語**
13
+
14
+ コンソールに猫のアスキーアートを表示する、シンプルな CLI ツールです。
15
+
16
+ ![sample](img/sample.png)
17
+
18
+ ## インストール
19
+
20
+ ```bash
21
+ npm install nekos
22
+ ```
23
+
24
+ ## 使い方
25
+
26
+ ```javascript
27
+ // ESM
28
+ import nekos from "nekos";
29
+ // CJS
30
+ const nekos = require("nekos").default;
31
+
32
+ // ランダムな猫を表示
33
+ nekos();
34
+
35
+ // IDを指定して特定の猫を表示
36
+ nekos({ id: "my_cat" });
37
+
38
+ // 虹色のグラデーションで猫を表示
39
+ nekos({ colors: "RAINBOW" });
40
+
41
+ // ランダムな単色で猫を表示
42
+ nekos({ colors: "RANDOM" });
43
+
44
+ // カスタムグラデーションで猫を表示
45
+ nekos({ colors: ["#ff00ff", "#00ffff"] });
46
+
47
+ // IDを指定した猫に、2色のランダムなグラデーションを適用
48
+ nekos({ id: "sad_cat", colors: ["RANDOM", "RANDOM"] });
49
+ ```
50
+
51
+ [ESM Example - demo.js](test/demo.js)
52
+ [CJS Example - demo.cjs](test/demo.cjs)
53
+
54
+ ---
55
+
56
+ ## コマンドラインでの使い方
57
+
58
+ コマンドラインで使うには、パッケージをグローバルインストールするか、`npx`を利用します。
59
+
60
+ ```bash
61
+ # グローバルインストール
62
+ npm install -g nekos
63
+ ```
64
+
65
+ ### 実行例
66
+
67
+ ```bash
68
+ # ランダムな猫を表示
69
+ nekos
70
+
71
+ # IDを指定して特定の猫を表示
72
+ nekos --id my_cat
73
+ nekos -i
74
+
75
+ # 虹色のグラデーションで猫を表示
76
+ nekos --colors RAINBOW
77
+ nekos -c RAINBOW
78
+
79
+ # 2色のランダムなグラデーションで猫を表示
80
+ nekos --colors RANDOM RANDOM
81
+ nekos -c RANDOM RANDOM
82
+
83
+ # IDを指定した猫にカスタムグラデーションを適用
84
+ nekos --id sad_cat --colors "#ff00ff" "#00ffff"
85
+ nekos -i sad_cat -c "#ff00ff" "#00ffff"
86
+
87
+ # グローバルインストールなしでnpxを使っても実行できます
88
+ npx nekos --colors "#ff00ff #00ffff"
89
+ npx nekos -c "#ff00ff" "#00ffff"
90
+
91
+ # 現在のバージョンを確認
92
+ nekos --version
93
+ nekos -v
94
+ ```
95
+
96
+ ---
97
+
98
+ ## API
99
+
100
+ `nekos(options)`
101
+
102
+ ### options
103
+
104
+ 型: `object`
105
+
106
+ #### id
107
+
108
+ 型: `string`
109
+
110
+ 表示したいアスキーアートの ID(`.txt`を除いたファイル名)。指定しない場合は、ランダムな猫が表示されます。
111
+
112
+ #### colors
113
+
114
+ 型: `string | string[]`
115
+
116
+ アスキーアートの色を指定します。
117
+
118
+ - **文字列キーワード:**
119
+ - `'RANDOM'`: ランダムな単色を適用します。
120
+ - `'RAINBOW'`: 虹色のグラデーションを適用します。
121
+ - **文字列配列:** カスタムグラデーションを作成するための色の配列(例: HEX コード、色名)。
122
+
123
+ ## コントリビューション
124
+
125
+ コントリビューションを歓迎します!詳細は[コントリビューションガイドライン](CONTRIBUTING.md)をご覧ください。
126
+
127
+ # 貢献者
128
+
129
+ [![Contributors](https://contrib.rocks/image?repo=otoneko1102/nekos)](https://github.com/otoneko1102/nekos/graphs/contributors)
package/README.md CHANGED
@@ -1,242 +1,129 @@
1
- # nekos 🐱
2
-
3
- [![npm version](https://badge.fury.io/js/nekos.svg)](https://badge.fury.io/js/nekos)
4
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
- [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
6
- [![Validate AA Contribution](https://github.com/otoneko1102/nekos/actions/workflows/validate-aa.yml/badge.svg)](https://github.com/otoneko110/nekos/actions/workflows/validate-aa.yml)
7
-
8
- <a href="https://www.buymeacoffee.com/devuloper" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>
9
-
10
- <a href='https://ko-fi.com/E1E41LY2C9' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi6.png?v=6' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
11
-
12
- A simple CLI tool to display cat ASCII art in your console.
13
-
14
- ![sample](img/sample.png)
15
-
16
- ## Install
17
-
18
- ```bash
19
- npm install nekos
20
- ```
21
-
22
- ## Usage
23
-
24
- ```javascript
25
- // ESM
26
- import nekos from "nekos";
27
- // CJS
28
- const nekos = require("nekos").default;
29
-
30
- // Log a random cat
31
- nekos();
32
-
33
- // Log a specific cat by ID
34
- nekos({ id: "my_cat" });
35
-
36
- // Log a cat with a rainbow gradient
37
- nekos({ colors: "RAINBOW" });
38
-
39
- // Log a cat with a single random color
40
- nekos({ colors: "RANDOM" });
41
-
42
- // Log a cat with a custom gradient
43
- nekos({ colors: ["#ff00ff", "#00ffff"] });
44
-
45
- // Log a specific cat with two random gradient colors
46
- nekos({ id: "sad_cat", colors: ["RANDOM", "RANDOM"] });
47
- ```
48
-
49
- [ESM Example - demo.js](test/demo.js)
50
- [CJS Example - demo.cjs](test/demo.cjs)
51
-
52
- ---
53
-
54
- ## CLI Usage
55
-
56
- For command line use, either install the package globally or use `npx`.
57
-
58
- ```bash
59
- # Install globally
60
- npm install -g nekos
61
- ```
62
-
63
- ### Examples
64
-
65
- ```bash
66
- # Display a random cat
67
- nekos
68
-
69
- # Display a specific cat by ID
70
- nekos --id my_cat
71
- nekos -i my_cat
72
-
73
- # Display a cat with a rainbow gradient
74
- nekos --colors RAINBOW
75
- nekos -c RAINBOW
76
-
77
- # Display a cat with two random gradient colors
78
- nekos --colors RANDOM RANDOM
79
- nekos -c RANDOM RANDOM
80
-
81
- # Display a specific cat with a custom gradient
82
- nekos --id sad_cat --colors "#ff00ff" "#00ffff"
83
- nekos -i sad_cat -c "#ff00ff" "#00ffff"
84
-
85
- # You can also use npx without a global installation
86
- npx nekos --colors "#ff00ff #00ffff"
87
- npx nekos -c "#ff00ff" "#00ffff"
88
-
89
- # Check the current version.
90
- nekos --version
91
- nekos -v
92
- ```
93
-
94
- ---
95
-
96
- ## API
97
-
98
- `nekos(options)`
99
-
100
- ### options
101
-
102
- Type: `object`
103
-
104
- #### id
105
-
106
- Type: `string`
107
-
108
- The ID of the ASCII art to display (the filename without the `.txt` extension). If not provided, a random cat will be shown.
109
-
110
- #### colors
111
-
112
- Type: `string | string[]`
113
-
114
- Specify the color(s) for the ASCII art.
115
-
116
- - **String Keywords:**
117
- - `'RANDOM'`: Applies a single random solid color.
118
- - `'RAINBOW'`: Applies a rainbow gradient.
119
- - **String Array:** An array of color strings (e.g., hex codes, color names) to create a custom gradient.
120
-
121
- ## Contributing
122
-
123
- Contributions are welcome! Please see the [Contributing Guidelines](CONTRIBUTING.md) for more details.
124
-
125
- ---
126
-
127
- ## nekos 🐱 (日本語)
128
-
129
- コンソールに猫のアスキーアートを表示する、シンプルな CLI ツールです。
130
-
131
- ## インストール
132
-
133
- ```bash
134
- npm install nekos
135
- ```
136
-
137
- ## 使い方
138
-
139
- ```javascript
140
- // ESM
141
- import nekos from "nekos";
142
- // CJS
143
- const nekos = require("nekos").default;
144
-
145
- // ランダムな猫を表示
146
- nekos();
147
-
148
- // IDを指定して特定の猫を表示
149
- nekos({ id: "my_cat" });
150
-
151
- // 虹色のグラデーションで猫を表示
152
- nekos({ colors: "RAINBOW" });
153
-
154
- // ランダムな単色で猫を表示
155
- nekos({ colors: "RANDOM" });
156
-
157
- // カスタムグラデーションで猫を表示
158
- nekos({ colors: ["#ff00ff", "#00ffff"] });
159
-
160
- // IDを指定した猫に、2色のランダムなグラデーションを適用
161
- nekos({ id: "sad_cat", colors: ["RANDOM", "RANDOM"] });
162
- ```
163
-
164
- [ESM Example - demo.js](test/demo.js)
165
- [CJS Example - demo.cjs](test/demo.cjs)
166
-
167
- ---
168
-
169
- ## コマンドラインでの使い方
170
-
171
- コマンドラインで使うには、パッケージをグローバルインストールするか、`npx`を利用します。
172
-
173
- ```bash
174
- # グローバルインストール
175
- npm install -g nekos
176
- ```
177
-
178
- ### 実行例
179
-
180
- ```bash
181
- # ランダムな猫を表示
182
- nekos
183
-
184
- # IDを指定して特定の猫を表示
185
- nekos --id my_cat
186
- nekos -i
187
-
188
- # 虹色のグラデーションで猫を表示
189
- nekos --colors RAINBOW
190
- nekos -c RAINBOW
191
-
192
- # 2色のランダムなグラデーションで猫を表示
193
- nekos --colors RANDOM RANDOM
194
- nekos -c RANDOM RANDOM
195
-
196
- # IDを指定した猫にカスタムグラデーションを適用
197
- nekos --id sad_cat --colors "#ff00ff" "#00ffff"
198
- nekos -i sad_cat -c "#ff00ff" "#00ffff"
199
-
200
- # グローバルインストールなしでnpxを使っても実行できます
201
- npx nekos --colors "#ff00ff #00ffff"
202
- npx nekos -c "#ff00ff" "#00ffff"
203
-
204
- # 現在のバージョンを確認
205
- nekos --version
206
- nekos -v
207
- ```
208
-
209
- ---
210
-
211
- ## API
212
-
213
- `nekos(options)`
214
-
215
- ### options
216
-
217
- 型: `object`
218
-
219
- #### id
220
-
221
- 型: `string`
222
-
223
- 表示したいアスキーアートの ID(`.txt`を除いたファイル名)。指定しない場合は、ランダムな猫が表示されます。
224
-
225
- #### colors
226
-
227
- 型: `string | string[]`
228
-
229
- アスキーアートの色を指定します。
230
-
231
- - **文字列キーワード:**
232
- - `'RANDOM'`: ランダムな単色を適用します。
233
- - `'RAINBOW'`: 虹色のグラデーションを適用します。
234
- - **文字列配列:** カスタムグラデーションを作成するための色の配列(例: HEX コード、色名)。
235
-
236
- ## コントリビューション
237
-
238
- コントリビューションを歓迎します!詳細は[コントリビューションガイドライン](CONTRIBUTING.md)をご覧ください。
239
-
240
- # Contributors
241
-
242
- [![Contributors](https://contrib.rocks/image?repo=otoneko1102/nekos)](https://github.com/otoneko1102/nekos/graphs/contributors)
1
+ # nekos 🐱
2
+
3
+ [![npm version](https://badge.fury.io/js/nekos.svg)](https://badge.fury.io/js/nekos)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
+ [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
6
+ [![Validate AA Contribution](https://github.com/otoneko1102/nekos/actions/workflows/validate-aa.yml/badge.svg)](https://github.com/otoneko110/nekos/actions/workflows/validate-aa.yml)
7
+
8
+ <a href="https://www.buymeacoffee.com/devuloper" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>
9
+
10
+ <a href='https://ko-fi.com/E1E41LY2C9' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi6.png?v=6' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
11
+
12
+ **English** | [日本語](./README-ja.md)
13
+
14
+ A simple CLI tool to display cat ASCII art in your console.
15
+
16
+ ![sample](img/sample.png)
17
+
18
+ ## Install
19
+
20
+ ```bash
21
+ npm install nekos
22
+ ```
23
+
24
+ ## Usage
25
+
26
+ ```javascript
27
+ // ESM
28
+ import nekos from "nekos";
29
+ // CJS
30
+ const nekos = require("nekos").default;
31
+
32
+ // Log a random cat
33
+ nekos();
34
+
35
+ // Log a specific cat by ID
36
+ nekos({ id: "my_cat" });
37
+
38
+ // Log a cat with a rainbow gradient
39
+ nekos({ colors: "RAINBOW" });
40
+
41
+ // Log a cat with a single random color
42
+ nekos({ colors: "RANDOM" });
43
+
44
+ // Log a cat with a custom gradient
45
+ nekos({ colors: ["#ff00ff", "#00ffff"] });
46
+
47
+ // Log a specific cat with two random gradient colors
48
+ nekos({ id: "sad_cat", colors: ["RANDOM", "RANDOM"] });
49
+ ```
50
+
51
+ [ESM Example - demo.js](test/demo.js)
52
+ [CJS Example - demo.cjs](test/demo.cjs)
53
+
54
+ ---
55
+
56
+ ## CLI Usage
57
+
58
+ For command line use, either install the package globally or use `npx`.
59
+
60
+ ```bash
61
+ # Install globally
62
+ npm install -g nekos
63
+ ```
64
+
65
+ ### Examples
66
+
67
+ ```bash
68
+ # Display a random cat
69
+ nekos
70
+
71
+ # Display a specific cat by ID
72
+ nekos --id my_cat
73
+ nekos -i my_cat
74
+
75
+ # Display a cat with a rainbow gradient
76
+ nekos --colors RAINBOW
77
+ nekos -c RAINBOW
78
+
79
+ # Display a cat with two random gradient colors
80
+ nekos --colors RANDOM RANDOM
81
+ nekos -c RANDOM RANDOM
82
+
83
+ # Display a specific cat with a custom gradient
84
+ nekos --id sad_cat --colors "#ff00ff" "#00ffff"
85
+ nekos -i sad_cat -c "#ff00ff" "#00ffff"
86
+
87
+ # You can also use npx without a global installation
88
+ npx nekos --colors "#ff00ff #00ffff"
89
+ npx nekos -c "#ff00ff" "#00ffff"
90
+
91
+ # Check the current version.
92
+ nekos --version
93
+ nekos -v
94
+ ```
95
+
96
+ ---
97
+
98
+ ## API
99
+
100
+ `nekos(options)`
101
+
102
+ ### options
103
+
104
+ Type: `object`
105
+
106
+ #### id
107
+
108
+ Type: `string`
109
+
110
+ The ID of the ASCII art to display (the filename without the `.txt` extension). If not provided, a random cat will be shown.
111
+
112
+ #### colors
113
+
114
+ Type: `string | string[]`
115
+
116
+ Specify the color(s) for the ASCII art.
117
+
118
+ - **String Keywords:**
119
+ - `'RANDOM'`: Applies a single random solid color.
120
+ - `'RAINBOW'`: Applies a rainbow gradient.
121
+ - **String Array:** An array of color strings (e.g., hex codes, color names) to create a custom gradient.
122
+
123
+ ## Contributing
124
+
125
+ Contributions are welcome! Please see the [Contributing Guidelines](CONTRIBUTING.md) for more details.
126
+
127
+ # Contributors
128
+
129
+ [![Contributors](https://contrib.rocks/image?repo=otoneko1102/nekos)](https://github.com/otoneko1102/nekos/graphs/contributors)
package/aa/4w4.txt CHANGED
@@ -1,3 +1,3 @@
1
- /\_/\
2
- (=4w4=)
3
- (\")_(\")
1
+ /\_/\
2
+ (=4w4=)
3
+ (\")_(\")
package/aa/boo.txt CHANGED
@@ -1,4 +1,4 @@
1
- ∧____∧
2
- ( 0・0 )
3
- ( U U ) ∫
4
-  ̄ ̄ ̄ ̄
1
+ ∧____∧
2
+ ( 0・0 )
3
+ ( U U ) ∫
4
+  ̄ ̄ ̄ ̄
package/aa/face.txt CHANGED
@@ -1,11 +1,11 @@
1
- ⠀⠀⠀⠀⢀⠠⠤⠀⢀⣿⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
2
- ⠀⠀⠐⠀⠐⠀⠀⢀⣾⣿⡇⠀⠀⠀⠀⠀⢀⣼⡇⠀⠀⠀⠀
3
- ⠀⠀⠀⠀⠀⠀⠀⣸⣿⣿⣿⠀⠀⠀⠀⣴⣿⣿⠇⠀⠀⠀⠀
4
- ⠀⠀⠀⠀⠀⠀⢠⣿⣿⣿⣇⠀⠀⢀⣾⣿⣿⣿⠀⠀⠀⠀⠀
5
- ⠀⠀⠀⠀⠀⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⠀⠀⠐⠀⡀
6
- ⠀⠀⠀⠀⢰⡿⠉⠀⡜⣿⣿⣿⡿⠿⢿⣿⣿⡃⠀⠀⠂⠄⠀
7
- ⠀⠀⠒⠒⠸⣿⣄⡘⣃⣿⣿⡟⢰⠃⠀⢹⣿⡇⠀⠀⠀⠀⠀
8
- ⠀⠀⠚⠉⠀⠊⠻⣿⣿⣿⣿⣿⣮⣤⣤⣿⡟⠁⠘⠠⠁⠀⠀
9
- ⠀⠀⠀⠀⠀⠠⠀⠀⠈⠙⠛⠛⠛⠛⠛⠁⠀⠒⠤⠀⠀⠀⠀
10
- ⠨⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠑⠀⠀⠀⠀⠀⠀
11
- ⠁⠃⠉
1
+ ⠀⠀⠀⠀⢀⠠⠤⠀⢀⣿⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
2
+ ⠀⠀⠐⠀⠐⠀⠀⢀⣾⣿⡇⠀⠀⠀⠀⠀⢀⣼⡇⠀⠀⠀⠀
3
+ ⠀⠀⠀⠀⠀⠀⠀⣸⣿⣿⣿⠀⠀⠀⠀⣴⣿⣿⠇⠀⠀⠀⠀
4
+ ⠀⠀⠀⠀⠀⠀⢠⣿⣿⣿⣇⠀⠀⢀⣾⣿⣿⣿⠀⠀⠀⠀⠀
5
+ ⠀⠀⠀⠀⠀⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⠀⠀⠐⠀⡀
6
+ ⠀⠀⠀⠀⢰⡿⠉⠀⡜⣿⣿⣿⡿⠿⢿⣿⣿⡃⠀⠀⠂⠄⠀
7
+ ⠀⠀⠒⠒⠸⣿⣄⡘⣃⣿⣿⡟⢰⠃⠀⢹⣿⡇⠀⠀⠀⠀⠀
8
+ ⠀⠀⠚⠉⠀⠊⠻⣿⣿⣿⣿⣿⣮⣤⣤⣿⡟⠁⠘⠠⠁⠀⠀
9
+ ⠀⠀⠀⠀⠀⠠⠀⠀⠈⠙⠛⠛⠛⠛⠛⠁⠀⠒⠤⠀⠀⠀⠀
10
+ ⠨⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠑⠀⠀⠀⠀⠀⠀
11
+ ⠁⠃⠉
package/aa/hug.txt CHANGED
@@ -1,3 +1,3 @@
1
- ∧_∧
2
- ( ⸝⸝ ˙꒳​˙⸝⸝)
3
- /づ つ
1
+ ∧_∧
2
+ ( ⸝⸝ ˙꒳​˙⸝⸝)
3
+ /づ つ
package/aa/love.txt CHANGED
@@ -1,4 +1,4 @@
1
- ∧_∧
2
- ( > _ < )
3
- / つ(⌒ ⌒)`.
4
- しー \/
1
+ ∧_∧
2
+ ( > _ < )
3
+ / つ(⌒ ⌒)`.
4
+ しー \/
package/aa/my_cat.txt CHANGED
@@ -1,2 +1,2 @@
1
- ^ ^
2
- = ⠈ w⠈ =
1
+ ^ ^
2
+ = ⠈ w⠈ =
package/aa/neko.txt CHANGED
@@ -1,5 +1,5 @@
1
- ⣄ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀ ⣄
2
- ⢿⠀⠘⣄⠀ ⠀⠀⠀⠀⠀⠀⠀⠀ ⣄⠘⠀⢿ ⢿
3
- ⢿⠀⠀⠀⠈⠇⠸⠘⠈⠈⠃⠸⠇⠈ ⢿
4
- ⢿ ⠀⠀ ٍ ⠀ ⠈ ⠀w⠀ ⠈⠀ ٍ ⠀⠀⠀ ⠀⢿
5
- ⢿ ⢿
1
+ ⣄ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀ ⣄
2
+ ⢿⠀⠘⣄⠀ ⠀⠀⠀⠀⠀⠀⠀⠀ ⣄⠘⠀⢿ ⢿
3
+ ⢿⠀⠀⠀⠈⠇⠸⠘⠈⠈⠃⠸⠇⠈ ⢿
4
+ ⢿ ⠀⠀ ٍ ⠀ ⠈ ⠀w⠀ ⠈⠀ ٍ ⠀⠀⠀ ⠀⢿
5
+ ⢿ ⢿
package/aa/nya.txt CHANGED
@@ -1,4 +1,4 @@
1
- /\ /\
2
- ( o o )
3
- ( =^= )
4
- (")_(")~ nya~
1
+ /\ /\
2
+ ( o o )
3
+ ( =^= )
4
+ (")_(")~ nya~
package/aa/nyancat.txt CHANGED
@@ -1,4 +1,4 @@
1
- -_-_-_-__,------,
2
- -_-_-_-__| /\_/\
3
- -_-_-_-_~|_( o wo)
4
- -_-_-_-_ "" ""
1
+ -_-_-_-__,------,
2
+ -_-_-_-__| /\_/\
3
+ -_-_-_-_~|_( o wo)
4
+ -_-_-_-_ "" ""
@@ -1,4 +1,4 @@
1
- -_-_-_-__,------,
2
- -_-_-_-__| /\_/\
3
- -_-_-_-_~|_( Φ wΦ)
4
- -_-_-_-_ "" ""
1
+ -_-_-_-__,------,
2
+ -_-_-_-__| /\_/\
3
+ -_-_-_-_~|_( Φ wΦ)
4
+ -_-_-_-_ "" ""
@@ -1,5 +1,5 @@
1
- -_-_-_-__,------,
2
- -_-_-_-__| /\_/\
3
- -_-_-_-_~|_( ^ w^)
4
- -_-_-_-_ "" ""
5
-
1
+ -_-_-_-__,------,
2
+ -_-_-_-__| /\_/\
3
+ -_-_-_-_~|_( ^ w^)
4
+ -_-_-_-_ "" ""
5
+
package/aa/nyancat_x.txt CHANGED
@@ -1,4 +1,4 @@
1
- -_-_-_-__,------,
2
- -_-_-_-__| /\_/\
3
- -_-_-_-_~|_( x .x)
4
- -_-_-_-_ "" ""
1
+ -_-_-_-__,------,
2
+ -_-_-_-__| /\_/\
3
+ -_-_-_-_~|_( x .x)
4
+ -_-_-_-_ "" ""
package/aa/o_o.txt CHANGED
@@ -1,3 +1,3 @@
1
- /\_/\
2
- ( o_o )
3
- > ^ <
1
+ /\_/\
2
+ ( o_o )
3
+ > ^ <
package/aa/owo.txt CHANGED
@@ -1,3 +1,3 @@
1
- /\_/\
2
- ( owo )
3
- > ^ <
1
+ /\_/\
2
+ ( owo )
3
+ > ^ <
package/aa/reading.txt CHANGED
@@ -1,4 +1,4 @@
1
- 〃∩ ∧_∧
2
- ⊂⌒( ・ω・)
3
- \_っ⌒/⌒c
4
- ⌒ ⌒
1
+ 〃∩ ∧_∧
2
+ ⊂⌒( ・ω・)
3
+ \_っ⌒/⌒c
4
+ ⌒ ⌒
@@ -1,3 +1,3 @@
1
- ⠀⠀ ∧_∧
2
- ミ。・ω・ミ
3
- ~ミ_uu ミ
1
+ ⠀⠀ ∧_∧
2
+ ミ。・ω・ミ
3
+ ~ミ_uu ミ
package/aa/sitting.txt CHANGED
@@ -1,4 +1,4 @@
1
- ╱|、
2
- (˚ˎ 。7
3
- |、˜〵
4
- じしˍ,)ノ
1
+ ╱|、
2
+ (˚ˎ 。7
3
+ |、˜〵
4
+ じしˍ,)ノ
package/aa/sleeping.txt CHANGED
@@ -1,2 +1,2 @@
1
- ∧∧ .oO
2
- 〜〈⌒⌒( - -)
1
+ ∧∧ .oO
2
+ 〜〈⌒⌒( - -)
package/aa/zzz.txt CHANGED
@@ -1,3 +1,3 @@
1
- |\_._/|
2
- ( -.- )
3
- zzz
1
+ |\_._/|
2
+ ( -.- )
3
+ zzz
package/dist/index.cjs CHANGED
@@ -85,7 +85,7 @@ function nekos(options = {}) {
85
85
  import_consola.consola.warn("Cannot use the value, 'RAINBOW' in array.");
86
86
  }
87
87
  processedColors = colors.map(
88
- (color2) => typeof color2 === "string" && color2.toUpperCase() === "RANDOM" ? (0, import_color.hex)("#") : color2
88
+ (color) => typeof color === "string" && color.toUpperCase() === "RANDOM" ? (0, import_color.hex)("#") : color
89
89
  );
90
90
  } else {
91
91
  processedColors = colors;
package/dist/index.js CHANGED
@@ -55,7 +55,7 @@ function nekos(options = {}) {
55
55
  consola.warn("Cannot use the value, 'RAINBOW' in array.");
56
56
  }
57
57
  processedColors = colors.map(
58
- (color2) => typeof color2 === "string" && color2.toUpperCase() === "RANDOM" ? hex("#") : color2
58
+ (color) => typeof color === "string" && color.toUpperCase() === "RANDOM" ? hex("#") : color
59
59
  );
60
60
  } else {
61
61
  processedColors = colors;
package/package.json CHANGED
@@ -1,60 +1,60 @@
1
- {
2
- "name": "nekos",
3
- "version": "3.2.1",
4
- "description": "Let's have cute cats mess around in the log!",
5
- "bin": {
6
- "nekos": "bin/nekos.js"
7
- },
8
- "type": "module",
9
- "main": "dist/index.cjs",
10
- "module": "dist/index.js",
11
- "exports": {
12
- "import": "./dist/index.js",
13
- "require": "./dist/index.cjs"
14
- },
15
- "types": "dist/index.d.ts",
16
- "scripts": {
17
- "test": "cross-env FORCE_COLOR=1 node --experimental-vm-modules node_modules/jest/bin/jest.js",
18
- "clean": "rimraf dist",
19
- "format": "prettier --write .",
20
- "format:check": "prettier --check .",
21
- "build:types": "tsc",
22
- "build:js": "node scripts/build.js",
23
- "build": "npm run clean && npm run format && npm run build:types && npm run build:js"
24
- },
25
- "repository": {
26
- "type": "git",
27
- "url": "git+https://github.com/otoneko1102/nekos.git"
28
- },
29
- "keywords": [
30
- "log",
31
- "kawaii",
32
- "joke",
33
- "cat",
34
- "cats",
35
- "neko",
36
- "nekos"
37
- ],
38
- "author": "otoneko.",
39
- "license": "MIT",
40
- "bugs": {
41
- "url": "https://github.com/otoneko1102/nekos/issues"
42
- },
43
- "homepage": "https://github.com/otoneko1102/nekos#readme",
44
- "dependencies": {
45
- "@randplus/color": "^3.0.0",
46
- "commander": "^14.0.0",
47
- "consola": "^3.4.2",
48
- "gradient-string": "^3.0.0",
49
- "is-package-latest": "^1.0.0"
50
- },
51
- "devDependencies": {
52
- "@types/node": "^24.3.0",
53
- "cross-env": "^10.0.0",
54
- "esbuild": "^0.25.9",
55
- "jest": "^30.1.1",
56
- "prettier": "3.6.2",
57
- "rimraf": "^6.0.1",
58
- "typescript": "^5.9.2"
59
- }
60
- }
1
+ {
2
+ "name": "nekos",
3
+ "version": "3.2.3",
4
+ "description": "Let's have cute cats mess around in the log!",
5
+ "bin": {
6
+ "nekos": "bin/nekos.js"
7
+ },
8
+ "type": "module",
9
+ "main": "dist/index.cjs",
10
+ "module": "dist/index.js",
11
+ "exports": {
12
+ "import": "./dist/index.js",
13
+ "require": "./dist/index.cjs"
14
+ },
15
+ "types": "dist/index.d.ts",
16
+ "scripts": {
17
+ "test": "cross-env FORCE_COLOR=1 node --experimental-vm-modules node_modules/jest/bin/jest.js",
18
+ "clean": "rimraf dist",
19
+ "format": "prettier --write .",
20
+ "format:check": "prettier --check .",
21
+ "build:types": "tsc",
22
+ "build:js": "node scripts/build.js",
23
+ "build": "npm run clean && npm run format && npm run build:types && npm run build:js"
24
+ },
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "git+https://github.com/otoneko1102/nekos.git"
28
+ },
29
+ "keywords": [
30
+ "log",
31
+ "kawaii",
32
+ "joke",
33
+ "cat",
34
+ "cats",
35
+ "neko",
36
+ "nekos"
37
+ ],
38
+ "author": "otoneko.",
39
+ "license": "MIT",
40
+ "bugs": {
41
+ "url": "https://github.com/otoneko1102/nekos/issues"
42
+ },
43
+ "homepage": "https://github.com/otoneko1102/nekos#readme",
44
+ "dependencies": {
45
+ "@randplus/color": "^3.0.0",
46
+ "commander": "^14.0.3",
47
+ "consola": "^3.4.2",
48
+ "gradient-string": "^3.0.0",
49
+ "is-package-latest": "^2.0.0"
50
+ },
51
+ "devDependencies": {
52
+ "@types/node": "^25.2.3",
53
+ "cross-env": "^10.1.0",
54
+ "esbuild": "^0.27.3",
55
+ "jest": "^30.2.0",
56
+ "prettier": "3.8.1",
57
+ "rimraf": "^6.1.3",
58
+ "typescript": "^5.9.3"
59
+ }
60
+ }
package/private/test.js DELETED
@@ -1,3 +0,0 @@
1
- import nekos from "../dist/index.js";
2
-
3
- nekos({ id: "sad_cat", colors: ["#fff333", "#333fff"] });