• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

aishek / axios-rate-limit / 23085655346
100%

Build:
DEFAULT BRANCH: master
Ran 14 Mar 2026 09:57AM UTC
Jobs 8
Files 1
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Mar 2026 09:56AM UTC coverage: 100.0%. Remained the same
23085655346

push

github

aishek
fix(types): use `export =` instead of `export default` for CJS compatibility

The package uses `module.exports = function axiosRateLimit(...)` (CJS),
but the type declaration uses `export default function`. Under TypeScript's
`moduleResolution: "node16"` or `"nodenext"`, this causes the default
import to be typed as a non-callable module namespace object rather than
the function itself, resulting in:

  error TS2349: This expression is not callable.

Switching to `export =` correctly represents the CJS `module.exports`
contract and works under all module resolution strategies:

- `const rateLimit = require('axios-rate-limit')` (CJS)
- `import rateLimit from 'axios-rate-limit'` (ESM with esModuleInterop)
- `import rateLimit from 'axios-rate-limit'` (node16/nodenext resolution)

Named type exports remain importable via `import type { ... }`.

145 of 145 branches covered (100.0%)

Branch coverage included in aggregate %.

172 of 172 relevant lines covered (100.0%)

772.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23085655346.1 14 Mar 2026 09:57AM UTC 2
100.0
GitHub Action Run
2 23085655346.2 14 Mar 2026 09:57AM UTC 2
100.0
GitHub Action Run
3 23085655346.3 14 Mar 2026 09:57AM UTC 2
100.0
GitHub Action Run
4 23085655346.4 14 Mar 2026 09:57AM UTC 2
100.0
GitHub Action Run
5 23085655346.5 14 Mar 2026 09:57AM UTC 2
100.0
GitHub Action Run
6 23085655346.6 14 Mar 2026 09:57AM UTC 2
100.0
GitHub Action Run
7 23085655346.7 14 Mar 2026 09:57AM UTC 2
100.0
GitHub Action Run
8 23085655346.8 14 Mar 2026 09:57AM UTC 2
100.0
GitHub Action Run
Source Files on build 23085655346
  • Tree
  • List 1
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #23085655346
  • 72ebc1a2 on github
  • Prev Build on master (#23085517941)
  • Next Build on master (#23085875004)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc