UNPKG

@cf-wasm/photon

Version:

Photon library for Cloudflare workers, Next.js and Node.js.

91 lines 2.42 kB
{ "name": "@cf-wasm/photon", "version": "0.1.31", "private": false, "description": "Photon library for Cloudflare workers, Next.js and Node.js.", "keywords": [ "image-processing", "image-manipulation", "image-resizing", "rust", "rust-library", "webassembly", "wasm", "cloudflare-workers" ], "license": "Apache-2.0", "collaborators": [ "Silvia O'Dwyer <silviaodwyerdev@gmail.com>" ], "homepage": "https://github.com/fineshopdesign/cf-wasm/tree/main/packages/photon#readme", "repository": { "type": "git", "url": "https://github.com/fineshopdesign/cf-wasm", "directory": "packages/photon" }, "bugs": { "url": "https://github.com/fineshopdesign/cf-wasm/issues" }, "files": [ "dist" ], "type": "module", "module": "./dist/esm/workers/index.js", "types": "./dist/dts/workers/index.d.ts", "exports": { ".": { "types": "./dist/dts/workers/index.d.ts", "import": "./dist/esm/workers/index.js" }, "./next": { "types": "./dist/dts/next/index.d.ts", "import": "./dist/esm/next/index.js" }, "./node": { "types": "./dist/dts/node/index.d.ts", "import": "./dist/esm/node/index.js", "require": "./dist/cjs/node/index.js" }, "./others": { "types": "./dist/dts/others/index.d.ts", "import": "./dist/esm/others/index.js", "require": "./dist/cjs/others/index.js" }, "./workers": { "types": "./dist/dts/workers/index.d.ts", "import": "./dist/esm/workers/index.js" }, "./photon.wasm": { "import": "./dist/esm/lib/photon_rs_bg.wasm", "require": "./dist/cjs/lib/photon_rs_bg.wasm", "default": "./dist/esm/lib/photon_rs_bg.wasm" }, "./package.json": "./package.json" }, "typesVersions": { "*": { "next": [ "./dist/dts/next/index.d.ts" ], "node": [ "./dist/dts/node/index.d.ts" ], "others": [ "./dist/dts/others/index.d.ts" ], "workers": [ "./dist/dts/workers/index.d.ts" ] } }, "dependencies": { "@cf-wasm/internals": "0.0.3" }, "scripts": { "check:types": "tsc --noEmit", "crate:download": "rimraf crate && fetcher --url=https://github.com/silvia-odwyer/photon/tree/master/crate --out=./", "wasm": "tsx scripts/wasm.ts", "build": "tsx scripts/build.ts", "clean": "rimraf dist" } }