release: WRNexusJS 0.7.0

This commit is contained in:
2026-08-01 10:04:42 +05:30
parent c54144f2e4
commit 87507edf59
207 changed files with 12607 additions and 679 deletions
+16
View File
@@ -0,0 +1,16 @@
# @wrnexus/image
Responsive image attribute generation with secure remote-host policies and audits for dimensions, LCP loading, source oversizing, transfer size, and modern formats.
```ts
import { createResponsiveImage } from "@wrnexus/image";
const attrs = createResponsiveImage({
src: "/hero.jpg",
alt: "Hero",
width: 1600,
height: 900,
widths: [480, 960, 1600],
sizes: "100vw",
format: "avif",
});
```