@gltf-transform/cli

Part of the glTF-Transform project.
Quickstart
Install the CLI, supported in Node.js v14+.
npm install --global @gltf-transform/cli
List available CLI commands:
gltf-transform --help
Compress mesh geometry with Draco:
gltf-transform draco input.glb output.glb --method edgebreaker
Resize and compress textures with Sharp:
gltf-transform resize input.glb output.glb --width 1024 --height 1024
gltf-transform webp input.glb output.glb --slots "baseColor"
... and much more.
Credits
See Credits.
License
Copyright 2023, MIT License.