Dynamic map viewer psx

This commit is contained in:
MaddoScientisto 2026-04-18 16:53:43 +02:00
commit 399017ab45
5 changed files with 201 additions and 63 deletions

4
check_type.cjs Normal file
View file

@ -0,0 +1,4 @@
const fs = require('fs');
const data = JSON.parse(fs.readFileSync('psx-map-exporter/.output-render/L0/auto/L0.json', 'utf8'));
console.log('Type of data:', Array.isArray(data) ? 'Array' : typeof data);
if (!Array.isArray(data)) console.log('Keys:', Object.keys(data));