Package
counterfact
Turn an OpenAPI document into a useful local API for frontend development in one command.
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
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- jsDelivr
https://cdn.jsdelivr.net/npm/counterfact@2.16.5/ - unpkg
https://unpkg.com/counterfact@2.16.5/ - esm.sh
https://esm.sh/counterfact@2.16.5
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| openapi-client-axios | 184.2k | - | 7 months ago | CommonJS | - |
| specmatic | 26.7k | - | 8 days ago | CommonJS | - |
| @scalar/openapi-parser | 2m | - | today | ESM only | - |
| @mintlify/openapi-parser | 213.8k | - | 11 months ago | ESM only | - |
| openapi-typescript | 5.3m | - | 7 months ago | ESM + CommonJS | - |
| zod-openapi | 994k | - | 24 days ago | ESM + CommonJS | - |
| @speclynx/apidom-ns-openapi-3-0 | 23.6k | - | 5 days ago | ESM + CommonJS | - |
| @speclynx/apidom-ns-openapi-2 | 23.5k | - | 5 days ago | ESM + CommonJS | - |
Indexability: Not indexed (discovery only): downloads_week 3136 < 10000.