{"_id":"@borellion/threejs-sdk","_rev":"4-a2f89a1b7c20a30286383715b5d891ec","name":"@borellion/threejs-sdk","dist-tags":{"latest":"4.1.2"},"versions":{"4.0.0":{"name":"@borellion/threejs-sdk","version":"4.0.0","author":{"name":"Borellion"},"_id":"@borellion/threejs-sdk@4.0.0","maintainers":[{"name":"limbofeather","email":"elijah@borellion.com"}],"homepage":"https://github.com/borellion/sdk#readme","bugs":{"url":"https://github.com/borellion/sdk/issues"},"dist":{"shasum":"67da30864690b7f3b8fc26a18a1662e57158dbaa","tarball":"https://registry.npmjs.org/@borellion/threejs-sdk/-/threejs-sdk-4.0.0.tgz","fileCount":3,"integrity":"sha512-DOvYTAK7Wyk2aTvBiR5+wm6wlWWQ+rsIsyO8FKayVnfgRbMfJVfT7ZyGLG5uOnVORnJsJ8oE3eNOi8+YcYq6bw==","signatures":[{"sig":"MEUCIQDJ1uaIqNBKllMvUnVDkH4KtU3LBbt3mT6lpureoGecMwIgNJFy7JigYsGDLowZ5uNvedxsbcXToBdbCSxFZspiVH8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20947},"main":"dist/borellion-threejs-sdk.js","gitHead":"e689499152fad1a3a3746b8b582ec70c89d741d2","scripts":{"test":"webpack --mode=development","build":"webpack --mode=production","serve":"webpack-dev-server --open","prettier":"prettier --write src/**.js gruntfile.js"},"_npmUser":{"name":"limbofeather","email":"elijah@borellion.com"},"repository":{"url":"git+https://github.com/borellion/sdk.git","type":"git","directory":"threejs"},"_npmVersion":"11.4.2","description":"This is the three.js SDK for Borellion Banner integration.","directories":{},"_nodeVersion":"24.3.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"webpack":"^5.73.0","prettier":"1.18.2","webpack-cli":"^4.10.0","webpack-dev-server":"^4.9.2"},"peerDependencies":{"three":"^0.148.0"},"_npmOperationalInternal":{"tmp":"tmp/threejs-sdk_4.0.0_1778778465016_0.8432991838377122","host":"s3://npm-registry-packages-npm-production"}},"4.1.0":{"name":"@borellion/threejs-sdk","version":"4.1.0","author":{"name":"Borellion"},"_id":"@borellion/threejs-sdk@4.1.0","maintainers":[{"name":"limbofeather","email":"elijah@borellion.com"}],"homepage":"https://github.com/borellion/sdk#readme","bugs":{"url":"https://github.com/borellion/sdk/issues"},"dist":{"shasum":"7f4a595f95609e7e45b7e019340a6cedd82197c6","tarball":"https://registry.npmjs.org/@borellion/threejs-sdk/-/threejs-sdk-4.1.0.tgz","fileCount":3,"integrity":"sha512-V7xOAvGu/1Pqn0KcCZwYvqyMKdPZ2n54wgAaIHEfl/TQV13LHxGjPIv0kY77DOPNWkZsi30hSCeQDhqxY0BshQ==","signatures":[{"sig":"MEQCIDuvvPcyQ8AQ+7WBFwybLYx0sO3K10O/UCWSGJ5N7CLBAiBp+DoWT+SMsaGgo5CmfacAClzzz0QbXW0oVnis3sigBA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21761},"main":"dist/borellion-threejs-sdk.js","gitHead":"b8e80ffb49968a7911dfaf6797d99c0f42042732","scripts":{"test":"webpack --mode=development","build":"webpack --mode=production","serve":"webpack-dev-server --open","prettier":"prettier --write src/**.js gruntfile.js"},"_npmUser":{"name":"limbofeather","email":"elijah@borellion.com"},"repository":{"url":"git+https://github.com/borellion/sdk.git","type":"git","directory":"threejs"},"_npmVersion":"11.4.2","description":"This is the three.js SDK for Borellion Banner integration.","directories":{},"_nodeVersion":"24.3.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"webpack":"^5.73.0","prettier":"1.18.2","webpack-cli":"^4.10.0","webpack-dev-server":"^4.9.2"},"peerDependencies":{"three":"^0.148.0"},"_npmOperationalInternal":{"tmp":"tmp/threejs-sdk_4.1.0_1779464612445_0.025652909062771068","host":"s3://npm-registry-packages-npm-production"}},"4.1.1":{"name":"@borellion/threejs-sdk","version":"4.1.1","author":{"name":"Borellion"},"_id":"@borellion/threejs-sdk@4.1.1","maintainers":[{"name":"limbofeather","email":"elijah@borellion.com"}],"homepage":"https://github.com/borellion/sdk#readme","bugs":{"url":"https://github.com/borellion/sdk/issues"},"dist":{"shasum":"ca273530a3fe37a13b2ca238509ae71389f4eb7e","tarball":"https://registry.npmjs.org/@borellion/threejs-sdk/-/threejs-sdk-4.1.1.tgz","fileCount":3,"integrity":"sha512-5aWdWsc8AxZhLXioRMgBO2ynwAIsY7Cul1Njty3GZBU776ZoFgZ1sndE7a8GvQlHxOS/lbJPI9Mz7iu5u8DZ9A==","signatures":[{"sig":"MEYCIQDL1KInqzZAg/6Vq4nA/FDuxWGLzYw3flWlQhqyC71WvgIhAMU/TSaVYjE7VqTlgkXwRlaUL8qZzMoYybb+ha0eOZcr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19593},"main":"dist/borellion-threejs-sdk.js","gitHead":"859cc442af69fe927dfc41c383de5d4ecca1d295","scripts":{"test":"webpack --mode=development","build":"webpack --mode=production","serve":"webpack-dev-server --open","prettier":"prettier --write src/**.js gruntfile.js"},"_npmUser":{"name":"limbofeather","email":"elijah@borellion.com"},"repository":{"url":"git+https://github.com/borellion/sdk.git","type":"git","directory":"threejs"},"_npmVersion":"11.4.2","description":"This is the three.js SDK for Borellion Banner integration.","directories":{},"_nodeVersion":"24.3.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"webpack":"^5.73.0","prettier":"1.18.2","webpack-cli":"^4.10.0","webpack-dev-server":"^4.9.2"},"peerDependencies":{"three":"^0.148.0"},"_npmOperationalInternal":{"tmp":"tmp/threejs-sdk_4.1.1_1783105502256_0.07211749093309505","host":"s3://npm-registry-packages-npm-production"}},"4.1.2":{"name":"@borellion/threejs-sdk","version":"4.1.2","description":"This is the three.js SDK for Borellion Banner integration.","main":"dist/borellion-threejs-sdk.js","scripts":{"test":"webpack --mode=development","build":"webpack --mode=production","serve":"webpack-dev-server --open","prettier":"prettier --write src/**.js gruntfile.js"},"repository":{"type":"git","url":"git+https://github.com/borellion/sdk.git","directory":"threejs"},"author":{"name":"Borellion"},"publishConfig":{"access":"public"},"devDependencies":{"prettier":"1.18.2","webpack":"^5.73.0","webpack-cli":"^4.10.0","webpack-dev-server":"^4.9.2"},"peerDependencies":{"three":"^0.148.0"},"_id":"@borellion/threejs-sdk@4.1.2","gitHead":"7e6fd3702b4896dff988a09b2a442a177ad917de","bugs":{"url":"https://github.com/borellion/sdk/issues"},"homepage":"https://github.com/borellion/sdk#readme","_nodeVersion":"24.3.0","_npmVersion":"11.4.2","dist":{"integrity":"sha512-3mXJ5rvKAzUyKOkzdGOhHefpA4m5jOF1hT0RkcNYV653/CPM10FdJeHtVN2V5NNa+cl7H/sCm8dGB1Lh8l+zJg==","shasum":"6a31d3838810c894e951162994ddd37537b4586a","tarball":"https://registry.npmjs.org/@borellion/threejs-sdk/-/threejs-sdk-4.1.2.tgz","fileCount":3,"unpackedSize":19714,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD1213lu1ZBtcTbzm4vJeEAlOva99OHiJJ1Ow+clYPcKAIgG3Toj1liV/28fzv1n1FcV+sKBA3/+iCJG1dPSnCBnow="}]},"_npmUser":{"name":"limbofeather","email":"elijah@borellion.com"},"directories":{},"maintainers":[{"name":"limbofeather","email":"elijah@borellion.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/threejs-sdk_4.1.2_1783736050519_0.1044374797945935"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-14T17:07:44.893Z","modified":"2026-07-11T02:14:10.842Z","4.0.0":"2026-05-14T17:07:45.157Z","4.1.0":"2026-05-22T15:43:32.609Z","4.1.1":"2026-07-03T19:05:02.390Z","4.1.2":"2026-07-11T02:14:10.710Z"},"bugs":{"url":"https://github.com/borellion/sdk/issues"},"author":{"name":"Borellion"},"homepage":"https://github.com/borellion/sdk#readme","repository":{"type":"git","url":"git+https://github.com/borellion/sdk.git","directory":"threejs"},"description":"This is the three.js SDK for Borellion Banner integration.","maintainers":[{"name":"limbofeather","email":"elijah@borellion.com"}],"readme":"# @borellion/threejs-sdk\n\nMonetize your three.js WebXR experiences with Borellion banner ads.\n\n## Installation\n\n```sh\nnpm install @borellion/threejs-sdk\n```\n\n```js\nimport Borellion from '@borellion/threejs-sdk';\n```\n\n## Quick Start\n\n```js\nconst banner = new Borellion('YOUR_AD_UNIT_ID', 'medium-rectangle', 'standard', 3);\nscene.add(banner);\n```\n\n## Constructor\n\n```js\nnew Borellion(adUnit, format, style, height, renderer, beacon, prebid)\n```\n\n| Parameter | Required | Default | Description |\n|-----------|----------|---------|-------------|\n| `adUnit` | yes | — | Your ad unit ID |\n| `format` | yes | — | `billboard`, `medium-rectangle`, or `mobile-phone-interstitial` |\n| `style` | yes | — | `standard`, `minimal`, or `transparent` |\n| `height` | yes | — | Scale of the banner |\n| `renderer` | no | `null` | Pass the `WebGLRenderer` when building a WebXR experience |\n| `beacon` | no | `true` | Set to `false` to opt out of analytics |\n| `prebid` | no | `true` | Set to `false` to disable Prebid and fetch ads directly |\n\n## Banner Formats\n\n| Format | Dimensions |\n|--------|-----------|\n| `medium-rectangle` | 300 x 250 |\n| `billboard` | 970 x 250 |\n| `mobile-phone-interstitial` | 750 x 1334 |\n\n## Testing Locally\n\nAdd `?debug=true` to your URL to load sample ads during development.\n\n## Documentation\n\nFull integration guide: [borellion.com/docs](https://www.borellion.com/docs/guides/developers/integrate/threejs)\n","readmeFilename":"README.md"}