README
@gltf-transform/lib
Part of the glTF-Transform project.
- GitHub: https://github.com/donmccurdy/glTF-Transform
- Project Documentation: https://gltf-transform.donmccurdy.com/
- Package Documentation: https://gltf-transform.donmccurdy.com/library.html
Installation
Install:
npm install --save @gltf-transform/lib
Import:
// ES6
import { dedup } from '@gltf-transform/lib';
// CommonJS
const { dedup } = require('@gltf-transform/lib');
// Use.
await document.transform(dedup({textures: true, accessors: false}));