The Axios vs Got comparison on OctoCounts shows side-by-side source line counts for axios/axios and sindresorhus/got, counted under the rules and on the dates stated below: files, total lines, code lines, comment lines, blank lines, and per-language totals, pinned to the exact commits listed below.
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-11-15, axios/axios contains 29,321 total lines (19,618 code) across 124 files, while sindresorhus/got contains 12,853 total lines (8,026 code) across 32 files as of 2026-11-09. axios/axios has about 2.4x the counted code lines of sindresorhus/got under the same engine and counting rules. Code size is not code quality: a larger count only means more source material, not a better or worse project.
| Metric | axios/axios | sindresorhus/got |
|---|---|---|
| Files | 124 | 32 |
| Total lines | 29,321 | 12,853 |
| Code lines | 19,618 | 8,026 |
| Comment lines | 6,291 | 2,777 |
| Blank lines | 3,412 | 2,050 |
| Languages counted | 5 | 4 |
Top languages in axios/axios: JSON (52.7% of code), JavaScript (38.7% of code), TypeScript (6.9% of code). Top languages in sindresorhus/got: TypeScript (97.7% of code), JSON (2.3% 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 85ffbafab1a3) on 2026-11-15; sindresorhus/got was counted at ref main (commit 6b5aafc1cd53) on 2026-11-09. See the counting methodology for ignored directories and analysis options.
Both reports use the same engine and effective counting rules. Repository declarations, when enabled, are specific to each repository. axios/axios: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed. sindresorhus/got: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Background observations recorded on 2026-09-16; language descriptions here are historical context, not claims about the current filtered shares. Use this page's measured language breakdown for current counts. Repository layout before counting filters: axios/axios is the Axios repository: a promise-based HTTP client that runs in both browsers and Node.js, with its type definitions, tests, and examples. sindresorhus/got is the Got repository: an HTTP client that targets Node.js specifically, with its own tests and documentation. The two are comparable as single-library source trees, counted on the dates in the methodology line above.
The per-language tables show both repositories written in JavaScript with TypeScript definition files, so the counted difference is scope rather than implementation language: Axios maintains one client codebase across browser and Node.js environments, while Got targets Node.js only.
Line count does not track bundle weight, request throughput, or feature coverage; a smaller repository is not a lighter or faster HTTP client for any given workload.
Sources: axios/axios repository · sindresorhus/got repository. Statements verified 2026-09-16.
Evidence and next steps:
Saved reports remain subject to cache cleanup and replacement. Export their JSON for durable citation; live report URLs can change.
Note: code size is not code quality. OctoCounts only reports reproducible line counts and makes no claim that either project is better.
As of 2026-11-15, axios/axios contains 29,321 total lines (19,618 code) across 124 files, while sindresorhus/got contains 12,853 total lines (8,026 code) across 32 files as of 2026-11-09. axios/axios has about 2.4x the counted code lines of sindresorhus/got under the same engine and counting rules. Code size is not code quality: a larger count only means more source material, not a better or worse project.
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.
Methodology: both counts come from cached OctoCounts reports generated with tokei. axios/axios was counted at ref v1.x (commit 85ffbafab1a3) on 2026-11-15; sindresorhus/got was counted at ref main (commit 6b5aafc1cd53) on 2026-11-09. See the counting methodology for ignored directories and analysis options.
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.