release: WRNexusJS 0.7.0

This commit is contained in:
Clintchiz committed 2026-08-01 10:04:42 +05:30
1 parent c54144f2e4
commit 87507edf59
207 files changed
+12607 -679

No files matched your search

+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",
});
```