
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
swagger-ui-svelte
Advanced tools
Light version of swagger UI using Svelte JavaScript framework.
npm i swagger-ui-svelte
// OR
yarn add swagger-ui-svelte
Note: to use this library in sapper, install as devDependency. See the link.
Local demo:
git clone https://github.com/matchid-project/swagger-ui-svelte
cd swagger-ui-svelte
npm install && npm run dev
An example of how to use the library
<script>
import SwaggerUISvelte from "swagger-ui-svelte";
</script>
<SwaggerUISvelte swagger_url="/swagger.json" />
Component props:
Prop | Type | Default | Description |
---|---|---|---|
swagger_url | string | swagger-example.json | URL for swagger.json file |
FAQs
Light version of swagger UI using Svelte framework
The npm package swagger-ui-svelte receives a total of 450 weekly downloads. As such, swagger-ui-svelte popularity was classified as not popular.
We found that swagger-ui-svelte demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.