wind_tool_standortpruefung/debug_shp.cjs

7 lines
223 B
JavaScript

global.self = global; // Polyfill
const shp = require('shpjs');
console.log("Type of shp:", typeof shp);
console.log("Keys of shp entries:", Object.keys(shp));
console.log("Is shp a function?", typeof shp === 'function');