UNPKG

@lmagder/node-stable-diffusion-cpp

Version:

Node bindings for https://github.com/leejet/stable-diffusion.cpp

67 lines (66 loc) 1.99 kB
{ "name": "@lmagder/node-stable-diffusion-cpp", "version": "0.1.7", "author": "Lucas Magder (https://github.com/lmagder)", "description": "Node bindings for https://github.com/leejet/stable-diffusion.cpp", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/lmagder/node-stable-diffusion.cpp.git" }, "bugs": { "url": "https://github.com/lmagder/node-stable-diffusion.cpp/issues" }, "homepage": "https://github.com/lmagder/node-stable-diffusion.cpp", "scripts": { "postinstall": "(pkg-prebuilds-verify ./binding-options.cjs || cmake-js compile -p 8) && ((path-exists ./node_modules/typescript && tsc) || path-exists ./build/cudadeps.js) && node ./build/cudadeps.js", "prepare": "tsc --build", "pkg-prebuilds-copy": "pkg-prebuilds-copy --baseDir build/Release --source node-stable-diffusion-cpp.node --name=node-stable-diffusion-cpp --strip --napi_version=9 --extraFiles=cuda_version.json", "rebuild": "tsc --build --clean && cmake-js rebuild -p 8" }, "bin": { "node-sd": "bin/node-sd" }, "binary": { "napi_versions": [ 9 ] }, "engines": { "node": ">=18.17" }, "types": "./index.d.ts", "type": "module", "exports": { ".": "./index.js" }, "files": [ "./index.d.ts", "./index.js", "./binding-options.cjs", "./build/*.js", "./prebuilds", "./bin", "./CMakeLists.txt", "./src" ], "dependencies": { "cmake-js": "7.3.0", "decompress": "4.2.1", "decompress-tar": "4.1.1", "decompress-unzip": "4.0.1", "file-type": "19.6.0", "node-addon-api": "8.2.1", "node-object-hash": "3.0.0", "path-exists-cli": "2.0.0", "pkg-prebuilds": "1.0.0", "sharp": "0.33.5", "xz-decompress": "0.2.2" }, "devDependencies": { "@types/decompress": "4.2.7", "@types/node": "22.9.0", "prettier": "3.3.3", "typescript": "5.6.3" } }