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

@gltf-transform/extensions

Package Overview
Dependencies
Maintainers
1
Versions
191
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gltf-transform/extensions

Adds extension support to @gltf-transform/core

  • 0.7.3
  • npm
  • Socket score

Version published
Weekly downloads
14K
decreased by-34.3%
Maintainers
1
Weekly downloads
 
Created
Source

@gltf-transform/extensions

Latest NPM release Minzipped size License

Part of the glTF-Transform project.

Installation

Install:

npm install --save @gltf-transform/extensions

Import:

// ES6
import { WebIO } from '@gltf-transform/core';
import { KHRONOS_EXTENSIONS } from '@gltf-transform/extensions';

// CommonJS
const { WebIO } = require('@gltf-transform/core');
const { KHRONOS_EXTENSIONS } = require('@gltf-transform/extensions');

// Register.
const io = new WebIO().registerExtensions(KHRONOS_EXTENSIONS);
const document = await io.read('/model.glb');

API

Full documentation, and a list of supported extensions, in Extensions.

Keywords

FAQs

Package last updated on 09 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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