New:Socket for Asana Is Now Available.Learn more
Get Started

@nachi-vfx/format

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nachi-vfx/format

Versioned JSON effect assets, validation, migration, and inheritance for nachi

Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
29
-91.16%
Maintainers
1
Weekly downloads
 
Created
Source

@nachi-vfx/format

Strict JSON assets for nachi effects. serializeEffect() emits the versioned { format: 'nachi-effect', version: 1, effect } envelope; loadEffect() validates and returns an ordinary normalized core definition. Migration steps and external emitter inheritance are explicit.

const document = serializeEffect(effect);
const loaded = loadEffect(document, {
  resolveAsset,
  grid2DStageRegistry,
  grid3DStageRegistry,
});

Format-owned structures reject unknown fields and non-JSON values with path-specific diagnostics. Inline TSL/functions and live engine resources must be replaced by registered or asset references. Built-in grid-stage source strings are checked against the core vocabulary, and serialized custom grid-stage references must resolve in the matching registry passed to loadEffect().

Keywords

three.js

FAQs

Package last updated on 14 Jul 2026

Related posts