{"_id":"@baolong281/gsplat","_rev":"2-acffe243c4e69821cfcf380e9cc12dd9","name":"@baolong281/gsplat","dist-tags":{"latest":"1.0.8"},"versions":{"1.0.6":{"name":"@baolong281/gsplat","version":"1.0.6","description":"JavaScript Gaussian Splatting library","main":"dist/index.js","types":"dist/index.d.ts","type":"module","scripts":{"build:wasm":"sh ./compile_wasm.sh","copy:wasm":"ncp ./src/wasm ./dist/wasm","build":"npm run build:wasm && rollup -c && npm run copy:wasm","test":"jest --passWithNoTests","lint":"eslint \"src/**/*.ts\" \"examples/**/*.ts\"","format":"prettier --write \"src/**/*.ts\" \"examples/**/*.ts\""},"repository":{"type":"git","url":"git+https://github.com/dylanebert/splat.js.git"},"keywords":["gsplat","gaussian splatting","javascript","3d","webgl"],"author":{"name":"dylanebert"},"license":"MIT","bugs":{"url":"https://github.com/dylanebert/splat.js/issues"},"homepage":"https://github.com/dylanebert/splat.js#readme","devDependencies":{"@jest/globals":"^29.7.0","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-replace":"^5.0.5","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-typescript":"^11.1.5","@types/jest":"^29.5.8","@types/node":"^20.8.10","@typescript-eslint/eslint-plugin":"^6.9.1","@typescript-eslint/parser":"^6.9.1","eslint":"^8.52.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","jest":"^29.7.0","ncp":"^2.0.0","prettier":"^3.0.3","rollup":"^4.3.0","rollup-plugin-web-worker-loader":"^1.6.1","ts-jest":"^29.1.1","typescript":"^5.2.2"},"dependencies":{"acorn":"^8.11.2","acorn-jsx":"^5.3.2","ajv":"^6.12.6","ansi-escapes":"^4.3.2","ansi-regex":"^5.0.1","ansi-styles":"^4.3.0","anymatch":"^3.1.3","argparse":"^2.0.1","array-union":"^2.1.0","babel-jest":"^29.7.0","babel-plugin-istanbul":"^6.1.1","babel-plugin-jest-hoist":"^29.6.3","babel-preset-current-node-syntax":"^1.0.1","babel-preset-jest":"^29.6.3","balanced-match":"^1.0.2","big-integer":"^1.6.51","bplist-parser":"^0.2.0","brace-expansion":"^1.1.11","braces":"^3.0.2","browserslist":"^4.22.1","bs-logger":"^0.2.6","bser":"^2.1.1","buffer-from":"^1.1.2","builtin-modules":"^3.3.0","bundle-name":"^3.0.0","callsites":"^3.1.0","camelcase":"^5.3.1","caniuse-lite":"^1.0.30001561","chalk":"^4.1.2","char-regex":"^1.0.2","ci-info":"^3.9.0","cjs-module-lexer":"^1.2.3","cliui":"^8.0.1","co":"^4.6.0","collect-v8-coverage":"^1.0.2","color-convert":"^2.0.1","color-name":"^1.1.4","commander":"^2.20.3","commondir":"^1.0.1","concat-map":"^0.0.1","convert-source-map":"^2.0.0","create-jest":"^29.7.0","cross-spawn":"^7.0.3","debug":"^4.3.4","dedent":"^1.5.1","deep-is":"^0.1.4","deepmerge":"^4.3.1","default-browser":"^4.0.0","default-browser-id":"^3.0.0","define-lazy-prop":"^3.0.0","detect-newline":"^3.1.0","diff-sequences":"^29.6.3","dir-glob":"^3.0.1","doctrine":"^3.0.0","electron-to-chromium":"^1.4.578","emittery":"^0.13.1","emoji-regex":"^8.0.0","error-ex":"^1.3.2","escalade":"^3.1.1","escape-string-regexp":"^4.0.0","eslint-scope":"^7.2.2","eslint-visitor-keys":"^3.4.3","espree":"^9.6.1","esprima":"^4.0.1","esquery":"^1.5.0","esrecurse":"^4.3.0","estraverse":"^5.3.0","estree-walker":"^2.0.2","esutils":"^2.0.3","execa":"^7.2.0","exit":"^0.1.2","expect":"^29.7.0","fast-deep-equal":"^3.1.3","fast-diff":"^1.3.0","fast-glob":"^3.3.1","fast-json-stable-stringify":"^2.1.0","fast-levenshtein":"^2.0.6","fastq":"^1.15.0","fb-watchman":"^2.0.2","file-entry-cache":"^6.0.1","fill-range":"^7.0.1","find-up":"^5.0.0","flat-cache":"^3.1.1","flatted":"^3.2.9","fs.realpath":"^1.0.0","fsevents":"^2.3.3","function-bind":"^1.1.2","gensync":"^1.0.0-beta.2","get-caller-file":"^2.0.5","get-package-type":"^0.1.0","get-stream":"^6.0.1","glob":"^7.2.3","glob-parent":"^6.0.2","globals":"^13.23.0","globby":"^11.1.0","graceful-fs":"^4.2.11","graphemer":"^1.4.0","has-flag":"^4.0.0","hasown":"^2.0.0","html-escaper":"^2.0.2","human-signals":"^4.3.1","ignore":"^5.2.4","import-fresh":"^3.3.0","import-local":"^3.1.0","imurmurhash":"^0.1.4","inflight":"^1.0.6","inherits":"^2.0.4","is-arrayish":"^0.2.1","is-builtin-module":"^3.2.1","is-core-module":"^2.13.1","is-docker":"^3.0.0","is-extglob":"^2.1.1","is-fullwidth-code-point":"^3.0.0","is-generator-fn":"^2.1.0","is-glob":"^4.0.3","is-inside-container":"^1.0.0","is-module":"^1.0.0","is-number":"^7.0.0","is-path-inside":"^3.0.3","is-reference":"^1.2.1","is-stream":"^3.0.0","is-wsl":"^2.2.0","isexe":"^2.0.0","istanbul-lib-coverage":"^3.2.1","istanbul-lib-instrument":"^6.0.1","istanbul-lib-report":"^3.0.1","istanbul-lib-source-maps":"^4.0.1","istanbul-reports":"^3.1.6","jest-changed-files":"^29.7.0","jest-circus":"^29.7.0","jest-cli":"^29.7.0","jest-config":"^29.7.0","jest-diff":"^29.7.0","jest-docblock":"^29.7.0","jest-each":"^29.7.0","jest-environment-node":"^29.7.0","jest-get-type":"^29.6.3","jest-haste-map":"^29.7.0","jest-leak-detector":"^29.7.0","jest-matcher-utils":"^29.7.0","jest-message-util":"^29.7.0","jest-mock":"^29.7.0","jest-pnp-resolver":"^1.2.3","jest-regex-util":"^29.6.3","jest-resolve":"^29.7.0","jest-resolve-dependencies":"^29.7.0","jest-runner":"^29.7.0","jest-runtime":"^29.7.0","jest-snapshot":"^29.7.0","jest-util":"^29.7.0","jest-validate":"^29.7.0","jest-watcher":"^29.7.0","jest-worker":"^29.7.0","js-tokens":"^4.0.0","js-yaml":"^4.1.0","jsesc":"^2.5.2","json-buffer":"^3.0.1","json-parse-even-better-errors":"^2.3.1","json-schema-traverse":"^0.4.1","json-stable-stringify-without-jsonify":"^1.0.1","json5":"^2.2.3","keyv":"^4.5.4","kleur":"^3.0.3","leven":"^3.1.0","levn":"^0.4.1","lines-and-columns":"^1.2.4","locate-path":"^6.0.0","lodash.memoize":"^4.1.2","lodash.merge":"^4.6.2","lru-cache":"^6.0.0","magic-string":"^0.30.5","make-dir":"^4.0.0","make-error":"^1.3.6","makeerror":"^1.0.12","merge-stream":"^2.0.0","merge2":"^1.4.1","micromatch":"^4.0.5","mimic-fn":"^4.0.0","minimatch":"^3.1.2","ms":"^2.1.2","natural-compare":"^1.4.0","node-int64":"^0.4.0","node-releases":"^2.0.13","normalize-path":"^3.0.0","npm-run-path":"^5.1.0","once":"^1.4.0","onetime":"^6.0.0","open":"^9.1.0","optionator":"^0.9.3","p-limit":"^3.1.0","p-locate":"^5.0.0","p-try":"^2.2.0","parent-module":"^1.0.1","parse-json":"^5.2.0","path-exists":"^4.0.0","path-is-absolute":"^1.0.1","path-key":"^3.1.1","path-parse":"^1.0.7","path-type":"^4.0.0","picocolors":"^1.0.0","picomatch":"^2.3.1","pirates":"^4.0.6","pkg-dir":"^4.2.0","prelude-ls":"^1.2.1","prettier-linter-helpers":"^1.0.0","pretty-format":"^29.7.0","prompts":"^2.4.2","punycode":"^2.3.1","pure-rand":"^6.0.4","queue-microtask":"^1.2.3","randombytes":"^2.1.0","react-is":"^18.2.0","require-directory":"^2.1.1","resolve":"^1.22.8","resolve-cwd":"^3.0.0","resolve-from":"^4.0.0","resolve.exports":"^2.0.2","reusify":"^1.0.4","rimraf":"^3.0.2","run-applescript":"^5.0.0","run-parallel":"^1.2.0","safe-buffer":"^5.2.1","semver":"^7.5.4","serialize-javascript":"^6.0.1","shebang-command":"^2.0.0","shebang-regex":"^3.0.0","signal-exit":"^3.0.7","sisteransi":"^1.0.5","slash":"^3.0.0","smob":"^1.4.1","source-map":"^0.6.1","source-map-support":"^0.5.21","sprintf-js":"^1.0.3","stack-utils":"^2.0.6","string-length":"^4.0.2","string-width":"^4.2.3","strip-ansi":"^6.0.1","strip-bom":"^4.0.0","strip-final-newline":"^3.0.0","strip-json-comments":"^3.1.1","supports-color":"^7.2.0","supports-preserve-symlinks-flag":"^1.0.0","synckit":"^0.8.5","terser":"^5.24.0","test-exclude":"^6.0.0","text-table":"^0.2.0","titleize":"^3.0.0","tmpl":"^1.0.5","to-fast-properties":"^2.0.0","to-regex-range":"^5.0.1","ts-api-utils":"^1.0.3","tslib":"^2.6.2","type-check":"^0.4.0","type-detect":"^4.0.8","type-fest":"^0.20.2","undici-types":"^5.26.5","untildify":"^4.0.0","update-browserslist-db":"^1.0.13","uri-js":"^4.4.1","v8-to-istanbul":"^9.1.3","walker":"^1.0.8","which":"^2.0.2","wrap-ansi":"^7.0.0","wrappy":"^1.0.2","write-file-atomic":"^4.0.2","y18n":"^5.0.8","yallist":"^4.0.0","yargs":"^17.7.2","yargs-parser":"^21.1.1","yocto-queue":"^0.1.0"},"_id":"@baolong281/gsplat@1.0.6","gitHead":"ce41b06b8e38fdd2c39afec9a77946a0c2317ce9","_nodeVersion":"20.8.1","_npmVersion":"10.1.0","dist":{"integrity":"sha512-swAgsAVnt1sGrW+iPKgv3dL/OMlfwgnxQLSsqClgBSXzaBa7TJA7csUoaaZy8bP9pbELx6vV73oohP3MLeDz5w==","shasum":"62883a79f1fca6fd870abf1e88670eded3e11e9d","tarball":"https://registry.npmjs.org/@baolong281/gsplat/-/gsplat-1.0.6.tgz","fileCount":42,"unpackedSize":701205,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5HKJCapF3az0BZtrpCvYGUuqNFmNQvEYbSzkcCKDC6AIhAK65rTs56ATr3Hr1mjgql1c3DLISR3JWUtZvoyA29DIv"}]},"_npmUser":{"name":"baolong281","email":"baolong281@gmail.com"},"directories":{},"maintainers":[{"name":"baolong281","email":"baolong281@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gsplat_1.0.6_1708129334649_0.5020364537934161"},"_hasShrinkwrap":false},"1.0.7":{"name":"@baolong281/gsplat","version":"1.0.7","description":"JavaScript Gaussian Splatting library","main":"dist/index.js","types":"dist/index.d.ts","type":"module","scripts":{"build:wasm":"sh ./compile_wasm.sh","copy:wasm":"ncp ./src/wasm ./dist/wasm","build":"npm run build:wasm && rollup -c && npm run copy:wasm","test":"jest --passWithNoTests","lint":"eslint \"src/**/*.ts\" \"examples/**/*.ts\"","format":"prettier --write \"src/**/*.ts\" \"examples/**/*.ts\""},"repository":{"type":"git","url":"git+https://github.com/dylanebert/splat.js.git"},"keywords":["gsplat","gaussian splatting","javascript","3d","webgl"],"author":{"name":"dylanebert"},"license":"MIT","bugs":{"url":"https://github.com/dylanebert/splat.js/issues"},"homepage":"https://github.com/dylanebert/splat.js#readme","devDependencies":{"@jest/globals":"^29.7.0","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-replace":"^5.0.5","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-typescript":"^11.1.5","@types/jest":"^29.5.8","@types/node":"^20.8.10","@typescript-eslint/eslint-plugin":"^6.9.1","@typescript-eslint/parser":"^6.9.1","eslint":"^8.52.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","jest":"^29.7.0","ncp":"^2.0.0","prettier":"^3.0.3","rollup":"^4.3.0","rollup-plugin-web-worker-loader":"^1.6.1","ts-jest":"^29.1.1","typescript":"^5.2.2"},"dependencies":{"acorn":"^8.11.2","acorn-jsx":"^5.3.2","ajv":"^6.12.6","ansi-escapes":"^4.3.2","ansi-regex":"^5.0.1","ansi-styles":"^4.3.0","anymatch":"^3.1.3","argparse":"^2.0.1","array-union":"^2.1.0","babel-jest":"^29.7.0","babel-plugin-istanbul":"^6.1.1","babel-plugin-jest-hoist":"^29.6.3","babel-preset-current-node-syntax":"^1.0.1","babel-preset-jest":"^29.6.3","balanced-match":"^1.0.2","big-integer":"^1.6.51","bplist-parser":"^0.2.0","brace-expansion":"^1.1.11","braces":"^3.0.2","browserslist":"^4.22.1","bs-logger":"^0.2.6","bser":"^2.1.1","buffer-from":"^1.1.2","builtin-modules":"^3.3.0","bundle-name":"^3.0.0","callsites":"^3.1.0","camelcase":"^5.3.1","caniuse-lite":"^1.0.30001561","chalk":"^4.1.2","char-regex":"^1.0.2","ci-info":"^3.9.0","cjs-module-lexer":"^1.2.3","cliui":"^8.0.1","co":"^4.6.0","collect-v8-coverage":"^1.0.2","color-convert":"^2.0.1","color-name":"^1.1.4","commander":"^2.20.3","commondir":"^1.0.1","concat-map":"^0.0.1","convert-source-map":"^2.0.0","create-jest":"^29.7.0","cross-spawn":"^7.0.3","debug":"^4.3.4","dedent":"^1.5.1","deep-is":"^0.1.4","deepmerge":"^4.3.1","default-browser":"^4.0.0","default-browser-id":"^3.0.0","define-lazy-prop":"^3.0.0","detect-newline":"^3.1.0","diff-sequences":"^29.6.3","dir-glob":"^3.0.1","doctrine":"^3.0.0","electron-to-chromium":"^1.4.578","emittery":"^0.13.1","emoji-regex":"^8.0.0","error-ex":"^1.3.2","escalade":"^3.1.1","escape-string-regexp":"^4.0.0","eslint-scope":"^7.2.2","eslint-visitor-keys":"^3.4.3","espree":"^9.6.1","esprima":"^4.0.1","esquery":"^1.5.0","esrecurse":"^4.3.0","estraverse":"^5.3.0","estree-walker":"^2.0.2","esutils":"^2.0.3","execa":"^7.2.0","exit":"^0.1.2","expect":"^29.7.0","fast-deep-equal":"^3.1.3","fast-diff":"^1.3.0","fast-glob":"^3.3.1","fast-json-stable-stringify":"^2.1.0","fast-levenshtein":"^2.0.6","fastq":"^1.15.0","fb-watchman":"^2.0.2","file-entry-cache":"^6.0.1","fill-range":"^7.0.1","find-up":"^5.0.0","flat-cache":"^3.1.1","flatted":"^3.2.9","fs.realpath":"^1.0.0","fsevents":"^2.3.3","function-bind":"^1.1.2","gensync":"^1.0.0-beta.2","get-caller-file":"^2.0.5","get-package-type":"^0.1.0","get-stream":"^6.0.1","glob":"^7.2.3","glob-parent":"^6.0.2","globals":"^13.23.0","globby":"^11.1.0","graceful-fs":"^4.2.11","graphemer":"^1.4.0","has-flag":"^4.0.0","hasown":"^2.0.0","html-escaper":"^2.0.2","human-signals":"^4.3.1","ignore":"^5.2.4","import-fresh":"^3.3.0","import-local":"^3.1.0","imurmurhash":"^0.1.4","inflight":"^1.0.6","inherits":"^2.0.4","is-arrayish":"^0.2.1","is-builtin-module":"^3.2.1","is-core-module":"^2.13.1","is-docker":"^3.0.0","is-extglob":"^2.1.1","is-fullwidth-code-point":"^3.0.0","is-generator-fn":"^2.1.0","is-glob":"^4.0.3","is-inside-container":"^1.0.0","is-module":"^1.0.0","is-number":"^7.0.0","is-path-inside":"^3.0.3","is-reference":"^1.2.1","is-stream":"^3.0.0","is-wsl":"^2.2.0","isexe":"^2.0.0","istanbul-lib-coverage":"^3.2.1","istanbul-lib-instrument":"^6.0.1","istanbul-lib-report":"^3.0.1","istanbul-lib-source-maps":"^4.0.1","istanbul-reports":"^3.1.6","jest-changed-files":"^29.7.0","jest-circus":"^29.7.0","jest-cli":"^29.7.0","jest-config":"^29.7.0","jest-diff":"^29.7.0","jest-docblock":"^29.7.0","jest-each":"^29.7.0","jest-environment-node":"^29.7.0","jest-get-type":"^29.6.3","jest-haste-map":"^29.7.0","jest-leak-detector":"^29.7.0","jest-matcher-utils":"^29.7.0","jest-message-util":"^29.7.0","jest-mock":"^29.7.0","jest-pnp-resolver":"^1.2.3","jest-regex-util":"^29.6.3","jest-resolve":"^29.7.0","jest-resolve-dependencies":"^29.7.0","jest-runner":"^29.7.0","jest-runtime":"^29.7.0","jest-snapshot":"^29.7.0","jest-util":"^29.7.0","jest-validate":"^29.7.0","jest-watcher":"^29.7.0","jest-worker":"^29.7.0","js-tokens":"^4.0.0","js-yaml":"^4.1.0","jsesc":"^2.5.2","json-buffer":"^3.0.1","json-parse-even-better-errors":"^2.3.1","json-schema-traverse":"^0.4.1","json-stable-stringify-without-jsonify":"^1.0.1","json5":"^2.2.3","keyv":"^4.5.4","kleur":"^3.0.3","leven":"^3.1.0","levn":"^0.4.1","lines-and-columns":"^1.2.4","locate-path":"^6.0.0","lodash.memoize":"^4.1.2","lodash.merge":"^4.6.2","lru-cache":"^6.0.0","magic-string":"^0.30.5","make-dir":"^4.0.0","make-error":"^1.3.6","makeerror":"^1.0.12","merge-stream":"^2.0.0","merge2":"^1.4.1","micromatch":"^4.0.5","mimic-fn":"^4.0.0","minimatch":"^3.1.2","ms":"^2.1.2","natural-compare":"^1.4.0","node-int64":"^0.4.0","node-releases":"^2.0.13","normalize-path":"^3.0.0","npm-run-path":"^5.1.0","once":"^1.4.0","onetime":"^6.0.0","open":"^9.1.0","optionator":"^0.9.3","p-limit":"^3.1.0","p-locate":"^5.0.0","p-try":"^2.2.0","parent-module":"^1.0.1","parse-json":"^5.2.0","path-exists":"^4.0.0","path-is-absolute":"^1.0.1","path-key":"^3.1.1","path-parse":"^1.0.7","path-type":"^4.0.0","picocolors":"^1.0.0","picomatch":"^2.3.1","pirates":"^4.0.6","pkg-dir":"^4.2.0","prelude-ls":"^1.2.1","prettier-linter-helpers":"^1.0.0","pretty-format":"^29.7.0","prompts":"^2.4.2","punycode":"^2.3.1","pure-rand":"^6.0.4","queue-microtask":"^1.2.3","randombytes":"^2.1.0","react-is":"^18.2.0","require-directory":"^2.1.1","resolve":"^1.22.8","resolve-cwd":"^3.0.0","resolve-from":"^4.0.0","resolve.exports":"^2.0.2","reusify":"^1.0.4","rimraf":"^3.0.2","run-applescript":"^5.0.0","run-parallel":"^1.2.0","safe-buffer":"^5.2.1","semver":"^7.5.4","serialize-javascript":"^6.0.1","shebang-command":"^2.0.0","shebang-regex":"^3.0.0","signal-exit":"^3.0.7","sisteransi":"^1.0.5","slash":"^3.0.0","smob":"^1.4.1","source-map":"^0.6.1","source-map-support":"^0.5.21","sprintf-js":"^1.0.3","stack-utils":"^2.0.6","string-length":"^4.0.2","string-width":"^4.2.3","strip-ansi":"^6.0.1","strip-bom":"^4.0.0","strip-final-newline":"^3.0.0","strip-json-comments":"^3.1.1","supports-color":"^7.2.0","supports-preserve-symlinks-flag":"^1.0.0","synckit":"^0.8.5","terser":"^5.24.0","test-exclude":"^6.0.0","text-table":"^0.2.0","titleize":"^3.0.0","tmpl":"^1.0.5","to-fast-properties":"^2.0.0","to-regex-range":"^5.0.1","ts-api-utils":"^1.0.3","tslib":"^2.6.2","type-check":"^0.4.0","type-detect":"^4.0.8","type-fest":"^0.20.2","undici-types":"^5.26.5","untildify":"^4.0.0","update-browserslist-db":"^1.0.13","uri-js":"^4.4.1","v8-to-istanbul":"^9.1.3","walker":"^1.0.8","which":"^2.0.2","wrap-ansi":"^7.0.0","wrappy":"^1.0.2","write-file-atomic":"^4.0.2","y18n":"^5.0.8","yallist":"^4.0.0","yargs":"^17.7.2","yargs-parser":"^21.1.1","yocto-queue":"^0.1.0"},"_id":"@baolong281/gsplat@1.0.7","gitHead":"72eaf90901dd77aa8297e58ef1e2794581b7f116","_nodeVersion":"20.8.1","_npmVersion":"10.1.0","dist":{"integrity":"sha512-07Uu1TlcQb0iu4gaCAE9zqaJXgR7qJMnBDdyFq7Fjeej3Q1RlzkMpl+lm7IUJesuKkMMdLAVpuhyQpQ12dRw1w==","shasum":"c189d11fec5037cffd143277247992bd8bdaafa0","tarball":"https://registry.npmjs.org/@baolong281/gsplat/-/gsplat-1.0.7.tgz","fileCount":43,"unpackedSize":702803,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAjgFHwFJF1v5W66SBB2JhYddtRPP3qF0CUUeE0vklBwAiBaLbukfELs0lBHf+/LSGNjbnuwkfPssbybHeX2Y4Cp0A=="}]},"_npmUser":{"name":"baolong281","email":"baolong281@gmail.com"},"directories":{},"maintainers":[{"name":"baolong281","email":"baolong281@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gsplat_1.0.7_1708137129557_0.2874073413564664"},"_hasShrinkwrap":false},"1.0.8":{"name":"@baolong281/gsplat","version":"1.0.8","description":"JavaScript Gaussian Splatting library","main":"dist/index.js","types":"dist/index.d.ts","type":"module","scripts":{"build:wasm":"sh ./compile_wasm.sh","copy:wasm":"ncp ./src/wasm ./dist/wasm","build":"npm run build:wasm && rollup -c && npm run copy:wasm","test":"jest --passWithNoTests","lint":"eslint \"src/**/*.ts\" \"examples/**/*.ts\"","format":"prettier --write \"src/**/*.ts\" \"examples/**/*.ts\""},"repository":{"type":"git","url":"git+https://github.com/dylanebert/splat.js.git"},"keywords":["gsplat","gaussian splatting","javascript","3d","webgl"],"author":{"name":"dylanebert"},"license":"MIT","bugs":{"url":"https://github.com/dylanebert/splat.js/issues"},"homepage":"https://github.com/dylanebert/splat.js#readme","devDependencies":{"@jest/globals":"^29.7.0","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-replace":"^5.0.5","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-typescript":"^11.1.5","@types/jest":"^29.5.8","@types/node":"^20.8.10","@typescript-eslint/eslint-plugin":"^6.9.1","@typescript-eslint/parser":"^6.9.1","eslint":"^8.52.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","jest":"^29.7.0","ncp":"^2.0.0","prettier":"^3.0.3","rollup":"^4.3.0","rollup-plugin-web-worker-loader":"^1.6.1","ts-jest":"^29.1.1","typescript":"^5.2.2"},"dependencies":{"acorn":"^8.11.2","acorn-jsx":"^5.3.2","ajv":"^6.12.6","ansi-escapes":"^4.3.2","ansi-regex":"^5.0.1","ansi-styles":"^4.3.0","anymatch":"^3.1.3","argparse":"^2.0.1","array-union":"^2.1.0","babel-jest":"^29.7.0","babel-plugin-istanbul":"^6.1.1","babel-plugin-jest-hoist":"^29.6.3","babel-preset-current-node-syntax":"^1.0.1","babel-preset-jest":"^29.6.3","balanced-match":"^1.0.2","big-integer":"^1.6.51","bplist-parser":"^0.2.0","brace-expansion":"^1.1.11","braces":"^3.0.2","browserslist":"^4.22.1","bs-logger":"^0.2.6","bser":"^2.1.1","buffer-from":"^1.1.2","builtin-modules":"^3.3.0","bundle-name":"^3.0.0","callsites":"^3.1.0","camelcase":"^5.3.1","caniuse-lite":"^1.0.30001561","chalk":"^4.1.2","char-regex":"^1.0.2","ci-info":"^3.9.0","cjs-module-lexer":"^1.2.3","cliui":"^8.0.1","co":"^4.6.0","collect-v8-coverage":"^1.0.2","color-convert":"^2.0.1","color-name":"^1.1.4","commander":"^2.20.3","commondir":"^1.0.1","concat-map":"^0.0.1","convert-source-map":"^2.0.0","create-jest":"^29.7.0","cross-spawn":"^7.0.3","debug":"^4.3.4","dedent":"^1.5.1","deep-is":"^0.1.4","deepmerge":"^4.3.1","default-browser":"^4.0.0","default-browser-id":"^3.0.0","define-lazy-prop":"^3.0.0","detect-newline":"^3.1.0","diff-sequences":"^29.6.3","dir-glob":"^3.0.1","doctrine":"^3.0.0","electron-to-chromium":"^1.4.578","emittery":"^0.13.1","emoji-regex":"^8.0.0","error-ex":"^1.3.2","escalade":"^3.1.1","escape-string-regexp":"^4.0.0","eslint-scope":"^7.2.2","eslint-visitor-keys":"^3.4.3","espree":"^9.6.1","esprima":"^4.0.1","esquery":"^1.5.0","esrecurse":"^4.3.0","estraverse":"^5.3.0","estree-walker":"^2.0.2","esutils":"^2.0.3","execa":"^7.2.0","exit":"^0.1.2","expect":"^29.7.0","fast-deep-equal":"^3.1.3","fast-diff":"^1.3.0","fast-glob":"^3.3.1","fast-json-stable-stringify":"^2.1.0","fast-levenshtein":"^2.0.6","fastq":"^1.15.0","fb-watchman":"^2.0.2","file-entry-cache":"^6.0.1","fill-range":"^7.0.1","find-up":"^5.0.0","flat-cache":"^3.1.1","flatted":"^3.2.9","fs.realpath":"^1.0.0","fsevents":"^2.3.3","function-bind":"^1.1.2","gensync":"^1.0.0-beta.2","get-caller-file":"^2.0.5","get-package-type":"^0.1.0","get-stream":"^6.0.1","glob":"^7.2.3","glob-parent":"^6.0.2","globals":"^13.23.0","globby":"^11.1.0","graceful-fs":"^4.2.11","graphemer":"^1.4.0","has-flag":"^4.0.0","hasown":"^2.0.0","html-escaper":"^2.0.2","human-signals":"^4.3.1","ignore":"^5.2.4","import-fresh":"^3.3.0","import-local":"^3.1.0","imurmurhash":"^0.1.4","inflight":"^1.0.6","inherits":"^2.0.4","is-arrayish":"^0.2.1","is-builtin-module":"^3.2.1","is-core-module":"^2.13.1","is-docker":"^3.0.0","is-extglob":"^2.1.1","is-fullwidth-code-point":"^3.0.0","is-generator-fn":"^2.1.0","is-glob":"^4.0.3","is-inside-container":"^1.0.0","is-module":"^1.0.0","is-number":"^7.0.0","is-path-inside":"^3.0.3","is-reference":"^1.2.1","is-stream":"^3.0.0","is-wsl":"^2.2.0","isexe":"^2.0.0","istanbul-lib-coverage":"^3.2.1","istanbul-lib-instrument":"^6.0.1","istanbul-lib-report":"^3.0.1","istanbul-lib-source-maps":"^4.0.1","istanbul-reports":"^3.1.6","jest-changed-files":"^29.7.0","jest-circus":"^29.7.0","jest-cli":"^29.7.0","jest-config":"^29.7.0","jest-diff":"^29.7.0","jest-docblock":"^29.7.0","jest-each":"^29.7.0","jest-environment-node":"^29.7.0","jest-get-type":"^29.6.3","jest-haste-map":"^29.7.0","jest-leak-detector":"^29.7.0","jest-matcher-utils":"^29.7.0","jest-message-util":"^29.7.0","jest-mock":"^29.7.0","jest-pnp-resolver":"^1.2.3","jest-regex-util":"^29.6.3","jest-resolve":"^29.7.0","jest-resolve-dependencies":"^29.7.0","jest-runner":"^29.7.0","jest-runtime":"^29.7.0","jest-snapshot":"^29.7.0","jest-util":"^29.7.0","jest-validate":"^29.7.0","jest-watcher":"^29.7.0","jest-worker":"^29.7.0","js-tokens":"^4.0.0","js-yaml":"^4.1.0","jsesc":"^2.5.2","json-buffer":"^3.0.1","json-parse-even-better-errors":"^2.3.1","json-schema-traverse":"^0.4.1","json-stable-stringify-without-jsonify":"^1.0.1","json5":"^2.2.3","keyv":"^4.5.4","kleur":"^3.0.3","leven":"^3.1.0","levn":"^0.4.1","lines-and-columns":"^1.2.4","locate-path":"^6.0.0","lodash.memoize":"^4.1.2","lodash.merge":"^4.6.2","lru-cache":"^6.0.0","magic-string":"^0.30.5","make-dir":"^4.0.0","make-error":"^1.3.6","makeerror":"^1.0.12","merge-stream":"^2.0.0","merge2":"^1.4.1","micromatch":"^4.0.5","mimic-fn":"^4.0.0","minimatch":"^3.1.2","ms":"^2.1.2","natural-compare":"^1.4.0","node-int64":"^0.4.0","node-releases":"^2.0.13","normalize-path":"^3.0.0","npm-run-path":"^5.1.0","once":"^1.4.0","onetime":"^6.0.0","open":"^9.1.0","optionator":"^0.9.3","p-limit":"^3.1.0","p-locate":"^5.0.0","p-try":"^2.2.0","parent-module":"^1.0.1","parse-json":"^5.2.0","path-exists":"^4.0.0","path-is-absolute":"^1.0.1","path-key":"^3.1.1","path-parse":"^1.0.7","path-type":"^4.0.0","picocolors":"^1.0.0","picomatch":"^2.3.1","pirates":"^4.0.6","pkg-dir":"^4.2.0","prelude-ls":"^1.2.1","prettier-linter-helpers":"^1.0.0","pretty-format":"^29.7.0","prompts":"^2.4.2","punycode":"^2.3.1","pure-rand":"^6.0.4","queue-microtask":"^1.2.3","randombytes":"^2.1.0","react-is":"^18.2.0","require-directory":"^2.1.1","resolve":"^1.22.8","resolve-cwd":"^3.0.0","resolve-from":"^4.0.0","resolve.exports":"^2.0.2","reusify":"^1.0.4","rimraf":"^3.0.2","run-applescript":"^5.0.0","run-parallel":"^1.2.0","safe-buffer":"^5.2.1","semver":"^7.5.4","serialize-javascript":"^6.0.1","shebang-command":"^2.0.0","shebang-regex":"^3.0.0","signal-exit":"^3.0.7","sisteransi":"^1.0.5","slash":"^3.0.0","smob":"^1.4.1","source-map":"^0.6.1","source-map-support":"^0.5.21","sprintf-js":"^1.0.3","stack-utils":"^2.0.6","string-length":"^4.0.2","string-width":"^4.2.3","strip-ansi":"^6.0.1","strip-bom":"^4.0.0","strip-final-newline":"^3.0.0","strip-json-comments":"^3.1.1","supports-color":"^7.2.0","supports-preserve-symlinks-flag":"^1.0.0","synckit":"^0.8.5","terser":"^5.24.0","test-exclude":"^6.0.0","text-table":"^0.2.0","titleize":"^3.0.0","tmpl":"^1.0.5","to-fast-properties":"^2.0.0","to-regex-range":"^5.0.1","ts-api-utils":"^1.0.3","tslib":"^2.6.2","type-check":"^0.4.0","type-detect":"^4.0.8","type-fest":"^0.20.2","undici-types":"^5.26.5","untildify":"^4.0.0","update-browserslist-db":"^1.0.13","uri-js":"^4.4.1","v8-to-istanbul":"^9.1.3","walker":"^1.0.8","which":"^2.0.2","wrap-ansi":"^7.0.0","wrappy":"^1.0.2","write-file-atomic":"^4.0.2","y18n":"^5.0.8","yallist":"^4.0.0","yargs":"^17.7.2","yargs-parser":"^21.1.1","yocto-queue":"^0.1.0"},"_id":"@baolong281/gsplat@1.0.8","gitHead":"578a18dadd5e50f2428944c2f0f03cfb42c14d50","_nodeVersion":"20.8.1","_npmVersion":"10.1.0","dist":{"integrity":"sha512-AyzMlMsTLT6wi9lV0R/aoGERDLjQxFDIHm8JoQlw4ZiDIMziG7DPfq7KVI+E7vVl5rhJbajiWDtcL4QoEBuB8g==","shasum":"c55414b2c50b22297fae4a9cae5c3e262b706600","tarball":"https://registry.npmjs.org/@baolong281/gsplat/-/gsplat-1.0.8.tgz","fileCount":43,"unpackedSize":699166,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBlsn9gqZlw3RKOZZme3jq6gKaPKIYD+d5+0/gfXzUAgAiAhGrvDGFQQTjMth0xpH5a3K9ohRsFLwISBc0eial1Uww=="}]},"_npmUser":{"name":"baolong281","email":"baolong281@gmail.com"},"directories":{},"maintainers":[{"name":"baolong281","email":"baolong281@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gsplat_1.0.8_1708153346504_0.5289892988435712"},"_hasShrinkwrap":false}},"time":{"created":"2024-02-17T00:22:14.583Z","1.0.6":"2024-02-17T00:22:14.963Z","modified":"2024-02-17T07:02:27.543Z","1.0.7":"2024-02-17T02:32:09.818Z","1.0.8":"2024-02-17T07:02:26.762Z"},"maintainers":[{"name":"baolong281","email":"baolong281@gmail.com"}],"description":"JavaScript Gaussian Splatting library","homepage":"https://github.com/dylanebert/splat.js#readme","keywords":["gsplat","gaussian splatting","javascript","3d","webgl"],"repository":{"type":"git","url":"git+https://github.com/dylanebert/splat.js.git"},"author":{"name":"dylanebert"},"bugs":{"url":"https://github.com/dylanebert/splat.js/issues"},"license":"MIT","readme":"# gsplat.js\n\n#### JavaScript Gaussian Splatting library\n\ngsplat.js is an easy-to-use, general-purpose, open-source 3D Gaussian Splatting library, providing functionality similar to [three.js](https://github.com/mrdoob/three.js) but for Gaussian Splatting.\n\n### Quick Start\n\n-   **Live Viewer Demo:** Explore this library in action in the 🤗 [Hugging Face demo](https://huggingface.co/spaces/dylanebert/igf). Note: May not work on all devices; use `Bonsai` for the lowest memory requirements.\n-   **Editor Demo:** Try new real-time updates and editing features in the [gsplat.js editor](https://huggingface.co/spaces/dylanebert/gsplat-editor).\n-   **Code Example:** Start coding immediately with this [jsfiddle example](https://jsfiddle.net/wdn6vasc/).\n\n### Installation\n\n**Prerequisites**: Ensure your development environment supports ES6 modules.\n\n1. **Set Up a Project:** (If not already set up)\n\n    Install [Node.js](https://nodejs.org/en/download/) and [NPM](https://www.npmjs.com/get-npm), then initialize a new project using a module bundler like [Vite](https://vitejs.dev/):\n\n    ```bash\n    npm create vite@latest gsplat -- --template vanilla-ts\n    ```\n\n2. **Test Your Environment:**\n\n    ```bash\n    cd gsplat\n    npm install\n    npm run dev\n    ```\n\n3. **Install gsplat.js:**\n\n    ```bash\n    npm install --save gsplat\n    ```\n\n### Usage\n\n#### Creating a Scene\n\n-   Import **gsplat.js** components and set up a basic scene.\n-   Load Gaussian Splatting data and start a rendering loop.\n\n(in `src/main.ts` if you followed the Vite setup)\n\n```js\nimport * as SPLAT from \"gsplat\";\n\nconst scene = new SPLAT.Scene();\nconst camera = new SPLAT.Camera();\nconst renderer = new SPLAT.WebGLRenderer();\nconst controls = new SPLAT.OrbitControls(camera, renderer.canvas);\n\nasync function main() {\n    const url = \"https://huggingface.co/datasets/dylanebert/3dgs/resolve/main/bonsai/bonsai-7k.splat\";\n\n    await SPLAT.Loader.LoadAsync(url, scene, () => {});\n\n    const frame = () => {\n        controls.update();\n        renderer.render(scene, camera);\n\n        requestAnimationFrame(frame);\n    };\n\n    requestAnimationFrame(frame);\n}\n\nmain();\n```\n\nThis script sets up a basic scene with Gaussian Splatting data loaded from URL and starts a rendering loop.\n\n### FAQ\n\n**Q: Can I use .ply files?**\n\nA: Yes, gsplat.js supports `.ply` files. See the [ply-converter example](https://github.com/dylanebert/gsplat.js/blob/main/examples/ply-converter/src/main.ts) for details on how to convert `.ply` to `.splat`. Alternatively, convert PLY files from URL in this [jsfiddle example](https://jsfiddle.net/2sq3pvdt/1/).\n\n**Q: What are .splat files?**\n\nA: `.splat` files are a compact form of the splat data, offering quicker loading times than `.ply` files. They consist of a raw Uint8Array buffer.\n\n> ⚠️ The `.splat` format does not contain SH coefficients, so colors are not view-dependent.\n\n**Q: Can I convert .splat files to .ply?**\n\nA: Yes, see the commented code in the [ply-converter example](https://github.com/dylanebert/gsplat.js/blob/main/examples/ply-converter/src/main.ts). Alternatively, convert `.splat` to `.ply` from URL in this [jsfiddle example](https://jsfiddle.net/aL81ds3e/).\n\n> ⚠️ When converting `.ply` -> `.splat` -> `.ply`, SH coefficients will be lost.\n\n### License\n\nThis project is released under the MIT license. It is built upon several other open-source projects:\n\n-   [three.js](https://github.com/mrdoob/three.js), MIT License (c) 2010-2023 three.js authors\n-   [antimatter15/splat](https://github.com/antimatter15/splat), MIT License (c) 2023 Kevin Kwok\n-   [UnityGaussianSplatting](https://github.com/aras-p/UnityGaussianSplatting), MIT License (c) 2023 Aras Pranckevičius\n\nPlease note that the license of the original [3D Gaussian Splatting](https://github.com/graphdeco-inria/gaussian-splatting) research project is non-commercial. While this library provides an open-source rendering implementation, users should consider the source of the splat data separately.\n\n### Contact\n\nFeel free to open issues, join the [Hugging Face Discord](https://hf.co/join/discord), or email me directly at [dylan@huggingface.co](mailto:dylan@huggingface.co).\n","readmeFilename":"README.md"}