All 85 Dependencies

Every package swagger-ui depends on, ranked by repo health score.

Swagger UI converts OpenAPI (formerly Swagger) Specification files into a rich, interactive web interface that lets anyone — developers, QA engineers, or end users — visualize and exercise an API without writing a single line of client code. By pointing it at a spec URL or file, teams instantly get browsable endpoint documentation with inline request forms, live response inspection, and authentication flows.

The project ships as three distinct npm packages to cover different integration scenarios: `swagger-ui` for Webpack/Browserify single-page applications, `swagger-ui-dist` as a self-contained bundle for server-side or static deployments, and `swagger-ui-react` as a first-class React component. All three are backed by the same core system built on Redux with ImmutableJS state, a plugin-injection architecture, and pluggable layout support.

Swagger UI supports OpenAPI 2.0, 3.0.x, 3.1.x, and the newly introduced 3.2.0 specification, with dedicated plugin layers for each major revision. The JSON Schema 2020-12 support lands as a separate plugin that renders every keyword — `allOf`, `anyOf`, `oneOf`, `if/then/else`, `unevaluatedProperties`, and more — as an interactive UI element aware of schema semantics. Dark mode, deep linking, request snippet generation, syntax highlighting, OAuth2 flows, and a safe-render error-boundary system are all implemented as first-class, replaceable plugins.

Originally created by SmartBear Software and now part of the OpenAPI Initiative ecosystem, Swagger UI has become the de-facto standard for API documentation presentation, with hundreds of millions of npm downloads and active Docker images. The project is actively maintained with a release cadence averaging two-plus releases per month.

22 xml-but-prettier ^1.0.1 27 react-immutable-pure-component ^2.2.0 32 CSS.escape 1.5.1 35 ieee754 ^1.2.1 36 node-xml =1.0.1 36 randombytes ^2.1.0 36 sha.js ^2.4.12 38 Zenscroll ^4.0.2 38 deep-extend 0.6.0 39 base64-js ^1.5.1 39 dedent ^1.6.0 39 react-immutable-proptypes 2.2.0 39 url-parse ^1.5.10 40 babel-plugin-module-resolver =5.0.2 outdated 40 prop-types ^15.8.1 40 scarf-js =1.4.0 40 stream-browserify ^3.0.0 41 react-debounce-input =3.3.0 42 process ^0.11.10 43 js-file-download ^0.4.12 43 react-copy-to-clipboard 5.1.1 43 redux-immutable ^4.0.0 44 buffer ^6.0.3 46 npm-run-all ^4.1.5 47 remarkable ^2.0.1 48 react-inspector ^6.0.1 outdated 49 cors ^2.8.5 49 deepmerge ^4.3.1 52 @svgr/core =8.1.0 52 classnames ^2.5.1 57 eslint-plugin-import ^2.31.0 57 rimraf ^6.0.1 59 html-webpack-plugin ^5.6.3 62 React Syntax Highlighter ^16.0.0 62 mini-css-extract-plugin ^2.9.2 62 serialize-error ^8.1.0 outdated 63 Lodash ^4.18.1 67 babel-loader ^9.2.1 outdated 67 eslint-config-prettier ^10.1.1 67 postcss-loader ^8.1.1 68 open ^10.1.0 outdated 73 eslint-plugin-prettier ^5.2.3 76 randexp.js ^0.5.3 outdated 77 postcss-preset-env ^10.1.6 outdated 81 js-yaml =4.2.0 outdated 85 Reselect ^5.1.1 85 node-oauth2-server =5.3.0 outdated 85 sass-loader ^16.0.4 outdated 85 start-server-and-test ^2.0.11 outdated 86 Autoprefixer ^10.4.21 86 body-parser ^1.20.5 outdated 88 webpack-dev-server ^5.2.5 outdated 89 immutable-js ^3.x.x outdated 89 lint-staged ^15.5.0 outdated 90 Cheerio =1.2.0 90 Express ^4.22.2 outdated 90 cssnano =7.0.7 outdated 90 jsdom =26.0.0 outdated 91 DOMPurify ^3.4.11 91 Stylelint ^16.19.1 outdated 91 eslint-plugin-react ^7.37.4 91 prettier ^3.5.3 92 postcss ^8.5.12 93 Cypress =14.2.0 outdated 93 React Redux ^9.2.0 94 jest =30.4.1 outdated 94 jest =30.4.1 outdated 94 jest =30.4.2 outdated 94 jest =30.4.1 outdated 94 webpack-cli ^6.0.1 outdated 95 @babel/core =7.29.6 outdated 95 @babel/core =7.26.10 outdated 95 @babel/core =7.26.10 outdated 95 @babel/core =7.27.2 outdated 95 @babel/core =7.26.3 outdated 95 @babel/core =7.27.1 outdated 95 @babel/core ^7.27.1 outdated 95 ESLint ^8.57.0 outdated 95 Redux ^5.0.1 95 swagger-client ^3.37.4 97 webpack ^5.97.1 98 React >=16.8.0 <20 98 React ^0.17.0 outdated 98 React DOM >=16.8.0 <20 98 React DOM ^18.3.1 outdated

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers