{ "name": "loaders.gl", "description": "Framework-independent loaders and writers for visualization, 3D, geospatial, tabular, and scientific data", "license": "MIT", "type": "module", "private": true, "packageManager": "yarn@4.17.1+sha512.ccbfabf7d7b6b32075088be9386fb9a2e00bb6887ef07fa56effabc890a56d53da1ccc4128d62db245fcbd3961b236d75335bdf7d5320ed6eafb7588b7ad4697", "repository": { "type": "git", "url": "https://github.com/visgl/loaders.gl" }, "keywords": [ "webgl", "loader", "3d", "point cloud", "GLB", "OBJ", "PLY", "LAZ", "PCD", "KML", "loaders.gl", "ArcGIS", "FeatureServer", "MapServer", "ImageServer", "VectorTileServer", "SceneServer", "PBF", "JSON", "GeoJSON", "TAR", "DEFLATE", "zlib", "GZIP", "Brotli", "Snappy", "LZ4", "LZO", "BZip2", "XZ", "LZMA", "Zstandard", "Zstd", "YAML", "TOML", "Arrow", "GeoArrow", "WKT", "WKB", "CRC32", "CRC32C", "MD5", "SHA-256", "Draco", "KMZ", "GPX", "TCX", "Shapefile", "SHP", "SHX", "DBF", "CPG", "PRJ", "FlatGeobuf", "GeoPackage", "WKT CRS", "TWKB", "DOT", "GraphML", "GEXF", "PNG", "JPEG", "JPG", "GIF", "WebP", "BMP", "ICO", "SVG", "AVIF", "WMS", "WFS", "WMTS", "WCS", "CSW", "GML", "OGC API", "STAC", "STAC API", "XML", "LAS", "GeoTIFF", "TIFF", "COG", "OME-TIFF", "LERC", "LERC1", "LERC2", "quantized mesh", "Mapbox Terrain-RGB", "Terrarium", "glTF", "MTL", "OpenUSD", "USD", "USDA", "USDZ", "NetCDF", "NetCDF-4", "Zarr", "GeoZarr", "OME-Zarr", "SpatialData", "GRIB2", "HDF5", "VTK", "VTI", "VTR", "VTS", "VTU", "VTP", "SPLAT", "KSPLAT", "SPZ", "RAD", "SQL", "Feather", "Avro", "AVSC", "BSON", "CSV", "TSV", "DSV", "Excel", "XLS", "XLSB", "XLSM", "XLSX", "NDJSON", "JSONL", "NDGeoJSON", "GeoJSONL", "LDGeoJSON", "Lance", "ORC", "Parquet", "GeoParquet", "Delta Lake", "KTX", "KTX2", "DDS", "PVR", "Basis Universal", "Basis", "Crunch", "CRN", "Radiance HDR", "HDR", "NPY", "MLT", "MapLibre Tile", "MVT", "Mapbox Vector Tile", "TileJSON", "Mapbox Style", "PMTiles", "3D Tiles", "B3DM", "I3DM", "PNTS", "CMPT", "subtree", "3TZ", "I3S", "SLPK", "LEPCC", "ArcGIS Web Scene", "COPC", "Potree", "Chrome Trace", "Perfetto Trace", "OpenTelemetry", "OTLP", "OTLP JSON", "OTLP Protobuf", "Jaeger", "Zipkin", "JSON Lines", "MP4", "ZIP", "services", "geospatial", "archive", "parser", "yml", "writer", "encoder", "big data", "table", "mesh", "webgpu", "deck.gl", "layer", "examples", "draco3d", "geometry", "geometry compression", "drc", "fgb", "gpkg", "graph", "ogc", "geotif", "lrc", "ome.tif", "ome.tiff", "pngraw", "terrain", "tif", "scene", "cdf", "nc", "authentication", "gaussian splats", "duckdb", "snowflake", "checkpoint.parquet", "texture", "compressed texture", "gpu texture", "ETC", "tileset", "bin", "hrc", "js", "trace", "perfetto", "htm", "html" ], "workspaces": [ "modules/*", "apps/*", "examples/**", "website" ], "engines": { "node": "^22.13.0 || ^24.0.0 || ^26.0.0" }, "scripts": { "bootstrap": "ocular-bootstrap", "postinstall": "echo postinstall", "start": "echo 'Please see loaders.gl website for how to run examples' && open https://loaders.gl/docs", "serve-range": "node ./scripts/range-server.mjs", "clean": "ocular-clean", "tsclean": "find . -name tsconfig.tsbuildinfo -exec rm {} \\;", "build": "yarn build-modules", "build-modules": "node ./scripts/build-modules-parallel.mjs", "build-apps": "node ./scripts/run-app-commands.mjs build", "build-workers": "node ./scripts/build-workers.mjs", "cover": "yarn test-cover", "lint": "ocular-lint", "publish-beta": "ocular-publish version-only-beta", "publish-prod": "ocular-publish version-only-prod", "test": "node ./scripts/test.mjs full", "test-modules": "node ./scripts/test.mjs full", "test-apps": "node ./scripts/run-app-commands.mjs test", "test-node": "node ./scripts/test.mjs node", "test-tile-converter": "node ./scripts/test.mjs tile-converter", "test-browser": "node ./scripts/test.mjs browser", "test-headless": "node ./scripts/test.mjs browser-headless", "test-node-cover": "node ./scripts/test.mjs cover-node", "test-headless-cover": "node ./scripts/test.mjs cover-headless", "test-slow": "node ./scripts/test.mjs slow", "test-slow-cover": "node ./scripts/test.mjs cover-slow", "test-slow-affected": "node ./scripts/run-affected-slow-tests.mjs", "test-slow-affected-cover": "node ./scripts/run-affected-slow-tests.mjs --coverage", "test-external": "node ./scripts/test.mjs external", "test-audit": "node ./scripts/audit-tests.mjs", "test-profile": "node ./scripts/run-test-profile.mjs", "test-coverage-check": "node ./scripts/check-coverage-thresholds.mjs", "test-coverage-summary": "node ./scripts/write-coverage-summary.mjs", "test-coverage-ratchet": "node ./scripts/check-coverage-thresholds.mjs --update", "test-vitest-async-guardrails": "node ./scripts/check-vitest-async-guardrails.mjs", "playwright:install": "playwright install chromium", "test-cover": "node ./scripts/test.mjs cover", "bench": "node ./scripts/run-node-bench.mjs", "bench-browser": "node ./scripts/run-browser-bench.mjs", "bench-headless": "node ./scripts/run-browser-bench.mjs --headless", "test-website": "cd website && yarn && yarn build && cd ..", "test-fast": "yarn lint && yarn test-node", "pre-commit": "yarn lint", "pre-push": "yarn lint", "metrics": "./scripts/metrics.sh && ocular-metrics", "check-attributions": "node ./scripts/check-attributions.mjs" }, "devDependencies": { "@loaders.gl/tiles-3d": "^5.0.0-alpha.0", "@types/node": "^25.3.0", "@vis.gl/dev-tools": "2.0.0-alpha.6", "@vis.gl/ts-plugins": "2.0.0-alpha.6", "@vitest/browser-playwright": "5.1.0", "@vitest/coverage-v8": "5.1.0", "gltf-validator": "^2.0.0-dev.3.10", "lerna": "10.1.2", "playwright": "^1.59.1", "pre-commit": "^1.2.2", "pre-push": "^0.1.1", "probe.gl": "^5.0.0", "sharp": "^0.35.5", "vite": "^8.0.0", "vitest": "5.1.0", "yaml": "^2.8.1", "zod": "^4.1.12" }, "pre-commit": "pre-commit", "pre-push": "pre-push", "resolutions_notes": [ "Ensure we use recent typescript", "Use current published Webpack build plugins to remove serialize-javascript 6; remove overrides after Docusaurus upgrades its parent dependency ranges", "Use published KaTeX 0.18.2 for micromark math until its parent accepts the fixed renderer", "Use published minimatch 11 for affected minimatch 10 dependency ranges until Nx and npm tooling upgrade; preserve minimatch 3 callers", "Keep Playwright on 1.59.1: 1.63.0 closes Chromium during headless coverage shards", "Use published Tinypool 2.1.2 for Docusaurus SSR workers until the parent upgrades its 1.x dependency", "Align loaders.gl Arrow ranges with parquet-wasm; preserve DuckDB-Wasm’s separate ^17 dependency", "Use published textures 4.5.4 for legacy luma/glTF consumers to remove automatic texture-compressor/image-size 0.x installation", "POC: align the browser packages required by @vis.gl/dev-tools with Vitest 5; remove after upstream supports Vitest 5", "Use published webpack-dev-server 6 to remove the SockJS dependency on vulnerable UUID 8", "Use published Undici 7.30.2 for Nx 23.3.1 until its exact 7.29.0 dependency is upgraded" ], "resolutions": { "katex@npm:^0.16.0": "npm:0.18.2", "apache-arrow@npm:>= 17.0.0": "^21.2.0", "apache-arrow@npm:>=17.0.0": "^21.2.0", "typescript": "^6.0.3", "tinypool@npm:^1.0.2": "npm:2.1.2", "playwright": "1.59.1", "@loaders.gl/textures@npm:4.4.5": "npm:4.5.4", "@loaders.gl/textures@npm:~4.4.5": "npm:4.5.4", "@loaders.gl/tiles-3d": "^5.0.0-alpha.0", "@loaders.gl/compression": "^5.0.0-alpha.0", "@loaders.gl/core": "^5.0.0-alpha.0", "@loaders.gl/crypto": "^5.0.0-alpha.0", "@loaders.gl/scene": "^5.0.0-alpha.0", "@loaders.gl/images": "^5.0.0-alpha.0", "@loaders.gl/core/loader-utils": "^5.0.0-alpha.0", "@loaders.gl/tiles": "^5.0.0-alpha.0", "@loaders.gl/splats": "^5.0.0-alpha.0", "@loaders.gl/sql": "^5.0.0-alpha.0", "@loaders.gl/traces": "^5.0.0-alpha.0", "@loaders.gl/archives": "^5.0.0-alpha.0", "copy-webpack-plugin@npm:^11.0.0": "npm:14.0.0", "css-minimizer-webpack-plugin@npm:^5.0.1": "npm:8.0.0", "@vitest/browser": "5.1.0", "@vitest/browser-playwright": "5.1.0", "@loaders.gl/raster": "^5.0.0-alpha.0", "@loaders.gl/geospatial": "^5.0.0-alpha.0", "@loaders.gl/ogc": "^5.0.0-alpha.0", "@loaders.gl/pointclouds": "^5.0.0-alpha.0", "undici@npm:7.29.0": "npm:7.30.2", "minimatch@npm:10.2.5": "npm:11.0.6", "minimatch@npm:^10.0.3": "npm:11.0.6", "minimatch@npm:^10.1.1": "npm:11.0.6", "minimatch@npm:^10.2.2": "npm:11.0.6", "minimatch@npm:^10.2.6": "npm:11.0.6", "webpack-dev-server": "npm:6.1.0" } }