{"library":"sirv","type":"library","category":null,"description":"Sirv is an optimized and lightweight middleware designed for serving static assets in Node.js applications, compatible with frameworks like Polka, Express, and native HTTP/S servers. The current stable version is 3.0.2. Its primary differentiator is a significant performance advantage over alternatives like `serve-static` because it pre-scans and caches file system information upfront (when not in 'dev' mode), avoiding costly per-request file system checks. This makes it very efficient for production deployments. Releases are active, with recent patches and a major version upgrade to v3.0.0 that introduced native ESM support and a higher Node.js baseline. It ships with TypeScript types, enhancing developer experience.","language":"javascript","status":"active","version":"3.0.2","tags":["javascript","typescript"],"install":[{"cmd":"npm install sirv","imports":["import sirv from 'sirv';","import type { SirvOptions } from 'sirv';","import sirv from 'sirv';"]},{"cmd":"yarn add sirv","imports":[]},{"cmd":"pnpm add sirv","imports":[]}],"homepage":null,"github":"https://github.com/lukeed/sirv","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/sirv","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/sirv/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Tue Jul 21","install_tag":null}}