plugin-worma-docs weekly downloads statistics
By Leadgq (2 listings) · npm · Webpack plugins
Vite/Webpack plugin: generate a local OpenAPI handbook (method, path, request, response) via wormajs.
plugin-worma-docs has 8 recorded weekly downloads on npm, a change of -38.5% over the past 7 days, ranking #2102 of 2,322 tracked listings.
About plugin-worma-docs
plugin-worma-docs
Vite / Webpack plugin that turns an OpenAPI spec into a local handbook: method, path, request fields, response fields. No generated HTTP client.
Vite
import { defineConfig } from 'vite'
import { wormaDocs } from 'plugin-worma-docs'
export default defineConfig({
plugins: [
wormaDocs({
swagger: 'https://petstore3.swagger.io/api/v3/openapi.json',
output: 'src/api/aidocs',
tags: ['pet', 'store'],
}),
],
})
Several independent specs:
wormaDocs({
swagger: [
'https://api-a.example.com/swagger/v1/swagger.json',
'https://api-b.example.com/swagger/v1/swagger.json',
],
output: 'src/api/aidocs',
})
Different tags / folders per spec:
wormaDocs({
swagger: [
{
swagger: 'https://api-a.example.com/swagger/v1/swagger.json',
tags: ['CompanySupervision'],
output:"src/api/data-center"
},
{
swagger: 'https://api-b.example.com/swagger/v1/swagger.json',
tags: ['Tender'],
output: 'src/api/aidocs-tender',
},
],
})
Same as worma apiFilter — one path, or a regex. Do not set tags at the same time:
wormaDocs({
swagger: 'https://test2-gateway.hnyotech.com.cn/tenderalertapi/swagger/v1/swagger.json',
output: 'src/api/aidocs',
apiFilter: {
scope: 'url',
include: /\/api\/Alert\/FindAlert(Overview|Trend)$/,
},
})
Several paths (union / OR):
wormaDocs({
swagger: '.../swagger.json',
apiFilter: [
{ scope: 'url', include: '/api/Alert/FindAlertOverview' },
{ scope: 'url', include: '/api/Alert/FindAlertTrend' },
],
})
Webpack 5
const { WormaDocsWebpackPlugin } = require('plugin-worma-docs/webpack')
module.exports = {
plugins: [
new WormaDocsWebpackPlugin({
swagger: 'https://petstore3.swagger.io/api/v3/openapi.json',
output: 'src/api/aidocs',
}),
],
}
Options
| Name | Default | Description |
|---|---|---|
swagger | required | One URL, several URLs, or { swagger, tags?, output? } objects |
output | src/api/aidocs | Handbook directory, relative to project root |
tags | all tags | Shortcut for { scope: 'tag', include }. Mutually exclusive with apiFilter |
apiFilter | all APIs | Same as wormajs apiFilter(). Mutually exclusive with tags |
enable | true | Skip generation when false |
force | false | Ignore worma cache and refetch the spec |
Generation runs once on Vite buildStart and once on Webpack beforeRun / first watchRun. A failed fetch logs a warning and does not fail the build.
Description from the npm listing.
- vite
- vite-plugin
- webpack
- webpack-plugin
- openapi
- swagger
- worma
- api-docs
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (544)Similar npm Webpack plugins plugins
All 20 plugin-worma-docs alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/plugin-worma-docs. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.