🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

@holoscript/compiler-utils

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@holoscript/compiler-utils

Shared compiler utilities — domain block compilation (materials, physics, particles, post-fx, audio, weather) and target-specific codegen helpers

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

@holoscript/compiler-utils

Shared compiler utilities for the HoloScript ecosystem.

What's Inside

Domain block compilation functions used by 17+ compile targets:

  • Materials: compileMaterialBlock, materialToR3F, materialToUSD, materialToGLTF, materialToUnity
  • Physics: compilePhysicsBlock, physicsToURDF, physicsToUnity
  • Particles: compileParticleBlock, particlesToR3F, particlesToUnity
  • Post-FX: compilePostProcessingBlock, postProcessingToR3F
  • Audio: compileAudioSourceBlock, audioSourceToR3F
  • Weather: compileWeatherBlock, weatherToUSD

Usage

import { compileMaterialBlock, materialToR3F } from '@holoscript/compiler-utils';

const mat = compileMaterialBlock(domainBlock);
const jsx = materialToR3F(mat);

Dependencies

Requires @holoscript/core (workspace dependency).

Keywords

holoscript

FAQs

Package last updated on 23 Mar 2026

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