JSPM

  • Created
  • Published
  • Downloads 43378
  • Score
    100M100P100Q158214F
  • License MIT

Functions for common glTF modifications, written using the core API

Package Exports

  • @gltf-transform/functions
  • @gltf-transform/functions/dist/functions.js
  • @gltf-transform/functions/dist/functions.modern.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@gltf-transform/functions) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@gltf-transform/functions

Latest NPM release Minzipped size License

Part of the glTF-Transform project.

Installation

Install:

npm install --save @gltf-transform/functions

Import:

// ES6
import { dedup } from '@gltf-transform/functions';

// CommonJS
const { dedup } = require('@gltf-transform/functions');

// Use.
await document.transform(dedup({textures: true, accessors: false}));