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');