nekos 1.1.0 → 1.1.2

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/README.md CHANGED
@@ -6,6 +6,8 @@
6
6
 
7
7
  A simple CLI tool to display cat ASCII art in your console.
8
8
 
9
+ ![sample](img/sample.png)
10
+
9
11
  ## Install
10
12
 
11
13
  ```bash
@@ -15,7 +17,10 @@ npm install nekos
15
17
  ## Usage
16
18
 
17
19
  ```javascript
20
+ // ESM
18
21
  import nekos from "nekos";
22
+ // CJS
23
+ const nekos = require("nekos").default;
19
24
 
20
25
  // Log a random cat
21
26
  nekos();
@@ -79,7 +84,10 @@ npm install nekos
79
84
  ## 使い方
80
85
 
81
86
  ```javascript
87
+ // ESM
82
88
  import nekos from "nekos";
89
+ // CJS
90
+ const nekos = require("nekos").default;
83
91
 
84
92
  // ランダムな猫を表示
85
93
  nekos();
package/aa/love.txt CHANGED
@@ -1,4 +1,4 @@
1
1
  ∧_∧
2
2
  ( > _ < )
3
- / つ(⌒ ⌒)`.
3
+ / つ(⌒ ⌒)`.
4
4
  しー \/
package/package.json CHANGED
@@ -1,10 +1,12 @@
1
1
  {
2
2
  "name": "nekos",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "Let's have cute cats mess around in the log!",
5
- "type": "module",
6
- "main": "index.cjs",
7
- "module": "index.js",
5
+ "main": "index.js",
6
+ "exports": {
7
+ "import": "./index.js",
8
+ "require": "./index.cjs"
9
+ },
8
10
  "types": "index.d.ts",
9
11
  "scripts": {
10
12
  "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",