UNPKG

@vctrl/hooks

Version:

vctrl/hooks is a React hooks package designed to simplify 3D model loading and management within React applications. It's part of the vectreal-core ecosystem and is primarily used in the vctrl/viewer React component and the official website application.

68 lines 1.84 kB
{ "version": "0.25.0", "name": "@vctrl/hooks", "description": "vctrl/hooks is a React hooks package designed to simplify 3D model loading and management within React applications. It's part of the vectreal-core ecosystem and is primarily used in the vctrl/viewer React component and the official website application.", "bugs": { "url": "https://github.com/Vectreal/vectreal-platform/issues" }, "homepage": "https://vectreal.com", "keywords": [ "vectreal", "react", "3d", "model", "viewer", "react-component", "react-three-fiber", "react-three-drei", "threejs", "react-three-gltf", "gltf", "glb", "usdz", "three-model-loading", "model-viewer" ], "repository": { "type": "git", "url": "git+https://github.com/Vectreal/vectreal-platform.git" }, "license": "AGPL-3.0-only", "types": "./index.d.ts", "main": "./index.cjs.js", "module": "./index.es.js", "type": "module", "publishConfig": { "access": "public" }, "exports": { ".": { "types": "./index.d.ts", "import": "./index.es.js", "require": "./index.cjs.js" }, "./use-load-model": { "types": "./use-load-model/index.d.ts", "import": "./use-load-model.es.js", "require": "./use-load-model.cjs.js" }, "./use-export-model": { "types": "./use-export-model/index.d.ts", "import": "./use-export-model.es.js", "require": "./use-export-model.cjs.js" }, "./use-optimize-model": { "types": "./use-optimize-model/index.d.ts", "import": "./use-optimize-model.es.js", "require": "./use-optimize-model.cjs.js" } }, "peerDependencies": { "react": "^18.0.0 || ^19.0.0", "three": "^0.177.0" }, "dependencies": { "@vctrl/core": "^0.25.0", "file-saver": "^2.0.5" } }