kcachat 0.1.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.
Files changed (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/cli.mjs +21 -0
  4. package/package.json +39 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 claudianus
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # kcachat
2
+
3
+ `kakaotalk-chat-analyzer`를 **짧은 npx 이름**으로 실행하기 위한 초경량 래퍼입니다. 기능·CLI·리포트는 전부 본 패키지에 있습니다.
4
+
5
+ ```bash
6
+ npx kcachat@latest "./KakaoTalk_Chat_....csv" --local
7
+ npx kcachat@latest "./KakaoTalk_Chat_....csv"
8
+ ```
9
+
10
+ - 전체 패키지명: [kakaotalk-chat-analyzer](https://www.npmjs.com/package/kakaotalk-chat-analyzer)
11
+ - 소개·시작 가이드(랜딩): [GitHub Pages](https://claudianus.github.io/kakaotalk-chat-analyzer/)
package/cli.mjs ADDED
@@ -0,0 +1,21 @@
1
+ #!/usr/bin/env node
2
+ import { spawnSync } from "node:child_process";
3
+ import { createRequire } from "node:module";
4
+ import { dirname, join } from "node:path";
5
+
6
+ const require = createRequire(import.meta.url);
7
+ let target;
8
+ try {
9
+ const pkgPath = require.resolve("kakaotalk-chat-analyzer/package.json");
10
+ const root = dirname(pkgPath);
11
+ target = join(root, "dist", "src", "cli.js");
12
+ } catch {
13
+ console.error('[kcachat] "kakaotalk-chat-analyzer"를 불러오지 못했습니다. npm i kcachat 후 다시 실행해 주세요.');
14
+ process.exit(1);
15
+ }
16
+
17
+ const result = spawnSync(process.execPath, [target, ...process.argv.slice(2)], {
18
+ stdio: "inherit",
19
+ env: process.env,
20
+ });
21
+ process.exit(result.status ?? 1);
package/package.json ADDED
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "kcachat",
3
+ "version": "0.1.0",
4
+ "description": "짧은 npx 이름으로 kakaotalk-chat-analyzer(kca) CLI를 실행합니다.",
5
+ "type": "module",
6
+ "bin": {
7
+ "kcachat": "cli.mjs"
8
+ },
9
+ "files": [
10
+ "cli.mjs",
11
+ "README.md",
12
+ "LICENSE"
13
+ ],
14
+ "dependencies": {
15
+ "kakaotalk-chat-analyzer": "^0.2.0"
16
+ },
17
+ "keywords": [
18
+ "kakaotalk",
19
+ "kca",
20
+ "chat",
21
+ "analyzer",
22
+ "npx"
23
+ ],
24
+ "license": "MIT",
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "git+https://github.com/claudianus/kakaotalk-chat-analyzer.git",
28
+ "directory": "kcachat"
29
+ },
30
+ "bugs": {
31
+ "url": "https://github.com/claudianus/kakaotalk-chat-analyzer/issues"
32
+ },
33
+ "publishConfig": {
34
+ "access": "public"
35
+ },
36
+ "engines": {
37
+ "node": ">=22"
38
+ }
39
+ }