Skip to content
JS
Package

counterfact

Turn an OpenAPI document into a useful local API for frontend development in one command.

v2.16.5, 29 Aug 2026MITESM onlyTypes: BundledDocumentation toolingTypeScript tooling
$ npm install counterfact

Key numbers

As of 25 Sept 2026
Weekly downloads
3.1k
+25% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
11
Direct, from package.json
Last release
27 days ago
v2.16.5
GitHub stars
170
20 forks
Open issues / PRs
2 / 18
Contributors
-
Commits, last 52 weeks
2,610

Downloads

Last week 2026-09-15 to 2026-09-21
02k4k6kSept 2025Mar 2026Sept 2026High 5.9k (28 Jul 2026)Low 401 (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

3,136 downloads last week, 11,688 in the last month. The 12-month change of +25% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.16.5, 29 Aug 202627 days ago
First published
-
Last push to GitHub
24 Sept 2026same day as the snapshot
Repository archived
No
Open issues
2
Open pull requests
18
Commits, last 52 weeks
2,610
Dependents on npm
1

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=22
Runtimes
-
Unpacked size (npm)
241 kB
Dependencies (11)
opendebugjs-yamlcommanderposthog-nodehttp-terminator@counterfact/repl@counterfact/client@counterfact/openapi@counterfact/runtime@counterfact/generator
npm install counterfact
  • jsDelivrhttps://cdn.jsdelivr.net/npm/counterfact@2.16.5/
  • unpkghttps://unpkg.com/counterfact@2.16.5/
  • esm.shhttps://esm.sh/counterfact@2.16.5
PackageWeekly downloadsGzipLast releaseModuleComparison
openapi-client-axios184.2k-7 months agoCommonJS-
specmatic26.7k-8 days agoCommonJS-
@scalar/openapi-parser2m-todayESM only-
@mintlify/openapi-parser213.8k-11 months agoESM only-
openapi-typescript5.3m-7 months agoESM + CommonJS-
zod-openapi994k-24 days agoESM + CommonJS-
@speclynx/apidom-ns-openapi-3-023.6k-5 days agoESM + CommonJS-
@speclynx/apidom-ns-openapi-223.5k-5 days agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 3136 < 10000.