Skip to content

feat(node): add nodejs.org/dist/index.json client with TTL cache#12

Merged
dipto0321 merged 1 commit into
mainfrom
feat/node/dist-index-client
Jun 29, 2026
Merged

feat(node): add nodejs.org/dist/index.json client with TTL cache#12
dipto0321 merged 1 commit into
mainfrom
feat/node/dist-index-client

Conversation

@dipto0321

Copy link
Copy Markdown
Owner

Implements Phase 2 of the build plan:\n- Fetch Node.js versions from nodejs.org/dist/index.json\n- Cache with 24h TTL for offline use (--offline flag)\n- LatestLTS() and LatestCurrent() helpers with semver comparison\n- Updated check command to display available versions\n- JSON output (--json flag) for CI integration\n\n

Fetch latest Node.js versions (LTS and Current) from nodejs.org/dist/index.json.
Cache results with 24h TTL in ~/.cache/nodeup/node-dist-index.json for offline use.
Implement check command to display available versions.
@dipto0321 dipto0321 force-pushed the feat/node/dist-index-client branch from 7c01285 to 818984a Compare June 29, 2026 16:56
@cocogitto-bot

cocogitto-bot Bot commented Jun 29, 2026

Copy link
Copy Markdown

✔️ 818984a - Conventional commits check succeeded.

@dipto0321 dipto0321 merged commit 548c162 into main Jun 29, 2026
10 checks passed
@dipto0321 dipto0321 deleted the feat/node/dist-index-client branch June 29, 2026 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant