Axios vs Got: source lines of code compared

This page compares the source lines of code (SLOC) of axios/axios and sindresorhus/got using cached OctoCounts reports. Code size is not code quality: a larger count only means more source material, not a better or worse project.

As of 2026-08-26, axios/axios contains 27,598 total lines (18,316 code) across 120 files, while sindresorhus/got contains 12,091 total lines (7,658 code) across 32 files as of 2026-08-26. axios/axios is about 2.4x the size of sindresorhus/got by code lines. Code size is not code quality: a larger count only means more source material, not a better or worse project.

Metricaxios/axiossindresorhus/got
Files12032
Total lines27,59812,091
Code lines18,3167,658
Comment lines6,0102,508
Blank lines3,2721,925
Languages counted54

Top languages in axios/axios: JSON (54.2% of code), JavaScript (36.8% of code), TypeScript (7.3% of code). Top languages in sindresorhus/got: TypeScript (97.8% of code), JSON (2.2% of code), SVG (0.0% of code). JSON, TypeScript, Markdown appear in both top language lists; JavaScript, HTML appear only in axios/axios's top languages; SVG appears only in sindresorhus/got's top languages.

Methodology: both counts come from cached OctoCounts reports generated with tokei. axios/axios was counted at ref v1.x (commit fede1d1562e3) on 2026-08-26; sindresorhus/got was counted at ref main (commit e3924aa1e53a) on 2026-08-26. See the counting methodology for ignored directories and analysis options.

Evidence and next steps:

Note: code size is not code quality. OctoCounts only reports reproducible line counts and makes no claim that either project is better.

Compare FAQ

Which has more lines of code, axios/axios or sindresorhus/got?

axios/axios has more code: 18,316 code lines versus 7,658 for sindresorhus/got, about 2.4x as much, based on cached OctoCounts reports as of 2026-08-26.

Does more source lines of code mean more complexity?

Not necessarily. SLOC measures size, not complexity, quality, or maintainability. A larger codebase can mean more features, more generated or vendored code, more verbose language idioms, or more tests — none of which imply the code is harder to work with. Use SLOC to gauge the scale of what you'd be reading or maintaining, not as a quality signal for axios/axios, sindresorhus/got, or any repository.

How is this comparison calculated?

Methodology: both counts come from cached OctoCounts reports generated with tokei. axios/axios was counted at ref v1.x (commit fede1d1562e3) on 2026-08-26; sindresorhus/got was counted at ref main (commit e3924aa1e53a) on 2026-08-26. See the counting methodology for ignored directories and analysis options.

Can I compare a different branch, tag, or commit?

Yes. This page shows the default branch for each repository. Use the interactive comparison tool to pick any public GitHub repository, branch, tag, or commit SHA for both sides and get a fresh side-by-side report.