{
  "name": "@nifrajs/image",
  "version": "3.1.0",
  "description": "Image optimization for nifra - a CLS-safe responsive <Image> + pluggable loaders (CDN or self-hosted) + pure-JS dimension reading. Zero-dependency core; optional Bun.Image-backed resize endpoint at @nifrajs/image/server.",
  "keywords": [
    "bun",
    "typescript",
    "nifra",
    "image",
    "image-optimization",
    "responsive-images",
    "srcset",
    "sharp",
    "cls"
  ],
  "type": "module",
  "main": "./dist/index.js",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "bun": "./src/index.ts",
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    },
    "./server": {
      "bun": "./src/server.ts",
      "types": "./dist/server.d.ts",
      "default": "./dist/server.js"
    },
    "./backends": {
      "bun": "./src/backend.ts",
      "types": "./dist/backend.d.ts",
      "default": "./dist/backend.js"
    },
    "./og": {
      "bun": "./src/og.ts",
      "types": "./dist/og.d.ts",
      "default": "./dist/og.js"
    },
    "./og-png": {
      "bun": "./src/og-png.ts",
      "types": "./dist/og-png.d.ts",
      "default": "./dist/og-png.js"
    }
  },
  "files": [
    "dist",
    "src"
  ],
  "sideEffects": false,
  "scripts": {
    "build": "tsc -p tsconfig.build.json && bun run ../../scripts/fix-dts.ts dist"
  },
  "license": "MIT",
  "publishConfig": {
    "access": "public"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/nifrajs/nifra.git",
    "directory": "packages/image"
  },
  "bugs": {
    "url": "https://github.com/nifrajs/nifra/issues"
  },
  "homepage": "https://github.com/nifrajs/nifra#readme"
}
