VYI Module
A lightweight module to read / manage .vyi files created in the Vylocity Game Engine.
Installation
ES Module
import { VYI } from './vyi.mjs';
IIFE (Immediately Invoked Function Expression)
<script src="vyi.js"></script>;
// ...
window.VyiBundle.VYI;
CommonJS (CJS) Module
const { VYI } = require('./vyi.cjs.js');
Global Dependency
VYI relies on the VYLO
variable being globally accessible.