Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@splinetool/loader

Package Overview
Dependencies
Maintainers
4
Versions
727
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@splinetool/loader - npm Package Compare versions

Comparing version 0.9.39 to 0.9.40

4

package.json
{
"name": "@splinetool/loader",
"version": "0.9.39",
"version": "0.9.40",
"main": "build/SplineLoader.js",

@@ -32,3 +32,3 @@ "types": "./build/SplineLoader.d.ts",

"spe": "0.0.0",
"three": "^0.139.1",
"three": "^0.140.0",
"typescript": "^4.1.3",

@@ -35,0 +35,0 @@ "vite": "^2.9.0"

# Spline Loader
> Three.js loader for `.spline` files.
> Three.js loader for `.splinecode` files.

@@ -11,2 +11,4 @@ It returns a three.js compatible representation of the file scene.

> :warning: Only **.splinecode** files should be loaded through this API. `.spline` files are meant to be used in the editor.
## Installation

@@ -26,6 +28,6 @@

// Load a .spline file
// Load a .splinecode file
loader.load(
// path to the .spline file, either from the Spline servers or local
'https://prod.spline.design/TRfTj83xgjIdHPmT/scene.spline',
// path to the .splinecode file, either from the Spline servers or local
'https://prod.spline.design/2qM3cW5Cx15m3cJ7/scene.splinecode',
// called when the resource is loaded

@@ -32,0 +34,0 @@ (splineScene) => {

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc