{"library":"vite-plugin-subresource-integrity","type":"library","category":null,"description":"Vite plugin that adds subresource integrity (SRI) hashes to script and stylesheet imports in index.html at build time. Version 0.0.12 is the latest, with an unknown release cadence. It is a TypeScript rewrite of @small-tech/vite-plugin-sri, offering native type definitions and support for multiple frameworks (Vue, React, Svelte, Solid, Qwik, Lit, Preact, vanilla). Key differentiators: lightweight, no runtime overhead, and simple configuration. Alternatives include rollup-plugin-sri and @small-tech/vite-plugin-sri.","language":"javascript","status":"active","version":"0.0.12","tags":["javascript","Vite","Subresource","Integrity","SRI","Plugin","typescript"],"last_verified":"Mon Apr 27","install":[{"cmd":"npm install vite-plugin-subresource-integrity","imports":["import subresourceIntegrity from 'vite-plugin-subresource-integrity'","import subresourceIntegrity from 'vite-plugin-subresource-integrity'","import type { VitePluginSubresourceIntegrity } from 'vite-plugin-subresource-integrity'"]},{"cmd":"yarn add vite-plugin-subresource-integrity","imports":[]},{"cmd":"pnpm add vite-plugin-subresource-integrity","imports":[]}],"homepage":null,"github":"https://github.com/JADSN1894/vite-plugin-sri","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-plugin-subresource-integrity","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}