feat(#2): Export mood reports (Markdown, JSON, HTML) #9

Merged
ti-paul merged 1 commit from feature/2-export-mood-report into main 2026-06-11 23:07:59 +00:00
Member

Closes #2

New: src/export.js

  • Markdown export with tables
  • JSON structured data
  • Standalone HTML with score bars + XSS protection
  • CLI: git-mood report --format md|json|html

18 tests. 115 total pass.

Closes #2 ## New: src/export.js - Markdown export with tables - JSON structured data - Standalone HTML with score bars + XSS protection - CLI: git-mood report --format md|json|html 18 tests. **115 total pass.**
feat(#2): export mood reports in Markdown, JSON, HTML
Some checks failed
CI / test (pull_request) Failing after 0s
3ff404c849
New module src/export.js:
- buildReport: structured report data from analyzed commits
- exportMarkdown: formatted MD with tables
- exportJSON: structured data export
- exportHTML: standalone HTML with styling and score bars
- XSS protection via HTML escaping

CLI integration:
- git-mood report --format json|md|html
- git-mood report --format md --output MOOD_REPORT.md

18 new tests. All 115 tests pass. Closes #2.
ti-paul left a comment
No description provided.
18 tests, 115 total. Clean export module. LGTM.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
les_clankeurs/git-mood!9
No description provided.