{"_id":"@caoguo/maplibre-compute","_rev":"8-42f6b7dd13ef88f9b6ec4c39bece89b5","name":"@caoguo/maplibre-compute","dist-tags":{"latest":"0.0.9"},"versions":{"0.0.1":{"name":"@caoguo/maplibre-compute","version":"0.0.1","_id":"@caoguo/maplibre-compute@0.0.1","maintainers":[{"name":"uutan","email":"uutan@qq.com"}],"dist":{"shasum":"abea8b2e33f4907d7f02182388ceb27930579f79","tarball":"https://registry.npmjs.org/@caoguo/maplibre-compute/-/maplibre-compute-0.0.1.tgz","fileCount":57,"integrity":"sha512-iDBAN4dk0baWo/jV/NqwGW8D3cUg1zWlqM5NAhkmRv0jTwixF3KerD5KPpqEt/BbvXSBOHc+bAmus71jKTqNGA==","signatures":[{"sig":"MEQCIFJaxmNKXkqLjhM/otPd6ipFHfwy1vJ7RnDU482mEy5nAiBsXUZhAGmH11jmOLWeK6JzCeQBxQU3QqS/1ndrPoK6xg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":234656},"main":"./dist/index.cjs","type":"module","_from":"file:caoguo-maplibre-compute-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"},"./nlpg":{"types":"./dist/nlpg/index.d.ts","import":"./dist/nlpg/index.js","require":"./dist/nlpg/index.cjs"},"./nodes":{"types":"./dist/nodes/index.d.ts","import":"./dist/nodes/index.js","require":"./dist/nodes/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"},"./latency":{"types":"./dist/latency/index.d.ts","import":"./dist/latency/index.js","require":"./dist/latency/index.cjs"},"./predict":{"types":"./dist/predict/index.d.ts","import":"./dist/predict/index.js","require":"./dist/predict/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/5507312107adc1d7f7877da0d19d65ab/caoguo-maplibre-compute-0.0.1.tgz","_integrity":"sha512-iDBAN4dk0baWo/jV/NqwGW8D3cUg1zWlqM5NAhkmRv0jTwixF3KerD5KPpqEt/BbvXSBOHc+bAmus71jKTqNGA==","_npmVersion":"10.9.7","description":"草果地图算力网组件包 - Compute nodes / Fiber route / Latency map / Supply-demand prediction","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-compute_0.0.1_1787276472053_0.9284207664557615","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@caoguo/maplibre-compute","version":"0.0.2","keywords":["maplibre","caoguo","gis","compute-network","data-center","edge-node","fiber-route","latency-map","supply-demand","routing","graph-algorithm","nlpg","china"],"author":{"name":"caoguo","email":"caoguo@hb.cn"},"license":"Apache-2.0","_id":"@caoguo/maplibre-compute@0.0.2","maintainers":[{"name":"uutan","email":"uutan@qq.com"}],"homepage":"https://github.com/caoguo/map/blob/main/packages/compute/README.md","bugs":{"url":"https://github.com/caoguo/map/issues"},"dist":{"shasum":"fab6c94aaa4dac1ec2b5f68e264947bba1db34bd","tarball":"https://registry.npmjs.org/@caoguo/maplibre-compute/-/maplibre-compute-0.0.2.tgz","fileCount":58,"integrity":"sha512-StAHouxfFqKo9yXxRHDo3yQBuvebOZO0SDSyiHd/ElwDMVIhWEtzyddW6UGMrm8VEbNjtsGPDF4SVDCEpMy1mQ==","signatures":[{"sig":"MEUCIQDJRL/ZR7imyHVL3+1E1CbyK8lmANAMJIjrEEl0nljnSwIgYrPbwjPBwEFyF3ohBRKXddwdDkPtKjpHq5Px2RqSpFw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCPNDcuE6/zZErRKiJmp7pIojlgoJlESjOnWUfAgQVukAIgRjWrPv6pBJw88DtVb/CoBPjOh3jYkknSEzZqoSUpJ2I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":237674},"main":"./dist/index.cjs","type":"module","_from":"file:caoguo-maplibre-compute-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"},"./nlpg":{"types":"./dist/nlpg/index.d.ts","import":"./dist/nlpg/index.js","require":"./dist/nlpg/index.cjs"},"./nodes":{"types":"./dist/nodes/index.d.ts","import":"./dist/nodes/index.js","require":"./dist/nodes/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"},"./latency":{"types":"./dist/latency/index.d.ts","import":"./dist/latency/index.js","require":"./dist/latency/index.cjs"},"./predict":{"types":"./dist/predict/index.d.ts","import":"./dist/predict/index.js","require":"./dist/predict/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/e54c41f365968603822e87508c76a2e2/caoguo-maplibre-compute-0.0.2.tgz","_integrity":"sha512-StAHouxfFqKo9yXxRHDo3yQBuvebOZO0SDSyiHd/ElwDMVIhWEtzyddW6UGMrm8VEbNjtsGPDF4SVDCEpMy1mQ==","repository":{"url":"git+https://github.com/caoguo/map.git","type":"git","directory":"packages/compute"},"_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-compute_0.0.2_1787277164818_0.21453812698916952","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@caoguo/maplibre-compute","version":"0.0.4","keywords":["maplibre","caoguo","gis","compute-network","data-center","edge-node","fiber-route","latency-map","supply-demand","routing","graph-algorithm","nlpg","china"],"author":{"name":"caoguo","email":"caoguo@hb.cn"},"license":"Apache-2.0","_id":"@caoguo/maplibre-compute@0.0.4","maintainers":[{"name":"uutan","email":"uutan@qq.com"}],"homepage":"https://github.com/caoguo/map/blob/main/packages/compute/README.md","bugs":{"url":"https://github.com/caoguo/map/issues"},"dist":{"shasum":"0688d8f41dcfb5da26e8297ecf29d4b60f84dd3a","tarball":"https://registry.npmjs.org/@caoguo/maplibre-compute/-/maplibre-compute-0.0.4.tgz","fileCount":58,"integrity":"sha512-RCWiXyFbiMWZ0zLhbRXq9g6lQ4LzEWGirf141P3TEoXI7cDYUwoX8MGpL5jCK22pzsTLNLNSBdMRI5uLs7HXXw==","signatures":[{"sig":"MEQCICfVPUt+RCT4Y6UwmMfdVwIjsx3jzt7ANXQfPkvUIDt4AiAt6e5ag7ImcHU1+LD/rT2RwoNSBBP8Q5IDAPtl4WZXbA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIAeMIiHowhgEHmfDnFbZ5RlzxaBEo2Kn+Xw7MUhQNWlCAiBUTHF6bOGnbrcIPq9BKgkfrKbarpNgxGU6yw3eX7bZrQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":283682},"main":"./dist/index.cjs","type":"module","_from":"file:caoguo-maplibre-compute-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"},"./nlpg":{"types":"./dist/nlpg/index.d.ts","import":"./dist/nlpg/index.js","require":"./dist/nlpg/index.cjs"},"./nodes":{"types":"./dist/nodes/index.d.ts","import":"./dist/nodes/index.js","require":"./dist/nodes/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"},"./latency":{"types":"./dist/latency/index.d.ts","import":"./dist/latency/index.js","require":"./dist/latency/index.cjs"},"./predict":{"types":"./dist/predict/index.d.ts","import":"./dist/predict/index.js","require":"./dist/predict/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/83c15daf44badcd87bf8347e94312993/caoguo-maplibre-compute-0.0.4.tgz","_integrity":"sha512-RCWiXyFbiMWZ0zLhbRXq9g6lQ4LzEWGirf141P3TEoXI7cDYUwoX8MGpL5jCK22pzsTLNLNSBdMRI5uLs7HXXw==","repository":{"url":"git+https://github.com/caoguo/map.git","type":"git","directory":"packages/compute"},"_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-compute_0.0.4_1787367372900_0.4152012311879121","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@caoguo/maplibre-compute","version":"0.0.5","keywords":["maplibre","caoguo","gis","compute-network","data-center","edge-node","fiber-route","latency-map","supply-demand","routing","graph-algorithm","nlpg","china"],"author":{"name":"caoguo","email":"caoguo@hb.cn"},"license":"Apache-2.0","_id":"@caoguo/maplibre-compute@0.0.5","maintainers":[{"name":"uutan","email":"uutan@qq.com"}],"homepage":"https://github.com/caoguo/map/blob/main/packages/compute/README.md","bugs":{"url":"https://github.com/caoguo/map/issues"},"dist":{"shasum":"189767ffc1f472257924d1d107da29b7a6673994","tarball":"https://registry.npmjs.org/@caoguo/maplibre-compute/-/maplibre-compute-0.0.5.tgz","fileCount":58,"integrity":"sha512-1oGU0PTC6GzggKvvxhljB85YZI9eJb/9caDwGFEdoAxW1fgQWY5IXXM6qdTo7AiXJmEtUmHNq9zpSTdcQ9VDJQ==","signatures":[{"sig":"MEUCIEnLyT9Y6vaT4wxrYKOnrOJZifNLe81TgGkCkqNbId2WAiEA+l1qKO2KDbXOWyMcIShxfUGQZF039J7jWNFcsURoLWk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIH+gYBC4bcv4vw2yW5k0e5+p25VPRh5dLycSgb7fbZ9DAiAIgz13MnSv1STqu8lFRf2wXiq1gH9lNy7pz6U90gULXg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":283682},"main":"./dist/index.cjs","type":"module","_from":"file:caoguo-maplibre-compute-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"},"./nlpg":{"types":"./dist/nlpg/index.d.ts","import":"./dist/nlpg/index.js","require":"./dist/nlpg/index.cjs"},"./nodes":{"types":"./dist/nodes/index.d.ts","import":"./dist/nodes/index.js","require":"./dist/nodes/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"},"./latency":{"types":"./dist/latency/index.d.ts","import":"./dist/latency/index.js","require":"./dist/latency/index.cjs"},"./predict":{"types":"./dist/predict/index.d.ts","import":"./dist/predict/index.js","require":"./dist/predict/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/fbb83768282b10c34a6414fec62da478/caoguo-maplibre-compute-0.0.5.tgz","_integrity":"sha512-1oGU0PTC6GzggKvvxhljB85YZI9eJb/9caDwGFEdoAxW1fgQWY5IXXM6qdTo7AiXJmEtUmHNq9zpSTdcQ9VDJQ==","repository":{"url":"git+https://github.com/caoguo/map.git","type":"git","directory":"packages/compute"},"_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-compute_0.0.5_1787367609265_0.9523448439480018","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@caoguo/maplibre-compute","version":"0.0.6","keywords":["maplibre","caoguo","gis","compute-network","data-center","edge-node","fiber-route","latency-map","supply-demand","routing","graph-algorithm","nlpg","china"],"author":{"name":"caoguo","email":"caoguo@hb.cn"},"license":"Apache-2.0","_id":"@caoguo/maplibre-compute@0.0.6","maintainers":[{"name":"uutan","email":"uutan@qq.com"}],"homepage":"https://github.com/caoguo/map/blob/main/packages/compute/README.md","bugs":{"url":"https://github.com/caoguo/map/issues"},"dist":{"shasum":"07516d462fe9fbfc9d43212e39f87dfe2cdf2f24","tarball":"https://registry.npmjs.org/@caoguo/maplibre-compute/-/maplibre-compute-0.0.6.tgz","fileCount":58,"integrity":"sha512-TAw6BUue/a1rWgGc4ZxRVQsjfxx2oBJLTzk+33rQQ37epI9l4mykXMVPsdoSpFRme17HQkTCDSKDtmt/9oaCTg==","signatures":[{"sig":"MEUCIQDD+8SKPC+T7tp0UefUh3EL2B+a5wnmOgpXxBtA+WD72QIgOoiyiIXk/AtgHVDlz6LVNZITkBSN6/kKuA5NoIxI/Gc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDZQKL5Ed3S030VicfYrWfuQevtN7J06e1TaZ4SsyzPBwIgPHIdrI1M8TQY3tR/JJPkexkrrA2U/ABCrXLoVnLlHOs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":283682},"main":"./dist/index.cjs","type":"module","_from":"file:caoguo-maplibre-compute-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"},"./nlpg":{"types":"./dist/nlpg/index.d.ts","import":"./dist/nlpg/index.js","require":"./dist/nlpg/index.cjs"},"./nodes":{"types":"./dist/nodes/index.d.ts","import":"./dist/nodes/index.js","require":"./dist/nodes/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"},"./latency":{"types":"./dist/latency/index.d.ts","import":"./dist/latency/index.js","require":"./dist/latency/index.cjs"},"./predict":{"types":"./dist/predict/index.d.ts","import":"./dist/predict/index.js","require":"./dist/predict/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/bdf5125cf69823440d1417d5c44fb3ab/caoguo-maplibre-compute-0.0.6.tgz","_integrity":"sha512-TAw6BUue/a1rWgGc4ZxRVQsjfxx2oBJLTzk+33rQQ37epI9l4mykXMVPsdoSpFRme17HQkTCDSKDtmt/9oaCTg==","repository":{"url":"git+https://github.com/caoguo/map.git","type":"git","directory":"packages/compute"},"_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-compute_0.0.6_1787367861601_0.9142459494207023","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@caoguo/maplibre-compute","version":"0.0.7","keywords":["maplibre","caoguo","gis","compute-network","data-center","edge-node","fiber-route","latency-map","supply-demand","routing","graph-algorithm","nlpg","china"],"author":{"name":"caoguo","email":"caoguo@hb.cn"},"license":"Apache-2.0","_id":"@caoguo/maplibre-compute@0.0.7","maintainers":[{"name":"uutan","email":"uutan@qq.com"}],"homepage":"https://github.com/caoguo-map/maplibre-compute/blob/main/packages/compute/README.md","bugs":{"url":"https://github.com/caoguo-map/maplibre-compute/issues"},"dist":{"shasum":"13a02110796ba8037038bddd6b7312c3b280ace3","tarball":"https://registry.npmjs.org/@caoguo/maplibre-compute/-/maplibre-compute-0.0.7.tgz","fileCount":58,"integrity":"sha512-w8IIb61FnKB9J2zERRQlGCGwpzUTy9zF/5TWidy1+mzo86tvbobtUYeHAoPj+n82YaWVN3MmU/8I5jB9hhz/Pg==","signatures":[{"sig":"MEUCICBJ9fpTv4ZnhQxTJWOJte3iXdtKggVqF3RzydZpRFEPAiEAhdIRspo9ILLyf8AJwU5lXmZoMquhI/WKmScHUupQqRE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQC+iiafWGwYvVN75WzgFk74I/T/BVDvFdkXGC3g58/+hAIhAI8yu6lgUFcgmgoXjP58F1Zx+qf+yUAPsHEZQT59yumt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":376227},"main":"./dist/index.cjs","type":"module","_from":"file:caoguo-maplibre-compute-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"},"./nlpg":{"types":"./dist/nlpg/index.d.ts","import":"./dist/nlpg/index.js","require":"./dist/nlpg/index.cjs"},"./nodes":{"types":"./dist/nodes/index.d.ts","import":"./dist/nodes/index.js","require":"./dist/nodes/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"},"./latency":{"types":"./dist/latency/index.d.ts","import":"./dist/latency/index.js","require":"./dist/latency/index.cjs"},"./predict":{"types":"./dist/predict/index.d.ts","import":"./dist/predict/index.js","require":"./dist/predict/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/926d3bf83f5031697e7e90daada5bcad/caoguo-maplibre-compute-0.0.7.tgz","_integrity":"sha512-w8IIb61FnKB9J2zERRQlGCGwpzUTy9zF/5TWidy1+mzo86tvbobtUYeHAoPj+n82YaWVN3MmU/8I5jB9hhz/Pg==","repository":{"url":"git+https://github.com/caoguo-map/maplibre-compute.git","type":"git","directory":"packages/compute"},"_npmVersion":"10.9.7","description":"草果地图算力网组件包 - 数据中心 / 边缘节点 / 光缆路由 / 延迟热力 / 供需预测","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@caoguo/theme":"0.0.11","@caoguo/maplibre":"0.0.6"},"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-compute_0.0.7_1787376969698_0.3119527360963006","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@caoguo/maplibre-compute","version":"0.0.8","keywords":["maplibre","caoguo","gis","compute-network","data-center","edge-node","fiber-route","latency-map","supply-demand","routing","graph-algorithm","nlpg","china"],"author":{"name":"caoguo","email":"caoguo@hb.cn"},"license":"Apache-2.0","_id":"@caoguo/maplibre-compute@0.0.8","maintainers":[{"name":"uutan","email":"uutan@qq.com"}],"homepage":"https://github.com/caoguo-map/maplibre-compute/blob/main/packages/compute/README.md","bugs":{"url":"https://github.com/caoguo-map/maplibre-compute/issues"},"dist":{"shasum":"c726f3febb41b375b560e64213cce7ca2016cd79","tarball":"https://registry.npmjs.org/@caoguo/maplibre-compute/-/maplibre-compute-0.0.8.tgz","fileCount":58,"integrity":"sha512-AvgX8a3PCiTcRGuK/jHmBzyHgXcWD3BZz2+jPiAk2ALw+FwG6vrrVFI7Vui2PpO4m7o0nojxdo8Ww7X7qdeZ0A==","signatures":[{"sig":"MEUCIFtD1gCyXXUyJuGsQt4ff3yzvAeO0vHZ/bYaqDac9HB9AiEA2jQy+X8Q8iApks+nTWRO3RnM5wdH6+Z3wXx5P/WbheU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDKHEQkIpfjmua1J44yDYQ3bwptVvxBRCkI4YkjVacldAIhAJu56waumk3dI4aBdneJGQeIYxeZbtwQYrEJ8Fn2/FEN","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":387596},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./nlpg":{"types":"./dist/nlpg/index.d.ts","import":"./dist/nlpg/index.js","require":"./dist/nlpg/index.cjs"},"./nodes":{"types":"./dist/nodes/index.d.ts","import":"./dist/nodes/index.js","require":"./dist/nodes/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"},"./latency":{"types":"./dist/latency/index.d.ts","import":"./dist/latency/index.js","require":"./dist/latency/index.cjs"},"./predict":{"types":"./dist/predict/index.d.ts","import":"./dist/predict/index.js","require":"./dist/predict/index.cjs"}},"gitHead":"5ca608c96eafe866fc7390b4a66e72ed78211b34","scripts":{"test":"vitest run","build":"tsup","test:watch":"vitest"},"_npmUser":{"name":"uutan","email":"uutan@qq.com"},"repository":{"url":"git+https://github.com/caoguo-map/maplibre-compute.git","type":"git","directory":"packages/compute"},"_npmVersion":"10.9.7","description":"草果地图算力网组件包 - 数据中心 / 边缘节点 / 光缆路由 / 延迟热力 / 供需预测","directories":{},"_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":{"tmp":"tmp/maplibre-compute_0.0.8_1787389334665_0.6184595670418422","host":"s3://npm-registry-packages-npm-production"}},"0.0.9":{"_id":"@caoguo/maplibre-compute@0.0.9","bugs":{"url":"https://github.com/caoguo-map/maplibre-compute/issues"},"dist":{"shasum":"582e1dc9cf3197f088cc307ed8d0c942f32d18f6","tarball":"https://registry.npmjs.org/@caoguo/maplibre-compute/-/maplibre-compute-0.0.9.tgz","fileCount":60,"integrity":"sha512-uiRCzcTdIzI933+d4wQE1KVU7Pp3362D0Pgb7LvG14S8b8YFXamzBLxoQqzvZgvi7hN0/JIk/VlEU+FoHCVGaQ==","signatures":[{"sig":"MEQCIC19bC91LsSzUgxL+0ikJ9kFp3HBg4wRqSekSfMru6aHAiA37l6ziIy0tbr14jOeMe3aYcttyyNt2j+Gojwzgvjp9g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICNvct4gpzcgXY1/D52aliL0R4m3GG2qT7QZF8nHkojFAiEAjMAmZJqphxEka9aj47MAndedlXbDO2ERjmE1rsYu/XY="}],"unpackedSize":451429},"main":"./dist/index.cjs","name":"@caoguo/maplibre-compute","type":"module","_from":"file:caoguo-maplibre-compute-0.0.9.tgz","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"},"./nlpg":{"types":"./dist/nlpg/index.d.ts","import":"./dist/nlpg/index.js","require":"./dist/nlpg/index.cjs"},"./nodes":{"types":"./dist/nodes/index.d.ts","import":"./dist/nodes/index.js","require":"./dist/nodes/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"},"./latency":{"types":"./dist/latency/index.d.ts","import":"./dist/latency/index.js","require":"./dist/latency/index.cjs"},"./predict":{"types":"./dist/predict/index.d.ts","import":"./dist/predict/index.js","require":"./dist/predict/index.cjs"}},"license":"Apache-2.0","scripts":{"test":"vitest run","build":"tsup","test:watch":"vitest"},"version":"0.0.9","_npmUser":{"name":"uutan","email":"uutan@qq.com"},"homepage":"https://github.com/caoguo-map/maplibre-compute/blob/main/packages/compute/README.md","keywords":["maplibre","caoguo","gis","compute-network","data-center","edge-node","fiber-route","latency-map","supply-demand","routing","graph-algorithm","nlpg","china"],"_resolved":"/private/var/folders/br/f3pl5_3d7m5b9qz4ym4d_plw0000gn/T/380aed321362ab236d990f93901c1b06/caoguo-maplibre-compute-0.0.9.tgz","_integrity":"sha512-uiRCzcTdIzI933+d4wQE1KVU7Pp3362D0Pgb7LvG14S8b8YFXamzBLxoQqzvZgvi7hN0/JIk/VlEU+FoHCVGaQ==","repository":{"url":"git+https://github.com/caoguo-map/maplibre-compute.git","type":"git","directory":"packages/compute"},"_npmVersion":"10.9.7","description":"草果地图算力网组件包 - 数据中心 / 边缘节点 / 光缆路由 / 延迟热力 / 供需预测","directories":{},"maintainers":[{"name":"uutan","email":"uutan@qq.com"}],"_nodeVersion":"22.22.2","dependencies":{"@caoguo/theme":"0.0.12","@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":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/maplibre-compute_0.0.9_1787394579823_0.9830506276018451"}}},"time":{"created":"2026-08-21T01:41:11.854Z","modified":"2026-08-22T10:29:40.087Z","0.0.1":"2026-08-21T01:41:12.202Z","0.0.2":"2026-08-21T01:52:44.908Z","0.0.4":"2026-08-22T02:56:12.987Z","0.0.5":"2026-08-22T03:00:09.376Z","0.0.6":"2026-08-22T03:04:21.720Z","0.0.7":"2026-08-22T05:36:09.799Z","0.0.8":"2026-08-22T09:02:14.746Z","0.0.9":"2026-08-22T10:29:39.928Z"},"bugs":{"url":"https://github.com/caoguo-map/maplibre-compute/issues"},"author":{"name":"caoguo","email":"caoguo@hb.cn"},"license":"Apache-2.0","homepage":"https://github.com/caoguo-map/maplibre-compute/blob/main/packages/compute/README.md","keywords":["maplibre","caoguo","gis","compute-network","data-center","edge-node","fiber-route","latency-map","supply-demand","routing","graph-algorithm","nlpg","china"],"repository":{"url":"git+https://github.com/caoguo-map/maplibre-compute.git","type":"git","directory":"packages/compute"},"description":"草果地图算力网组件包 - 数据中心 / 边缘节点 / 光缆路由 / 延迟热力 / 供需预测","maintainers":[{"name":"uutan","email":"uutan@qq.com"}],"readme":"# @caoguo/maplibre-compute\n\n> 草果地图算力网组件包 — 数据中心 / 边缘节点 / 光缆路由 / 延迟热力 / 供需预测\n\n[![npm version](https://img.shields.io/npm/v/@caoguo/maplibre-compute.svg)](https://www.npmjs.com/package/@caoguo/maplibre-compute)\n[![license](https://img.shields.io/npm/l/@caoguo/maplibre-compute.svg)](LICENSE)\n\n## 安装\n\n```bash\nnpm install @caoguo/maplibre-compute\n```\n\nPeer：`maplibre-gl@^4.7.1`。\n\n## 功能模块\n\n| 模块 | 导出 | 说明 |\n|------|------|------|\n| 节点 | `ComputeNodes` | 数据中心/边缘节点地图 + 光缆路由可视化 |\n| 延迟 | `LatencyMap` | 延迟热力 + 最优接入推荐 + 告警 |\n| 预测 | `supplyDemand` | 算力供需预测（缺口分析） |\n| NLPG | `computeNlp` | 算力查询意图识别 |\n| 图算法 | 图邻接表 + 最低延迟路径 + 路由分析 + 最优接入 | |\n| 样式 | `computeTheme` / `COMPUTE_GPU_COLORS` / `computeLegend` | GPU 利用率/光缆利用率配色 |\n| 数据 | `ComputeNode` / `FiberLink` / `LatencyRecord` | 数据模型 |\n\n## 快速开始\n\n### 延迟热力 + 最优接入\n\n```ts\nimport { LatencyMap } from '@caoguo/maplibre-compute/latency';\n\nconst lm = new LatencyMap({ dataset, userLocation: { lng: 114.3, lat: 30.6 } });\nconst result = lm.findOptimalEdge({ maxLatencyMs: 20 });\nconsole.log('推荐边缘节点', result.recommended);\nconsole.log('预估延迟', result.estimatedLatencyMs);\n```\n\n### 供需预测\n\n```ts\nimport { supplyDemand } from '@caoguo/maplibre-compute/predict';\n\nconst forecast = supplyDemand.forecast({\n  historyDays: 30,\n  horizonDays: 7,\n});\nconsole.log('未来 7 天 GPU 缺口', forecast.gapByDay);\n```\n\n### 节点地图\n\n```ts\nimport { ComputeNodes } from '@caoguo/maplibre-compute/nodes';\n\nconst nodes = new ComputeNodes({ dataset });\nnodes.render(map.instance);\n```\n\n## 子入口\n\n```\n@caoguo/maplibre-compute/graph\n@caoguo/maplibre-compute/nodes\n@caoguo/maplibre-compute/latency\n@caoguo/maplibre-compute/predict\n@caoguo/maplibre-compute/nlpg\n@caoguo/maplibre-compute/style\n@caoguo/maplibre-compute/types\n```\n\n## 设计原则\n\n1. **算法纯函数**：供需预测、延迟分析、路由分析均为纯函数。\n2. **可插拔**：每个组件独立可用。\n3. **离线友好**：所有计算在前端完成。\n\n## 浏览器 / 环境要求\n\n- 现代浏览器（Chrome 90+）\n- 核心算法在 Node.js 可测（已含 8 个 vitest 用例）\n\n## 许可\n\nApache-2.0","readmeFilename":"README.md"}