{"_id":"@codyjasonbennett/three.js-holo","name":"@codyjasonbennett/three.js-holo","dist-tags":{"latest":"0.140.0"},"versions":{"0.140.0":{"name":"@codyjasonbennett/three.js-holo","version":"0.140.0","description":"JavaScript 3D library","type":"module","main":"./build/three.js","module":"./build/three.module.js","exports":{".":{"import":"./build/three.module.js","require":"./build/three.cjs"},"./examples/fonts/*":"./examples/fonts/*","./examples/jsm/*":"./examples/jsm/*","./src/*":"./src/*"},"repository":{"type":"git","url":"https://github.com/mrdoob/three.js"},"sideEffects":false,"eslintConfig":{"root":true,"extends":["mdcs","plugin:compat/recommended"],"parser":"@babel/eslint-parser","parserOptions":{"babelOptions":{"configFile":"./utils/build/.babelrc.json"}},"plugins":["html","import"],"settings":{"polyfills":["WebGL2RenderingContext"]},"globals":{"__THREE_DEVTOOLS__":"readonly","WebGL2ComputeRenderingContext":"readonly","potpack":"readonly","fflate":"readonly","bodymovin":"readonly","OIMO":"readonly","Stats":"readonly","XRWebGLBinding":"readonly","XRWebGLLayer":"readonly","GPUShaderStage":"readonly","GPUBufferUsage":"readonly","GPUTextureUsage":"readonly","QUnit":"readonly"},"rules":{"no-throw-literal":["error"],"import/extensions":["error","always"],"quotes":["error","single"],"prefer-const":["error",{"destructuring":"any","ignoreReadBeforeAssign":false}]}},"browserslist":["> 1%, not dead, not ie 11, not op_mini all"],"scripts":{"start":"npm run dev","test":"npm run lint && npm run test-unit","build":"rollup -c utils/build/rollup.config.js","build-module":"ONLY_MODULE=true rollup -c utils/build/rollup.config.js","build-examples":"rollup -c utils/build/rollup.examples.config.js && echo '\nFormatting...' && eslint examples/js --ext js --ignore-pattern libs --ignore-pattern ifc --fix","dev":"concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c utils/build/rollup.config.js -w -m inline\" \"servez -p 8080\"","lint":"eslint src --ext js","lint-examples":"eslint examples/js examples/jsm --ext js --ignore-pattern libs --ignore-pattern ifc","lint-fix":"npm run lint -- --fix && npm run lint-examples -- --fix","lint-docs":"eslint docs --ext html","test-unit":"npm run unit --prefix test","test-e2e":"node test/e2e/puppeteer.js","test-e2e-cov":"node test/e2e/check-coverage.js","test-treeshake":"rollup -c test/rollup.treeshake.config.js","make-screenshot":"node test/e2e/puppeteer.js --make"},"keywords":["three","three.js","javascript","3d","virtual-reality","augmented-reality","webgl","webgl2","webaudio","webgpu","webxr","canvas","svg","html5"],"author":{"name":"mrdoob"},"license":"MIT","bugs":{"url":"https://github.com/mrdoob/three.js/issues"},"homepage":"https://threejs.org/","devDependencies":{"@babel/core":"^7.17.9","@babel/eslint-parser":"^7.17.0","@babel/plugin-proposal-class-properties":"^7.16.7","@babel/preset-env":"^7.16.11","@rollup/plugin-babel":"^5.3.1","@rollup/plugin-node-resolve":"^13.2.0","chalk":"^5.0.1","concurrently":"^7.1.0","eslint":"^8.13.0","eslint-config-mdcs":"^5.0.0","eslint-plugin-compat":"^4.0.2","eslint-plugin-html":"^6.2.0","eslint-plugin-import":"^2.26.0","rollup":"^2.70.2","rollup-plugin-filesize":"^9.1.2","rollup-plugin-terser":"^7.0.2","rollup-plugin-visualizer":"^5.6.0","servez":"^1.14.1"},"jspm":{"files":["package.json","LICENSE","README.md","build/three.js","build/three.min.js","build/three.module.js"],"directories":{}},"licenseText":"The MIT License\n\nCopyright © 2010-2022 three.js authors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","_id":"@codyjasonbennett/three.js-holo@0.140.0","dist":{"shasum":"1de9af06400bcae8442fef98f0bfcb4563e5e435","integrity":"sha512-VIDwaVkNDSGtM0rPxmDSafmYQMwLjsumohLcG5hFyVfLC+uPF8yokOHh3kHECLvAVhUE2SR/d4l/TBJWah21qQ==","tarball":"https://registry.npmjs.org/@codyjasonbennett/three.js-holo/-/three.js-holo-0.140.0.tgz","fileCount":1273,"unpackedSize":33584190,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICvGIouVUYzQJSyrDTwIGIZFPosMq2i7ixghWf8whJyaAiAXobUydLexQCvm4R+gcFH80ZMm5mi9FrkvACbTQjjJVg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJibD8qACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrYgg//c2DMc2APEJ/0uNSPOhw7/vmILMIl1bacVqd00MAqKMy3K6eY\r\n6lE1qhIZgW9/+x3geabgB3Q6E/jpPFq+RwLihI9XG46eFWdvqgJkRrn0D3gD\r\nyldqe1lgpmPuAd/hXBVZu8yV0vpZxXODPEcFGrDAip8ke9rtXe/acUi5glPb\r\nQ8T7QzaQcH+UAUbGyVmKcIZaF6ODDwQeyb1dqFiO/5UPC8a4tRQybzmioDzA\r\nEgPuEJf2iA7xlAaw1OoAi+dUvo+n6McuuCgVf1E2f0Ma+V+FIefeMSlfbiPB\r\nJ2WiKEsmTVhCwU44/wtURRAzNOHmstvBbl3WiJwJ02PrvFn2ZiHkGoDo3Jzh\r\nq+lndblSoAUK0MHnQUNV9AqtvIMmUNpX0lPsbnCT/TWPmlmjlU5d+dJt/HV7\r\nHwzA17AYHzy3t9rK9Iw9H6E19Cw1SBzlthK4rSMQ2TQrdPeeif00ZoeTbVHp\r\nDCmvXJ7EURlB6T+bAoWdiiFjYXsoKU8FmpojZGdJCmA1EHh3eg6oEe0vgmVN\r\nHpl0xKrJuMGF3uxmVZLq77/XqGR2+waKJl1D7+a3oXeq7Abipbj9DKNaeKIT\r\neg0Ryvq4IR6gqkfNPqVD2W7oVdWE6HxhVzKtN3DtESsJAY3ukMXpc70zNQLo\r\nN4E1QCQ5lLcxF6cLp+cZBPnutpR4I1mDcvw=\r\n=FfBN\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"codyjasonbennett","email":"hi@codyb.co"},"directories":{},"maintainers":[{"name":"codyjasonbennett","email":"hi@codyb.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/three.js-holo_0.140.0_1651261225830_0.9926568163761285"},"_hasShrinkwrap":false}},"time":{"created":"2022-04-29T19:40:25.779Z","0.140.0":"2022-04-29T19:40:26.271Z","modified":"2022-04-29T19:40:26.395Z"},"maintainers":[{"name":"codyjasonbennett","email":"hi@codyb.co"}],"description":"JavaScript 3D library","homepage":"https://threejs.org/","keywords":["three","three.js","javascript","3d","virtual-reality","augmented-reality","webgl","webgl2","webaudio","webgpu","webxr","canvas","svg","html5"],"repository":{"type":"git","url":"https://github.com/mrdoob/three.js"},"author":{"name":"mrdoob"},"bugs":{"url":"https://github.com/mrdoob/three.js/issues"},"license":"MIT","readme":"three.js\n========\n\n[![NPM Package][npm]][npm-url]\n[![Build Size][build-size]][build-size-url]\n[![NPM Downloads][npm-downloads]][npmtrends-url]\n[![DeepScan][deepscan]][deepscan-url]\n[![Discord][discord]][discord-url]\n\n#### JavaScript 3D library ####\n\nThe aim of the project is to create an easy to use, lightweight, cross-browser, general purpose 3D library. The current builds only include a WebGL renderer but WebGPU (experimental), SVG and CSS3D renderers are also available in the examples.\n\n[Examples](https://threejs.org/examples/) &mdash;\n[Documentation](https://threejs.org/docs/) &mdash;\n[Wiki](https://github.com/mrdoob/three.js/wiki) &mdash;\n[Migrating](https://github.com/mrdoob/three.js/wiki/Migration-Guide) &mdash;\n[Questions](https://stackoverflow.com/questions/tagged/three.js) &mdash;\n[Forum](https://discourse.threejs.org/) &mdash;\n[Slack](https://join.slack.com/t/threejs/shared_invite/zt-rnuegz5e-FQpc6YboDVW~5idlp7GfDw)\n\n### Usage ###\n\nThis code creates a scene, a camera, and a geometric cube, and it adds the cube to the scene. It then creates a `WebGL` renderer for the scene and camera, and it adds that viewport to the `document.body` element. Finally, it animates the cube within the scene for the camera.\n\n```javascript\nimport * as THREE from 'three';\n\n// init\n\nconst camera = new THREE.PerspectiveCamera( 70, window.innerWidth / window.innerHeight, 0.01, 10 );\ncamera.position.z = 1;\n\nconst scene = new THREE.Scene();\n\nconst geometry = new THREE.BoxGeometry( 0.2, 0.2, 0.2 );\nconst material = new THREE.MeshNormalMaterial();\n\nconst mesh = new THREE.Mesh( geometry, material );\nscene.add( mesh );\n\nconst renderer = new THREE.WebGLRenderer( { antialias: true } );\nrenderer.setSize( window.innerWidth, window.innerHeight );\nrenderer.setAnimationLoop( animation );\ndocument.body.appendChild( renderer.domElement );\n\n// animation\n\nfunction animation( time ) {\n\n\tmesh.rotation.x = time / 2000;\n\tmesh.rotation.y = time / 1000;\n\n\trenderer.render( scene, camera );\n\n}\n```\n\nIf everything went well, you should see [this](https://jsfiddle.net/7u84j6kp/).\n\n### Cloning this repository ###\n\nCloning the repo with all its history results in a ~2 GB download. If you don't need the whole history you can use the `depth` parameter to significantly reduce download size.\n\n```sh\ngit clone --depth=1 https://github.com/mrdoob/three.js.git\n```\n\n### Change log ###\n\n[Releases](https://github.com/mrdoob/three.js/releases)\n\n\n[npm]: https://img.shields.io/npm/v/three\n[npm-url]: https://www.npmjs.com/package/three\n[build-size]: https://badgen.net/bundlephobia/minzip/three\n[build-size-url]: https://bundlephobia.com/result?p=three\n[npm-downloads]: https://img.shields.io/npm/dw/three\n[npmtrends-url]: https://www.npmtrends.com/three\n[deepscan]: https://deepscan.io/api/teams/16600/projects/19901/branches/525701/badge/grade.svg\n[deepscan-url]: https://deepscan.io/dashboard#view=project&tid=16600&pid=19901&bid=525701\n[discord]: https://img.shields.io/discord/685241246557667386\n[discord-url]: https://discord.gg/56GBJwAnUS\n\n","readmeFilename":"README.md"}