ccusage 0.1.7 → 0.1.9

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
@@ -5,13 +5,27 @@
5
5
  [![npm version](https://badge.fury.io/js/ccusage.svg)](https://www.npmjs.com/package/ccusage)
6
6
 
7
7
  <div align="center">
8
- <img src="./docs/screenshot.png">
8
+ <img src="https://github.com/ryoppippi/ccusage/blob/main/docs/screenshot.png?raw=true">
9
9
  </div>
10
10
 
11
11
  A CLI tool for analyzing Claude Code usage from local JSONL files.
12
12
 
13
13
  Inspired by [this article](https://note.com/milliondev/n/n1d018da2d769) about tracking Claude Code usage costs.
14
14
 
15
+ ## What is `ccusage` (by NotebookLM)
16
+ <details>
17
+ <summary>Podcact</summary>
18
+
19
+ # English
20
+ https://github.com/user-attachments/assets/7a00f2f3-82a7-41b6-a8da-e04b76b5e35a
21
+
22
+
23
+ # 日本語
24
+ https://github.com/user-attachments/assets/db09fc06-bf57-4d37-9b06-514851bcc1d0
25
+
26
+ </details>
27
+
28
+
15
29
  ## Motivation
16
30
 
17
31
  Claude Code's Max plan offers unlimited usage - but wouldn't it be interesting to know how much you'd be paying if you were on a pay-per-use plan?
package/dist/index.js CHANGED
@@ -6816,7 +6816,7 @@ const consola = createConsola();
6816
6816
  //#endregion
6817
6817
  //#region package.json
6818
6818
  var name = "ccusage";
6819
- var version = "0.1.7";
6819
+ var version = "0.1.9";
6820
6820
  var description = "Usage analysis tool for Claude Code";
6821
6821
 
6822
6822
  //#endregion
@@ -6872,7 +6872,7 @@ const dailyCommand = define({
6872
6872
  if (dailyData.length === 0) {
6873
6873
  if (ctx.values.json) log(JSON.stringify([]));
6874
6874
  else logger.warn("No Claude usage data found.");
6875
- process.exit(0);
6875
+ process$1.exit(0);
6876
6876
  }
6877
6877
  const totals = dailyData.reduce((acc, data) => ({
6878
6878
  inputTokens: acc.inputTokens + data.inputTokens,
@@ -6927,7 +6927,7 @@ const dailyCommand = define({
6927
6927
  formatCurrency(data.totalCost)
6928
6928
  ]);
6929
6929
  table.push([
6930
- "─".repeat(16),
6930
+ "─".repeat(12),
6931
6931
  "─".repeat(12),
6932
6932
  "─".repeat(12),
6933
6933
  "─".repeat(12),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccusage",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "Usage analysis tool for Claude Code",
5
5
  "homepage": "https://github.com/ryoppippi/ccusage#readme",
6
6
  "bugs": {
@@ -16,7 +16,6 @@
16
16
  "type": "module",
17
17
  "bin": "./dist/index.js",
18
18
  "files": [
19
- "dist",
20
- "docs"
19
+ "dist"
21
20
  ]
22
21
  }
Binary file