Skip to content
JS
Package

fix-dts-default-cjs-exports

Utility to fix TypeScript declarations when using default exports in CommonJS.

v1.0.1, 18 Mar 2025MITESM + CommonJSTypes: BundledTypeScript toolingBundlers
$ npm install fix-dts-default-cjs-exports

Key numbers

As of 25 Sept 2026
Weekly downloads
5m
+380% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
1 year ago
v1.0.1
GitHub stars
15
2 forks
Open issues / PRs
1 / 2
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6m8mSept 2025Mar 2026Sept 2026High 6.6m (18 Aug 2026)Low 817.9k (14 Oct 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

5,023,396 downloads last week, 21,454,224 in the last month. The 12-month change of +380% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
03 in total
Latest version
1.0.1, 18 Mar 20251 year ago
First published
23 Feb 2025
Last push to GitHub
23 Mar 2025550 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
2
Commits, last 52 weeks
0
Dependents on npm
71

Major versions

  1. v1 first release 1.0.0, 26 Feb 2025
  2. v0 first release 0.0.1, 23 Feb 2025

Recent releases

VersionPublished
1.0.118 Mar 2025
1.0.026 Feb 2025
0.0.123 Feb 2025
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
42 kB
Dependencies (3)
mllyrollupmagic-string
npm install fix-dts-default-cjs-exports
  • jsDelivrhttps://cdn.jsdelivr.net/npm/fix-dts-default-cjs-exports@1.0.1/
  • unpkghttps://unpkg.com/fix-dts-default-cjs-exports@1.0.1/
  • esm.shhttps://esm.sh/fix-dts-default-cjs-exports@1.0.1
PackageWeekly downloadsGzipLast releaseModuleComparison
@microsoft/api-extractor3.4m-2 days agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.