Skip to content
JS
Package

@scalar/nextjs-api-reference

Next.js API route handler to serve beautiful, interactive API documentation from OpenAPI/Swagger documents.

v0.12.3, 24 Sept 2026MITESM + CommonJSTypes: BundledDocumentation tooling
$ npm install @scalar/nextjs-api-reference

Key numbers

As of 25 Sept 2026
Weekly downloads
149.8k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
today
v0.12.3
GitHub stars
16.2k
939 forks
Open issues / PRs
18 / 39
Contributors
-
Commits, last 52 weeks
2,360

No weekly download data in the snapshot.

149,844 downloads last week, 903,003 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
0.12.3, 24 Sept 2026today
First published
-
Last push to GitHub
24 Sept 2026same day as the snapshot
Repository archived
No
Open issues
18
Open pull requests
39
Commits, last 52 weeks
2,360
Dependents on npm
4

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=22
Runtimes
-
Unpacked size (npm)
63 kB
Dependencies (1)
@scalar/client-side-rendering
Peer dependencies (2)
nextreact
npm install @scalar/nextjs-api-reference
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@scalar/nextjs-api-reference@0.12.3/
  • unpkghttps://unpkg.com/@scalar/nextjs-api-reference@0.12.3/
  • esm.shhttps://esm.sh/@scalar/nextjs-api-reference@0.12.3
PackageWeekly downloadsGzipLast releaseModuleComparison
oas-kit-common3m-6 years agoCommonJS-
express-jsdoc-swagger12.8k-4 years agoCommonJS-
widdershins24.3k-6 years agoCommonJS-
json-schema-ref-resolver9.1m-1 year agoCommonJS-
oas-schema-walker3m-6 years agoCommonJS-
next-openapi-gen32.6k-8 days agoESM only-
swagger-combine25.6k-4 years agoCommonJS-
openapi-typescript5.3m-7 months agoESM + CommonJS-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.