Skip to content

Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA

TypeScript
268 B
Raw Blame
const { dayOfMonth } = require('./dates');
const { withRetry } = require('./retry');

function summary(hike) {
  const day = withRetry(() => dayOfMonth(hike.date), 3, (d) => Number.isInteger(d));
  return `${hike.name} on day ${day}`;
}

module.exports = { summary };