
Product
Announcing Bun and vlt Support in Socket
Bringing supply chain security to the next generation of JavaScript package managers
@croquet/microverse-library
Advanced tools
Basis Universal is a "supercompressed" GPU texture and texture video compression system that outputs a highly compressed intermediate file format (.basis) that can be quickly transcoded to a wide variety of GPU texture compression formats.
Basis Universal texture data may be used in two different file formats:
.basis and .ktx2, where ktx2 is a standardized wrapper around basis texture data.
For further documentation about the Basis compressor and transcoder, refer to the Basis GitHub repository.
The folder contains two files required for transcoding .basis or .ktx2 textures:
basis_transcoder.js — JavaScript wrapper for the WebAssembly transcoder.basis_transcoder.wasm — WebAssembly transcoder.Both are dependencies of KTX2Loader:
const ktx2Loader = new KTX2Loader();
ktx2Loader.setTranscoderPath( 'examples/jsm/libs/basis/' );
ktx2Loader.detectSupport( renderer );
ktx2Loader.load( 'diffuse.ktx2', function ( texture ) {
const material = new THREE.MeshStandardMaterial( { map: texture } );
}, function () {
console.log( 'onProgress' );
}, function ( e ) {
console.error( e );
} );
FAQs
An npm package version of Microverse
We found that @croquet/microverse-library demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

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.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.