{"_id":"@caoguo/maplibre-grid","_rev":"7-f3190000ebe996b5c1e77870b808b4f8","name":"@caoguo/maplibre-grid","dist-tags":{"latest":"0.0.8"},"versions":{"0.0.1":{"name":"@caoguo/maplibre-grid","version":"0.0.1","_id":"@caoguo/maplibre-grid@0.0.1","maintainers":[{"name":"uutan","email":"uutan@qq.com"}],"dist":{"shasum":"3781d46cbec0f3a5e1e3421b116f7a73f2ca5d62","tarball":"https://registry.npmjs.org/@caoguo/maplibre-grid/-/maplibre-grid-0.0.1.tgz","fileCount":53,"integrity":"sha512-p6llLhMki99OxQB9bmPm7r8Ax7gS4OKSNdC+LLMcNz6ZilUl/WjWhn8qMoVBdTBoybgKw7WWD4UQH2jPnoZR9A==","signatures":[{"sig":"MEUCIQDnOc++mFwlXbI3q6L6PEtDul+qXNuZQCah1aVF5aVipQIgBUY1tAVgb/RrkXIvT0l+u/Zc1U8DiOzWpX5vC6ACtPw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":378464},"main":"./dist/index.cjs","type":"module","_from":"file:caoguo-maplibre-grid-0.0.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./load":{"types":"./dist/load/index.d.ts","import":"./dist/load/index.js","require":"./dist/load/index.cjs"},"./style":{"types":"./dist/style/index.d.ts","import":"./dist/style/index.js","require":"./dist/style/index.cjs"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.cjs"},"./outage":{"types":"./dist/outage/index.d.ts","import":"./dist/outage/index.js","require":"./dist/outage/index.cjs"},"./topology":{"types":"./dist/topology/index.d.ts","import":"./dist/topology/index.js","require":"./dist/topology/index.cjs"}},"scripts":{"test":"vitest run","build":"tsup","test:watch":"vitest"},"_npmUser":{"name":"uutan","email":"uutan@qq.com"},"_resolved":"/private/var/folders/br/f3pl5_3d7m5b9qz4ym4d_plw0000gn/T/94c016ee2b5976ae91059f05267bd6b4/caoguo-maplibre-grid-0.0.1.tgz","_integrity":"sha512-p6llLhMki99OxQB9bmPm7r8Ax7gS4OKSNdC+LLMcNz6ZilUl/WjWhn8qMoVBdTBoybgKw7WWD4UQH2jPnoZR9A==","_npmVersion":"10.9.7","description":"草果地图电网组件包 - Grid topology / Outage analysis / Load heatmap","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@caoguo/theme":"0.0.1","@caoguo/maplibre":"0.0.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","jsdom":"^25.0.1","vitest":"^2.1.8","typescript":"^5.6.3"},"peerDependencies":{"maplibre-gl":"^4.7.1"},"_npmOperationalInternal":{"tmp":"tmp/maplibre-grid_0.0.1_1787276443522_0.8518294984722798","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@caoguo/maplibre-grid","version":"0.0.2","keywords":["maplibre","caoguo","gis","power-grid","electrical-grid","outage-analysis","load-heatmap","load-forecast","grid-topology","power-path","graph-algorithm","china"],"author":{"name":"caoguo","email":"caoguo@hb.cn"},"license":"Apache-2.0","_id":"@caoguo/maplibre-grid@0.0.2","maintainers":[{"name":"uutan","email":"uutan@qq.com"}],"homepage":"https://github.com/caoguo/map/blob/main/packages/grid/README.md","bugs":{"url":"https://github.com/caoguo/map/issues"},"dist":{"shasum":"a11de76d049582653d7b2ceb0f67285cb9627da1","tarball":"https://registry.npmjs.org/@caoguo/maplibre-grid/-/maplibre-grid-0.0.2.tgz","fileCount":54,"integrity":"sha512-K3bsg/obGWxl8JWgqzbnt2qLugoa8ZAAzkLUGiQAej3XY2A1vgR2FupoGGrS8zQ3PeK0PzTyVx8vxbp3Lg+D9A==","signatures":[{"sig":"MEYCIQDe04fiivJpDiPI0XEs5szuEsvzbKNmUaRpiYWPkIhqMAIhAJ5NXfOQabe6fHmpQyRcbJ2SOOcR6nk/re510eOoafot","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIFl6aWYg9ZAgEA2qEpLTQeskv8Lq+0a1O1ZywteUcsDsAiB9WuhGKKgIMcghNQG/+bWYxBiNGDxddQQh+dSB4eB4Ng==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":381733},"main":"./dist/index.cjs","type":"module","_from":"file:caoguo-maplibre-grid-0.0.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./load":{"types":"./dist/load/index.d.ts","import":"./dist/load/index.js","require":"./dist/load/index.cjs"},"./style":{"types":"./dist/style/index.d.ts","import":"./dist/style/index.js","require":"./dist/style/index.cjs"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.cjs"},"./outage":{"types":"./dist/outage/index.d.ts","import":"./dist/outage/index.js","require":"./dist/outage/index.cjs"},"./topology":{"types":"./dist/topology/index.d.ts","import":"./dist/topology/index.js","require":"./dist/topology/index.cjs"}},"scripts":{"test":"vitest run","build":"tsup","test:watch":"vitest"},"_npmUser":{"name":"uutan","email":"uutan@qq.com"},"_resolved":"/private/var/folders/br/f3pl5_3d7m5b9qz4ym4d_plw0000gn/T/99a586a4d273f8521ed85430894e1b54/caoguo-maplibre-grid-0.0.2.tgz","_integrity":"sha512-K3bsg/obGWxl8JWgqzbnt2qLugoa8ZAAzkLUGiQAej3XY2A1vgR2FupoGGrS8zQ3PeK0PzTyVx8vxbp3Lg+D9A==","repository":{"url":"git+https://github.com/caoguo/map.git","type":"git","directory":"packages/grid"},"_npmVersion":"10.9.7","description":"草果地图电网组件包 - 停电分析 / 负荷热力 / 拓扑钻取 / 供电路径追踪","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@caoguo/theme":"0.0.2","@caoguo/maplibre":"0.0.3"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","jsdom":"^25.0.1","vitest":"^2.1.8","typescript":"^5.6.3"},"peerDependencies":{"maplibre-gl":"^4.7.1"},"_npmOperationalInternal":{"tmp":"tmp/maplibre-grid_0.0.2_1787277292116_0.9506608278933846","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@caoguo/maplibre-grid","version":"0.0.5","keywords":["maplibre","caoguo","gis","power-grid","electrical-grid","outage-analysis","load-heatmap","load-forecast","grid-topology","power-path","graph-algorithm","china"],"author":{"name":"caoguo","email":"caoguo@hb.cn"},"license":"Apache-2.0","_id":"@caoguo/maplibre-grid@0.0.5","maintainers":[{"name":"uutan","email":"uutan@qq.com"}],"homepage":"https://github.com/caoguo/map/blob/main/packages/grid/README.md","bugs":{"url":"https://github.com/caoguo/map/issues"},"dist":{"shasum":"ca91c51484b2a3eeda538081e896a674b35a0099","tarball":"https://registry.npmjs.org/@caoguo/maplibre-grid/-/maplibre-grid-0.0.5.tgz","fileCount":54,"integrity":"sha512-QhfiCjw/AaYHwECWWGfHUNRK1pngkRTkpegTds4qQtaGsBH8AgF2cTY1gYyRq9Ynd/r7YrDrNF5Xzk1ZCw4xdA==","signatures":[{"sig":"MEUCIQDZ99/iecyEHKB57y847VqAEOUH9s6kZH8cgQTYy6I6+AIgPi5PHvL66c6KJnsapZ4qvMB3Z/5VDu3al85889qLTl8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIG08yXruIe/GZ8lj/9EAhNr/az4Tw9uutFciB+RRtVo8AiAJPSJVX31R7XEa46W5cFgJpcAukCxZFsL2GeadFtPJiA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":391848},"main":"./dist/index.cjs","type":"module","_from":"file:caoguo-maplibre-grid-0.0.5.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./load":{"types":"./dist/load/index.d.ts","import":"./dist/load/index.js","require":"./dist/load/index.cjs"},"./style":{"types":"./dist/style/index.d.ts","import":"./dist/style/index.js","require":"./dist/style/index.cjs"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.cjs"},"./outage":{"types":"./dist/outage/index.d.ts","import":"./dist/outage/index.js","require":"./dist/outage/index.cjs"},"./topology":{"types":"./dist/topology/index.d.ts","import":"./dist/topology/index.js","require":"./dist/topology/index.cjs"}},"scripts":{"test":"vitest run","build":"tsup","test:watch":"vitest"},"_npmUser":{"name":"uutan","email":"uutan@qq.com"},"_resolved":"/private/var/folders/br/f3pl5_3d7m5b9qz4ym4d_plw0000gn/T/49ac26b2241e50af1c9f60cb309ddc93/caoguo-maplibre-grid-0.0.5.tgz","_integrity":"sha512-QhfiCjw/AaYHwECWWGfHUNRK1pngkRTkpegTds4qQtaGsBH8AgF2cTY1gYyRq9Ynd/r7YrDrNF5Xzk1ZCw4xdA==","repository":{"url":"git+https://github.com/caoguo/map.git","type":"git","directory":"packages/grid"},"_npmVersion":"10.9.7","description":"草果地图电网组件包 - 停电分析 / 负荷热力 / 拓扑钻取 / 供电路径追踪","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@caoguo/theme":"0.0.4","@caoguo/maplibre":"0.0.5"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","jsdom":"^25.0.1","vitest":"^2.1.8","typescript":"^5.6.3"},"peerDependencies":{"maplibre-gl":"^4.7.1"},"_npmOperationalInternal":{"tmp":"tmp/maplibre-grid_0.0.5_1787367498885_0.20541824500418637","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@caoguo/maplibre-grid","version":"0.0.4","keywords":["maplibre","caoguo","gis","power-grid","electrical-grid","outage-analysis","load-heatmap","load-forecast","grid-topology","power-path","graph-algorithm","china"],"author":{"name":"caoguo","email":"caoguo@hb.cn"},"license":"Apache-2.0","_id":"@caoguo/maplibre-grid@0.0.4","maintainers":[{"name":"uutan","email":"uutan@qq.com"}],"homepage":"https://github.com/caoguo/map/blob/main/packages/grid/README.md","bugs":{"url":"https://github.com/caoguo/map/issues"},"dist":{"shasum":"841586306e2040a68bc734237a9ed017b5d6395d","tarball":"https://registry.npmjs.org/@caoguo/maplibre-grid/-/maplibre-grid-0.0.4.tgz","fileCount":54,"integrity":"sha512-4ji8YJtcFXkvyI/JUcOFYpUDjsIBYSIpWjW+RxrCkrkjmzWOFBIpKHnBqmPq6rTU5/hzdKmUkc7MNGhomV168A==","signatures":[{"sig":"MEUCIALG/fWAyxDqKPN/FofUE0DkSc7dPlFsaeyy9BwAcPXTAiEA6Ksc06NhwVJchTQ17NW1z7M9cRuGhVuWnObNh1j3/40=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQC+kIBCrq/mJFeOrURIad4fgL0RZQiFFpiyn12hKYQj8AIhAN8VamLoWeadcG3tzPTEHjXd8zwx9MPuJBr3H5xF0NzU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":391848},"main":"./dist/index.cjs","type":"module","_from":"file:caoguo-maplibre-grid-0.0.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./load":{"types":"./dist/load/index.d.ts","import":"./dist/load/index.js","require":"./dist/load/index.cjs"},"./style":{"types":"./dist/style/index.d.ts","import":"./dist/style/index.js","require":"./dist/style/index.cjs"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.cjs"},"./outage":{"types":"./dist/outage/index.d.ts","import":"./dist/outage/index.js","require":"./dist/outage/index.cjs"},"./topology":{"types":"./dist/topology/index.d.ts","import":"./dist/topology/index.js","require":"./dist/topology/index.cjs"}},"scripts":{"test":"vitest run","build":"tsup","test:watch":"vitest"},"_npmUser":{"name":"uutan","email":"uutan@qq.com"},"_resolved":"/private/var/folders/br/f3pl5_3d7m5b9qz4ym4d_plw0000gn/T/9f139f69efea6fadca6a595ae305d593/caoguo-maplibre-grid-0.0.4.tgz","_integrity":"sha512-4ji8YJtcFXkvyI/JUcOFYpUDjsIBYSIpWjW+RxrCkrkjmzWOFBIpKHnBqmPq6rTU5/hzdKmUkc7MNGhomV168A==","repository":{"url":"git+https://github.com/caoguo/map.git","type":"git","directory":"packages/grid"},"_npmVersion":"10.9.7","description":"草果地图电网组件包 - 停电分析 / 负荷热力 / 拓扑钻取 / 供电路径追踪","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@caoguo/theme":"0.0.4","@caoguo/maplibre":"0.0.5"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsup":"^8.3.5","jsdom":"^25.0.1","vitest":"^2.1.8","typescript":"^5.6.3"},"peerDependencies":{"maplibre-gl":"^4.7.1"},"_npmOperationalInternal":{"tmp":"tmp/maplibre-grid_0.0.4_1787367500833_0.5455785019982584","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@caoguo/maplibre-grid","version":"0.0.6","keywords":["maplibre","caoguo","gis","power-grid","electrical-grid","outage-analysis","load-heatmap","load-forecast","grid-topology","power-path","graph-algorithm","china"],"author":{"name":"caoguo","email":"caoguo@hb.cn"},"license":"Apache-2.0","_id":"@caoguo/maplibre-grid@0.0.6","maintainers":[{"name":"uutan","email":"uutan@qq.com"}],"homepage":"https://github.com/caoguo/map/blob/main/packages/grid/README.md","bugs":{"url":"https://github.com/caoguo/map/issues"},"dist":{"shasum":"36c0628c44b5a2ef4eb3a4f443af14d9efa51bd6","tarball":"https://registry.npmjs.org/@caoguo/maplibre-grid/-/maplibre-grid-0.0.6.tgz","fileCount":54,"integrity":"sha512-aSRryZS/eNgr6NNxKb8VtCOpkjizK7vuc/WmTfU/rO9Ovy6qF58n/BiWUkATihXdnbYwvndQThI1aar9MZEEag==","signatures":[{"sig":"MEUCIQC5W9EK34CYC7mhxL49rj3qYSDlCSFvNwu8L9lMKhLcmwIgPTULwZteoftRPF/AM+t1dOx+GK4ZV50Vrk5I8n7kWjI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIDKegnDng+Efx7otfcFUIJVoEqPN8IF3kOWrH3EAVwd2AiEAi1AYure477TaS+9hzegusSN7oEY2LC6OhHhxG9DgQWs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":391848},"main":"./dist/index.cjs","type":"module","_from":"file:caoguo-maplibre-grid-0.0.6.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./load":{"types":"./dist/load/index.d.ts","import":"./dist/load/index.js","require":"./dist/load/index.cjs"},"./style":{"types":"./dist/style/index.d.ts","import":"./dist/style/index.js","require":"./dist/style/index.cjs"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.cjs"},"./outage":{"types":"./dist/outage/index.d.ts","import":"./dist/outage/index.js","require":"./dist/outage/index.cjs"},"./topology":{"types":"./dist/topology/index.d.ts","import":"./dist/topology/index.js","require":"./dist/topology/index.cjs"}},"scripts":{"test":"vitest run","build":"tsup","test:watch":"vitest"},"_npmUser":{"name":"uutan","email":"uutan@qq.com"},"_resolved":"/private/var/folders/br/f3pl5_3d7m5b9qz4ym4d_plw0000gn/T/308b2844108bc5882726dfe370e05b07/caoguo-maplibre-grid-0.0.6.tgz","_integrity":"sha512-aSRryZS/eNgr6NNxKb8VtCOpkjizK7vuc/WmTfU/rO9Ovy6qF58n/BiWUkATihXdnbYwvndQThI1aar9MZEEag==","repository":{"url":"git+https://github.com/caoguo/map.git","type":"git","directory":"packages/grid"},"_npmVersion":"10.9.7","description":"草果地图电网组件包 - 停电分析 / 负荷热力 / 拓扑钻取 / 供电路径追踪","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@caoguo/theme":"0.0.4","@caoguo/maplibre":"0.0.5"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","jsdom":"^25.0.1","vitest":"^2.1.8","typescript":"^5.6.3"},"peerDependencies":{"maplibre-gl":"^4.7.1"},"_npmOperationalInternal":{"tmp":"tmp/maplibre-grid_0.0.6_1787367808199_0.18454781602825143","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@caoguo/maplibre-grid","version":"0.0.7","keywords":["maplibre","caoguo","gis","power-grid","electrical-grid","outage-analysis","load-heatmap","load-forecast","grid-topology","power-path","graph-algorithm","china"],"author":{"name":"caoguo","email":"caoguo@hb.cn"},"license":"Apache-2.0","_id":"@caoguo/maplibre-grid@0.0.7","maintainers":[{"name":"uutan","email":"uutan@qq.com"}],"homepage":"https://github.com/caoguo-map/maplibre-grid/blob/main/packages/grid/README.md","bugs":{"url":"https://github.com/caoguo-map/maplibre-grid/issues"},"dist":{"shasum":"ccc9d0af2b9fa9f89c26450342a04d4f688d5abf","tarball":"https://registry.npmjs.org/@caoguo/maplibre-grid/-/maplibre-grid-0.0.7.tgz","fileCount":54,"integrity":"sha512-kFV1Llv/3NxSZ0NFwDRmfk8Ya4DiR1MGylCKe6qxysrmKFVQFxrxIynJjNf+3UDHBFyK4c1s4D2uwAcOlk5CAQ==","signatures":[{"sig":"MEQCIHVSQEUEXXlOvjNPNY/84UCmqeOgvC4TruDyDIdlTwoUAiBIgwBjHTABt2Fw6QYNJr9Gax89h3IQVV1BKG2/1doRzQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIAyduW8NgQM+gtD4u1hSZV9qGXVcdwWacFBxSE28w31nAiBDYdlQ9SEx+sE25X1aY0rLIvBwfF28zb2ViK2V9hQG6Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":533392},"main":"./dist/index.cjs","type":"module","_from":"file:caoguo-maplibre-grid-0.0.7.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./load":{"types":"./dist/load/index.d.ts","import":"./dist/load/index.js","require":"./dist/load/index.cjs"},"./style":{"types":"./dist/style/index.d.ts","import":"./dist/style/index.js","require":"./dist/style/index.cjs"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.cjs"},"./outage":{"types":"./dist/outage/index.d.ts","import":"./dist/outage/index.js","require":"./dist/outage/index.cjs"},"./topology":{"types":"./dist/topology/index.d.ts","import":"./dist/topology/index.js","require":"./dist/topology/index.cjs"}},"scripts":{"test":"vitest run","build":"tsup","test:watch":"vitest"},"_npmUser":{"name":"uutan","email":"uutan@qq.com"},"_resolved":"/private/var/folders/br/f3pl5_3d7m5b9qz4ym4d_plw0000gn/T/57e05179d689813052c7f91c6e9b3663/caoguo-maplibre-grid-0.0.7.tgz","_integrity":"sha512-kFV1Llv/3NxSZ0NFwDRmfk8Ya4DiR1MGylCKe6qxysrmKFVQFxrxIynJjNf+3UDHBFyK4c1s4D2uwAcOlk5CAQ==","repository":{"url":"git+https://github.com/caoguo-map/maplibre-grid.git","type":"git","directory":"packages/grid"},"_npmVersion":"10.9.7","description":"草果地图电网组件包 - 停电分析 / 负荷热力 / 拓扑钻取 / 供电路径追踪","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@caoguo/theme":"0.0.11","@caoguo/maplibre":"0.0.7"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","jsdom":"^25.0.1","vitest":"^2.1.8","typescript":"^5.6.3"},"peerDependencies":{"maplibre-gl":"^4.7.1"},"_npmOperationalInternal":{"tmp":"tmp/maplibre-grid_0.0.7_1787385963745_0.7276119920176078","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"_id":"@caoguo/maplibre-grid@0.0.8","bugs":{"url":"https://github.com/caoguo-map/maplibre-grid/issues"},"dist":{"shasum":"96f5b13c47410cd860bbd86a2fbc039d425633e8","tarball":"https://registry.npmjs.org/@caoguo/maplibre-grid/-/maplibre-grid-0.0.8.tgz","fileCount":54,"integrity":"sha512-VhYha51hNDadE0RTXGe+llbamXHTG+15d+7WlP8huN37uQT/2yXxwwRPXXtYYt0XWEvDXK3o9c0KldREZY/hcg==","signatures":[{"sig":"MEYCIQDe7BjsxV8R/WWrTgJbPF59WzNFximx9fLkanG7lN0vtgIhAO4E0/8UPYJ3+H7XFPzQPFEtxlhj5K3RwE3ysMvWf1Q8","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDJrXrDtBc6+VAxwUmhEQjUOL7M6uRgFH1vraJQJTXbdQIhAOJQ95o4jUXhKK5mwnnoKwCxhwgRzqNpF/EYiC8ezcMU"}],"unpackedSize":578119},"main":"./dist/index.cjs","name":"@caoguo/maplibre-grid","type":"module","types":"./dist/index.d.ts","author":{"name":"caoguo","email":"caoguo@hb.cn"},"module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./load":{"types":"./dist/load/index.d.ts","import":"./dist/load/index.js","require":"./dist/load/index.cjs"},"./style":{"types":"./dist/style/index.d.ts","import":"./dist/style/index.js","require":"./dist/style/index.cjs"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.cjs"},"./outage":{"types":"./dist/outage/index.d.ts","import":"./dist/outage/index.js","require":"./dist/outage/index.cjs"},"./topology":{"types":"./dist/topology/index.d.ts","import":"./dist/topology/index.js","require":"./dist/topology/index.cjs"}},"gitHead":"5ca608c96eafe866fc7390b4a66e72ed78211b34","license":"Apache-2.0","scripts":{"test":"vitest run","build":"tsup","test:watch":"vitest"},"version":"0.0.8","_npmUser":{"name":"uutan","email":"uutan@qq.com"},"homepage":"https://github.com/caoguo-map/maplibre-grid/blob/main/packages/grid/README.md","keywords":["maplibre","caoguo","gis","power-grid","electrical-grid","outage-analysis","load-heatmap","load-forecast","grid-topology","power-path","graph-algorithm","china"],"repository":{"url":"git+https://github.com/caoguo-map/maplibre-grid.git","type":"git","directory":"packages/grid"},"_npmVersion":"10.9.7","description":"草果地图电网组件包 - 停电分析 / 负荷热力 / 拓扑钻取 / 供电路径追踪","directories":{},"maintainers":[{"name":"uutan","email":"uutan@qq.com"}],"_nodeVersion":"22.22.2","dependencies":{"@caoguo/theme":"workspace:*","@caoguo/maplibre":"workspace:*"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","jsdom":"^25.0.1","vitest":"^2.1.8","typescript":"^5.6.3"},"peerDependencies":{"maplibre-gl":"^4.7.1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/maplibre-grid_0.0.8_1787389391253_0.7939898904589411"}}},"time":{"created":"2026-08-21T01:40:43.371Z","modified":"2026-08-22T09:03:11.528Z","0.0.1":"2026-08-21T01:40:43.674Z","0.0.2":"2026-08-21T01:54:52.220Z","0.0.5":"2026-08-22T02:58:18.970Z","0.0.4":"2026-08-22T02:58:20.937Z","0.0.6":"2026-08-22T03:03:28.286Z","0.0.7":"2026-08-22T08:06:03.876Z","0.0.8":"2026-08-22T09:03:11.348Z"},"bugs":{"url":"https://github.com/caoguo-map/maplibre-grid/issues"},"author":{"name":"caoguo","email":"caoguo@hb.cn"},"license":"Apache-2.0","homepage":"https://github.com/caoguo-map/maplibre-grid/blob/main/packages/grid/README.md","keywords":["maplibre","caoguo","gis","power-grid","electrical-grid","outage-analysis","load-heatmap","load-forecast","grid-topology","power-path","graph-algorithm","china"],"repository":{"url":"git+https://github.com/caoguo-map/maplibre-grid.git","type":"git","directory":"packages/grid"},"description":"草果地图电网组件包 - 停电分析 / 负荷热力 / 拓扑钻取 / 供电路径追踪","maintainers":[{"name":"uutan","email":"uutan@qq.com"}],"readme":"# @caoguo/maplibre-grid\n\n> 草果地图电网组件包 — 停电分析 / 负荷热力 / 拓扑钻取 / 供电路径追踪\n\n[![npm version](https://img.shields.io/npm/v/@caoguo/maplibre-grid.svg)](https://www.npmjs.com/package/@caoguo/maplibre-grid)\n[![license](https://img.shields.io/npm/l/@caoguo/maplibre-grid.svg)](LICENSE)\n\n## 安装\n\n```bash\nnpm install @caoguo/maplibre-grid\n```\n\nPeer：`maplibre-gl@^4.7.1`。\n\n## 功能模块\n\n| 模块 | 导出 | 说明 |\n|------|------|------|\n| 拓扑 | `GridTopology` | 电网拓扑浏览器（5 级钻取 + 供电路径追踪） |\n| 停电分析 | `OutageAnalyzer` (outageClass) | 停电影响分析（下游遍历 + 用户统计 + 备用路径推荐） |\n| 负荷 | `LoadHeatmap` (loadClass) | 负荷热力图（负荷率着色 + 过载预警 + 负荷预测） |\n| 图算法 | `gridGraph` | 邻接表、BFS 方向遍历 |\n| 样式 | `gridTheme` / `GRID_VOLTAGE_COLORS` / `gridLegend` | 电压等级/状态/负荷/年份配色 |\n| 数据 | `GridDevice` / `GridLine` / `GridUser` / `GridTopologyDataset` | 数据模型 |\n\n## 快速开始\n\n### 停电影响分析\n\n```ts\nimport { OutageAnalyzer } from '@caoguo/maplibre-grid/outage';\n\nconst analyzer = new OutageAnalyzer({ dataset });\nconst result = analyzer.analyze({\n  deviceId: 'TX-013',    // 变压器 ID\n  reason: 'maintenance',\n});\n\nconsole.log('影响用户数', result.affectedUserCount);\nconsole.log('恢复步骤', result.recoverySteps);\nconsole.log('备用路径', result.backupPaths);\n```\n\n### 负荷热力\n\n```ts\nimport { LoadHeatmap } from '@caoguo/maplibre-grid/load';\n\nconst heatmap = new LoadHeatmap({ dataset });\nconst layer = heatmap.render({\n  metric: 'loadRate',     // 负荷率\n  threshold: 0.8,         // 过载预警阈值\n  forecast: true,         // 含未来 24h 预测\n});\n```\n\n### 拓扑钻取\n\n```ts\nimport { GridTopology } from '@caoguo/maplibre-grid/topology';\n\nconst topo = new GridTopology(map.instance, { dataset });\ntopo.on('drill', (e) => console.log('钻取至', e.deviceId));\ntopo.mount();\n```\n\n## 子入口\n\n```\n@caoguo/maplibre-grid/graph\n@caoguo/maplibre-grid/topology\n@caoguo/maplibre-grid/outage\n@caoguo/maplibre-grid/load\n@caoguo/maplibre-grid/style\n@caoguo/maplibre-grid/types\n```\n\n## 设计原则\n\n1. **算法纯函数**：停电分析、负荷预测、图遍历均为纯函数，可在 Node 测试。\n2. **可插拔**：每个组件独立可用。\n3. **离线友好**：所有计算在前端完成。\n4. **可解释**：停电结果附受影响用户分类与恢复步骤。\n\n## 浏览器 / 环境要求\n\n- 现代浏览器（Chrome 90+）\n- 核心算法在 Node.js 可测（已含 10 个 vitest 用例）\n\n## 许可\n\nApache-2.0","readmeFilename":"README.md"}