date-fns/date-fns
GitHub⏳ Modern JavaScript date utility library ⌛️
- date
- date-fns
- hacktoberfest
- javascript
- modules
- nodejs
- time
- utilities
- Stars:
- 36.7k
- Language:
- TypeScript
- Default branch:
- main
- Last scored:
57.0
Overall
At a glance
- Rank
- #319 of 401
- #76 of 82 TypeScript repos
- Checks passed
- 6 of 17
- Full list below
- Best set up for
- Claude Code
- Score 62.9
- Needs most work for
- Aider
- Biggest fix: .aider.conf.yml (+14.1 pts)
What it has
What it's missing
What to fix first
Showing fixes for Claude Code
- 1Test suiteAdd a tests/ (or test/, __tests__/, spec/) directory with runnable tests. Document how to run them in AGENTS.md.+13.2 pts
- 2Linter / formatter configConfigure a linter/formatter (ESLint+Prettier, Biome, Ruff, rustfmt+clippy, golangci-lint) and commit the config.+7.9 pts
- 3Pre-commit / git hooksSet up pre-commit (.pre-commit-config.yaml), husky, or lefthook to run format+lint on every commit.+5.3 pts
Score for each AI agent
Each agent weighs the checks by its own docs. Under each score are its top three. How each agent is scored →
Does date-fns/date-fns have agent instructions?
An AGENTS.md (or CLAUDE.md) at the root tells AI coding agents how to build, test and work in the repo. A few agents also read a file of their own.
- AGENTS.md / CLAUDE.md
AGENTS.md(new tab) · 1,209 characters- Agent-specific files
- None: no GEMINI.md, .cursor/rules, .openhands/setup.sh, .aider.conf.yml or .agents/skills
- Repos that have one
- 62 of 82 TypeScript repos · 221 of 401 repos on the leaderboard · See examples →
All 17 checks · 6 passed
✗
Skills (.agents/skills)· 0% pass
No .agents/skills/<name>/SKILL.md
✓
✗
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
✓
✓
✗
Cursor rules (.cursor/rules)· 0% pass
No .cursor/rules/*.mdc or .cursorrules
✓
~
✗
GEMINI.md· 0% pass
No GEMINI.md at repo root
✗
License file· 0% pass
No LICENSE/COPYING file
✗
Linter / formatter config· 0% pass
No linter/formatter config found
✗
.openhands/setup.sh· 0% pass
No .openhands/setup.sh
✗
Pre-commit / git hooks· 0% pass
No pre-commit / husky / lefthook found
~
Manageable size· 50% pass
2014 files — large
✗
Test suite· 0% pass
No test directory or test files found
✓
How date-fns/date-fns compares
- vs leaderboard average
- 9.8 pts below
- Average 66.8
- vs TypeScript average
- 14.2 pts below
- Average 71.2
- Stars among TypeScript repos
- #47 of 82
Missing here, and how many repos have it
- License file · passed by 92% of leaderboard repos, 96% of TypeScript repos
- Linter / formatter config · passed by 65% of leaderboard repos, 57% of TypeScript repos
- Test suite · passed by 52% of leaderboard repos, 29% of TypeScript repos
One fix for the most agents: Test suite would raise the score for all 9 agents, by up to 14.1 points.
Similar repos
Same language and host as this repo, closest in overall score.
- shadcn-ui/ui61.9TypeScript · 127.3k ★
- trpc/trpc61.4TypeScript · 40.8k ★
- TypeScript · 98.1k ★
- TypeScript · 36.2k ★
- honojs/hono59.7TypeScript · 32.8k ★
- TypeScript · 24.4k ★
Same topics, any language
Repos tagged with the same GitHub topics, most shared first.
- tqdm/tqdm67.1Python · time, utilities
- pnpm/pnpm86.3Rust · modules, Node.js
- C# · utilities
- axios/axios88.1JavaScript · Node.js
- vercel/next.js86.9JavaScript · Node.js
- nrwl/nx86.3TypeScript · Node.js
Add a badge to your README
Paste this at the top of the README. It shows the score, and links back to this page.
[](https://agentfriendlycode.com/repo/github/date-fns/date-fns)Check the score on every pull request
A GitHub Action posts one comment per pull request with how the score changed and why.