@retraigo/image-size@1.0.0Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
retraigo/image-sizeThis package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




JSR Score
100%
Published
a year ago (1.0.0)
# image-size Get image format and image size from bytes. ## Usage ```ts import { getImageInfo } from "jsr:@retraigo/image-size"; const image = Deno.readFileSync("test.png"); console.log(getImageInfo(image)); /** * { * format: "png", * width: 1280, * height: 720, * } */ ```