{"_id":"@3dgs/react","_rev":"3-c00ac5da1db6cacfbc79254223f29ff7","name":"@3dgs/react","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@3dgs/react","version":"0.1.0","keywords":["3dgs","gaussian-splatting","react","component","tour-viewer"],"author":{"name":"sacrtap"},"license":"MIT","_id":"@3dgs/react@0.1.0","maintainers":[{"name":"sacrtap","email":"sacrtap@gmail.com"}],"homepage":"https://github.com/sacrtap/3dgs#readme","bugs":{"url":"https://github.com/sacrtap/3dgs/issues"},"dist":{"shasum":"f08b138b442323d3345c42d3263a9e62d7296209","tarball":"https://registry.npmjs.org/@3dgs/react/-/react-0.1.0.tgz","fileCount":5,"integrity":"sha512-zMvXX3AXxnxM95uLBPD/IV1YA5LEQfny+5v2PKgI52XJL4kFURwFh30OWxMQ+6x4T/vnkdgzBrQszeelt97tSw==","signatures":[{"sig":"MEYCIQD0WxmlrwPMNNLc1vtCSWY7r3kS2AR5Vt5FhHtsg87kfAIhAIGJ7ArbV5qsN1wQ+kss0md1mtKxDiEMP21igG8lwOoY","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@3dgs%2freact@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":8051},"main":"./dist/index.js","type":"module","_from":"file:3dgs-react-0.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"dev":"tsc --watch","build":"tsc","clean":"rm -rf dist"},"_npmUser":{"name":"sacrtap","email":"sacrtap@gmail.com"},"_resolved":"/tmp/69506241f728025ead4db2e1ae135337/3dgs-react-0.1.0.tgz","_integrity":"sha512-zMvXX3AXxnxM95uLBPD/IV1YA5LEQfny+5v2PKgI52XJL4kFURwFh30OWxMQ+6x4T/vnkdgzBrQszeelt97tSw==","repository":{"url":"git+https://github.com/sacrtap/3dgs.git","type":"git","directory":"packages/react"},"_npmVersion":"10.8.2","description":"React 适配层 — <TourViewer /> 组件","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"@3dgs/core":"0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.0.0","typescript":"^5.5.0","@types/react":"^19.0.0"},"peerDependencies":{"react":"^18.0 || ^19.0"},"_npmOperationalInternal":{"tmp":"tmp/react_0.1.0_1785841614283_0.6516734552076469","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@3dgs/react","version":"0.1.1","keywords":["3dgs","gaussian-splatting","react","component","tour-viewer"],"author":{"name":"sacrtap"},"license":"MIT","_id":"@3dgs/react@0.1.1","maintainers":[{"name":"sacrtap","email":"sacrtap@gmail.com"}],"homepage":"https://github.com/sacrtap/3dgs#readme","bugs":{"url":"https://github.com/sacrtap/3dgs/issues"},"dist":{"shasum":"b116206242808d73bb88df0e07d7f7bcd7464fa3","tarball":"https://registry.npmjs.org/@3dgs/react/-/react-0.1.1.tgz","fileCount":5,"integrity":"sha512-YdGrMu5fUfKKiSS6Z02dS2f7pyv4hfjYGiGnVUrzbCzNFKaJNe+zTvbLrl5f+LuE9/fAsoSW8lytpxRswwFTlA==","signatures":[{"sig":"MEQCIAZJDtJa2YBaN9or61KddCIFM6uXaxeO6EK7ZrqhrFzlAiAUFGNK3ZE37ZlsGkS/w/ugMjSeKzxc39bsmVrA3bjUSQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@3dgs%2freact@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":8051},"main":"./dist/index.js","type":"module","_from":"file:3dgs-react-0.1.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"dev":"tsc --watch","build":"tsc","clean":"rm -rf dist"},"_npmUser":{"name":"sacrtap","email":"sacrtap@gmail.com"},"_resolved":"/tmp/fc5506ac8ad2dc598a67f1017f6bbb0b/3dgs-react-0.1.1.tgz","_integrity":"sha512-YdGrMu5fUfKKiSS6Z02dS2f7pyv4hfjYGiGnVUrzbCzNFKaJNe+zTvbLrl5f+LuE9/fAsoSW8lytpxRswwFTlA==","repository":{"url":"git+https://github.com/sacrtap/3dgs.git","type":"git","directory":"packages/react"},"_npmVersion":"10.8.2","description":"React 适配层 — <TourViewer /> 组件","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"@3dgs/core":"0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.0.0","typescript":"^5.5.0","@types/react":"^19.0.0"},"peerDependencies":{"react":"^18.0 || ^19.0"},"_npmOperationalInternal":{"tmp":"tmp/react_0.1.1_1786454541168_0.5257427830415102","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@3dgs/react","version":"0.1.2","description":"React 适配层 — <TourViewer /> 组件","type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"sideEffects":false,"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/sacrtap/3dgs.git","directory":"packages/react"},"homepage":"https://github.com/sacrtap/3dgs#readme","bugs":{"url":"https://github.com/sacrtap/3dgs/issues"},"keywords":["3dgs","gaussian-splatting","react","component","tour-viewer"],"author":{"name":"sacrtap"},"license":"MIT","engines":{"node":">=18"},"peerDependencies":{"react":"^18.0 || ^19.0"},"devDependencies":{"@types/react":"^19.0.0","react":"^19.0.0","typescript":"^5.5.0"},"dependencies":{"@3dgs/core":"0.1.2"},"scripts":{"build":"tsc","dev":"tsc --watch","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\""},"_id":"@3dgs/react@0.1.2","_integrity":"sha512-ZaFSHrM+t4Y7TTAuOQRrO37TFVMK58JkAA42vfa515EO0yWzNkmX+7adkREalHsKFYm4+4Rdkw21cIRyIHc6cA==","_resolved":"/tmp/9a1df5803808bd723c6bf8df942dd23d/3dgs-react-0.1.2.tgz","_from":"file:3dgs-react-0.1.2.tgz","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-ZaFSHrM+t4Y7TTAuOQRrO37TFVMK58JkAA42vfa515EO0yWzNkmX+7adkREalHsKFYm4+4Rdkw21cIRyIHc6cA==","shasum":"4b65e29506133b16beace738a27483c35f667769","tarball":"https://registry.npmjs.org/@3dgs/react/-/react-0.1.2.tgz","fileCount":5,"unpackedSize":8616,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@3dgs%2freact@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICyK1CZNfLsTorPeAmr/18WD3ZtG1fCet6d/HMA7cbNAAiEA2gTnLI/KJ9W1ytpz1ehW1U55kkCQBN1RC93OPMRqlgU="}]},"_npmUser":{"name":"sacrtap","email":"sacrtap@gmail.com"},"directories":{},"maintainers":[{"name":"sacrtap","email":"sacrtap@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react_0.1.2_1787858121579_0.6017456896025684"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-04T11:06:54.057Z","modified":"2026-08-27T19:15:22.123Z","0.1.0":"2026-08-04T11:06:54.416Z","0.1.1":"2026-08-11T13:22:21.307Z","0.1.2":"2026-08-27T19:15:21.774Z"},"bugs":{"url":"https://github.com/sacrtap/3dgs/issues"},"author":{"name":"sacrtap"},"license":"MIT","homepage":"https://github.com/sacrtap/3dgs#readme","keywords":["3dgs","gaussian-splatting","react","component","tour-viewer"],"repository":{"type":"git","url":"git+https://github.com/sacrtap/3dgs.git","directory":"packages/react"},"description":"React 适配层 — <TourViewer /> 组件","maintainers":[{"name":"sacrtap","email":"sacrtap@gmail.com"}],"readme":"# @3dgs/react\n\nReact 适配层 — `<TourViewer />` 组件。\n\n## 安装\n\n```bash\nnpm install @3dgs/react @3dgs/core @3dgs/renderer-three\n```\n\n## 依赖\n\n需安装 peerDependencies：\n\n```bash\nnpm install react react-dom\n```\n\n## 用法\n\n```tsx\nimport { TourViewer } from '@3dgs/react';\nimport '@3dgs/renderer-three';\n\nfunction App() {\n  return (\n    <TourViewer\n      source=\"/scenes/demo1.splat\"\n      width=\"100%\"\n      height=\"100vh\"\n    />\n  );\n}\n```\n\n## 许可证\n\n[MIT](./LICENSE)\n","readmeFilename":"README.md"}