{"_id":"@caoguo/maplibre-transport","_rev":"7-ef9aaf40bb579a25fcf42e6ea3b496ba","name":"@caoguo/maplibre-transport","dist-tags":{"latest":"0.0.8"},"versions":{"0.0.1":{"name":"@caoguo/maplibre-transport","version":"0.0.1","_id":"@caoguo/maplibre-transport@0.0.1","maintainers":[{"name":"uutan","email":"uutan@qq.com"}],"dist":{"shasum":"2d44561102e16ae2de196e0d944238786cff2b5e","tarball":"https://registry.npmjs.org/@caoguo/maplibre-transport/-/maplibre-transport-0.0.1.tgz","fileCount":22,"integrity":"sha512-+uGN6kEzJcK7WEw4z3c74Ja//Mk6ODgP01PLPVJA8WwdVouU/jXJ+wEYfNfCIlO8e766KWxT+7rPu1rdqQBXUQ==","signatures":[{"sig":"MEQCICRjWJHr8uSpuIgoN4ChyLGjS94ojqaK2GKRhRgdTsMAAiB3ZBtbCxbT3UJwuVjRUTW+sW8+hZwNCarNxoAX+iXqCg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":60344},"main":"./dist/index.cjs","type":"module","_from":"file:caoguo-maplibre-transport-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"},"./road":{"types":"./dist/road/index.d.ts","import":"./dist/road/index.js","require":"./dist/road/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"},"./traffic":{"types":"./dist/traffic/index.d.ts","import":"./dist/traffic/index.js","require":"./dist/traffic/index.cjs"},"./incident":{"types":"./dist/incident/index.d.ts","import":"./dist/incident/index.js","require":"./dist/incident/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/f4f32cba1a59f5a20cf9e5e71dca3dd6/caoguo-maplibre-transport-0.0.1.tgz","_integrity":"sha512-+uGN6kEzJcK7WEw4z3c74Ja//Mk6ODgP01PLPVJA8WwdVouU/jXJ+wEYfNfCIlO8e766KWxT+7rPu1rdqQBXUQ==","_npmVersion":"10.9.7","description":"草果地图交通网组件包 - Road network / Traffic flow / Incident map / Congestion 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-transport_0.0.1_1787276464236_0.6887958179055069","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@caoguo/maplibre-transport","version":"0.0.2","keywords":["maplibre","caoguo","gis","traffic","road-network","traffic-flow","congestion-prediction","incident-map","detour","graph-algorithm","dijkstra","nlpg","china"],"author":{"name":"caoguo","email":"caoguo@hb.cn"},"license":"Apache-2.0","_id":"@caoguo/maplibre-transport@0.0.2","maintainers":[{"name":"uutan","email":"uutan@qq.com"}],"homepage":"https://github.com/caoguo/map/blob/main/packages/transport/README.md","bugs":{"url":"https://github.com/caoguo/map/issues"},"dist":{"shasum":"1f9009aa41e617693e0fdbb0905ec8f8f0a3c51c","tarball":"https://registry.npmjs.org/@caoguo/maplibre-transport/-/maplibre-transport-0.0.2.tgz","fileCount":23,"integrity":"sha512-1ihKG+lEqzAO7eteE3RCKRkK2tra1USGCiqCdSn6xlJYBRN6cgS48aiVcaNCwZi1kpNjwmqet5W/LnYdZrdYeg==","signatures":[{"sig":"MEQCIG28q/KwvR8O+xORnoaodShqFg6EYqcIe10a66bIsMzdAiA8ZtmWT95JUVIm462CQaOxMiHcUVd2DVfkSJnU65RkMA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":63477},"main":"./dist/index.cjs","type":"module","_from":"file:caoguo-maplibre-transport-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"},"./road":{"types":"./dist/road/index.d.ts","import":"./dist/road/index.js","require":"./dist/road/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"},"./traffic":{"types":"./dist/traffic/index.d.ts","import":"./dist/traffic/index.js","require":"./dist/traffic/index.cjs"},"./incident":{"types":"./dist/incident/index.d.ts","import":"./dist/incident/index.js","require":"./dist/incident/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/ef75bec7555939dcc9ebb5353115b7e8/caoguo-maplibre-transport-0.0.2.tgz","_integrity":"sha512-1ihKG+lEqzAO7eteE3RCKRkK2tra1USGCiqCdSn6xlJYBRN6cgS48aiVcaNCwZi1kpNjwmqet5W/LnYdZrdYeg==","repository":{"url":"git+https://github.com/caoguo/map.git","type":"git","directory":"packages/transport"},"_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-transport_0.0.2_1787276977616_0.9697448722544664","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@caoguo/maplibre-transport","version":"0.0.4","keywords":["maplibre","caoguo","gis","traffic","road-network","traffic-flow","congestion-prediction","incident-map","detour","graph-algorithm","dijkstra","nlpg","china"],"author":{"name":"caoguo","email":"caoguo@hb.cn"},"license":"Apache-2.0","_id":"@caoguo/maplibre-transport@0.0.4","maintainers":[{"name":"uutan","email":"uutan@qq.com"}],"homepage":"https://github.com/caoguo/map/blob/main/packages/transport/README.md","bugs":{"url":"https://github.com/caoguo/map/issues"},"dist":{"shasum":"6d47a14fef308f61e67c7bb2eddb84a2e999985b","tarball":"https://registry.npmjs.org/@caoguo/maplibre-transport/-/maplibre-transport-0.0.4.tgz","fileCount":60,"integrity":"sha512-0WcHho3zJZ7UU4y04YTBtWeUovRxRILN8Wj6ujhFFIvrmo6nfjtNII6y5+9IPDzoCEsjmMAdhW/A/NG2Ph27RQ==","signatures":[{"sig":"MEUCIF/Z0EaFh2x0A4WDruYRSmWYjdExEWu9bOxroOdwcF2qAiEAmwBZDiYSM73jlrsWO6v11tPGO/BSj5bIQAF5Nj1/CWU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":422972},"main":"./dist/index.cjs","type":"module","_from":"file:caoguo-maplibre-transport-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"},"./road":{"types":"./dist/road/index.d.ts","import":"./dist/road/index.js","require":"./dist/road/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"},"./traffic":{"types":"./dist/traffic/index.d.ts","import":"./dist/traffic/index.js","require":"./dist/traffic/index.cjs"},"./incident":{"types":"./dist/incident/index.d.ts","import":"./dist/incident/index.js","require":"./dist/incident/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/519d18305907c17b724c7a8872f011f2/caoguo-maplibre-transport-0.0.4.tgz","_integrity":"sha512-0WcHho3zJZ7UU4y04YTBtWeUovRxRILN8Wj6ujhFFIvrmo6nfjtNII6y5+9IPDzoCEsjmMAdhW/A/NG2Ph27RQ==","repository":{"url":"git+https://github.com/caoguo/map.git","type":"git","directory":"packages/transport"},"_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-transport_0.0.4_1787367091869_0.9244688938903023","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@caoguo/maplibre-transport","version":"0.0.5","keywords":["maplibre","caoguo","gis","traffic","road-network","traffic-flow","congestion-prediction","incident-map","detour","graph-algorithm","dijkstra","nlpg","china"],"author":{"name":"caoguo","email":"caoguo@hb.cn"},"license":"Apache-2.0","_id":"@caoguo/maplibre-transport@0.0.5","maintainers":[{"name":"uutan","email":"uutan@qq.com"}],"homepage":"https://github.com/caoguo-map/maplibre-transport/blob/main/packages/transport/README.md","bugs":{"url":"https://github.com/caoguo-map/maplibre-transport/issues"},"dist":{"shasum":"f5a0813d66f3f77ab460eae233343ca5aa5a8e48","tarball":"https://registry.npmjs.org/@caoguo/maplibre-transport/-/maplibre-transport-0.0.5.tgz","fileCount":60,"integrity":"sha512-sptbeMu9Aonh4cDb8Chlstr8E4iNe4/aPcGAxNUOtEbTT/4Trgv69jHWKcKlJ5qwoTKR3fcC1+PzgOhn26fU+A==","signatures":[{"sig":"MEQCIA0UqzTG9gi4nHFf+3JuSsbJDyjebLbkSPuit0t5i5/GAiBziatfaRMdBNPoEomcLvcXBgQubC8jz9OtW2nDqt0Caw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":425627},"main":"./dist/index.cjs","type":"module","_from":"file:caoguo-maplibre-transport-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"},"./road":{"types":"./dist/road/index.d.ts","import":"./dist/road/index.js","require":"./dist/road/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"},"./traffic":{"types":"./dist/traffic/index.d.ts","import":"./dist/traffic/index.js","require":"./dist/traffic/index.cjs"},"./incident":{"types":"./dist/incident/index.d.ts","import":"./dist/incident/index.js","require":"./dist/incident/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/fc821584aa3d4aa90d3ce7ad43f0ae4a/caoguo-maplibre-transport-0.0.5.tgz","_integrity":"sha512-sptbeMu9Aonh4cDb8Chlstr8E4iNe4/aPcGAxNUOtEbTT/4Trgv69jHWKcKlJ5qwoTKR3fcC1+PzgOhn26fU+A==","repository":{"url":"git+https://github.com/caoguo-map/maplibre-transport.git","type":"git","directory":"packages/transport"},"_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-transport_0.0.5_1787371388093_0.8500303320310607","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@caoguo/maplibre-transport","version":"0.0.6","keywords":["maplibre","caoguo","gis","traffic","road-network","traffic-flow","congestion-prediction","incident-map","detour","graph-algorithm","dijkstra","nlpg","china"],"author":{"name":"caoguo","email":"caoguo@hb.cn"},"license":"Apache-2.0","_id":"@caoguo/maplibre-transport@0.0.6","maintainers":[{"name":"uutan","email":"uutan@qq.com"}],"homepage":"https://github.com/caoguo-map/maplibre-transport/blob/main/packages/transport/README.md","bugs":{"url":"https://github.com/caoguo-map/maplibre-transport/issues"},"dist":{"shasum":"4ef6af2bdf3592114f4bd4901e69373d024b3ea0","tarball":"https://registry.npmjs.org/@caoguo/maplibre-transport/-/maplibre-transport-0.0.6.tgz","fileCount":66,"integrity":"sha512-nycB0b5M8k3S5cdd+cTp8ZP5nXNlyF9Gy3yvIFzJvZ/03vxDh5l/LXrp0HbPK0ZDos45gTVnT8iHOuIrkrJK/g==","signatures":[{"sig":"MEQCIANvp9PJirWo5z/xr7N5p2NuPVG7KdFv3vpa2tStkT5CAiAw8pUey3AlpIKIvmTossJtaY78zhAd8zm/McjqK22H9Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":665979},"main":"./dist/index.cjs","type":"module","_from":"file:caoguo-maplibre-transport-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"},"./road":{"types":"./dist/road/index.d.ts","import":"./dist/road/index.js","require":"./dist/road/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"},"./traffic":{"types":"./dist/traffic/index.d.ts","import":"./dist/traffic/index.js","require":"./dist/traffic/index.cjs"},"./incident":{"types":"./dist/incident/index.d.ts","import":"./dist/incident/index.js","require":"./dist/incident/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/913b0dc80a0eb537c42f7bdc7fb53cb5/caoguo-maplibre-transport-0.0.6.tgz","_integrity":"sha512-nycB0b5M8k3S5cdd+cTp8ZP5nXNlyF9Gy3yvIFzJvZ/03vxDh5l/LXrp0HbPK0ZDos45gTVnT8iHOuIrkrJK/g==","repository":{"url":"git+https://github.com/caoguo-map/maplibre-transport.git","type":"git","directory":"packages/transport"},"_npmVersion":"10.9.7","description":"草果地图交通网组件包 - 路网 / 交通流 / 拥堵预测 / 事件响应","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@caoguo/theme":"0.0.6","@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-transport_0.0.6_1787373009250_0.9221415537836875","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@caoguo/maplibre-transport","version":"0.0.7","keywords":["maplibre","caoguo","gis","traffic","road-network","traffic-flow","congestion-prediction","incident-map","detour","graph-algorithm","dijkstra","nlpg","china"],"author":{"name":"caoguo","email":"caoguo@hb.cn"},"license":"Apache-2.0","_id":"@caoguo/maplibre-transport@0.0.7","maintainers":[{"name":"uutan","email":"uutan@qq.com"}],"homepage":"https://github.com/caoguo-map/maplibre-transport/blob/main/packages/transport/README.md","bugs":{"url":"https://github.com/caoguo-map/maplibre-transport/issues"},"dist":{"shasum":"309c1066f960f30203d5720eebbc3581dca56fd0","tarball":"https://registry.npmjs.org/@caoguo/maplibre-transport/-/maplibre-transport-0.0.7.tgz","fileCount":66,"integrity":"sha512-/bcVhZEGHXUYvdxER/QfYXKct22FIuAls4VEFA3tJOg8FsNaSuDSgYOKPJrkyDLsDU2QZcFFdeICpbgUSfnAFQ==","signatures":[{"sig":"MEYCIQDjMfColYJa5uonMSN13XoROfKanbeZ1nV4IVCEPznQLwIhAIOziW3tA6K//nr1fmEexjWhNI8SZpobAzaA1rFlzd4E","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":722905},"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"},"./road":{"types":"./dist/road/index.d.ts","import":"./dist/road/index.js","require":"./dist/road/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"},"./traffic":{"types":"./dist/traffic/index.d.ts","import":"./dist/traffic/index.js","require":"./dist/traffic/index.cjs"},"./incident":{"types":"./dist/incident/index.d.ts","import":"./dist/incident/index.js","require":"./dist/incident/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-transport.git","type":"git","directory":"packages/transport"},"_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-transport_0.0.7_1787389381994_0.08640414546392838","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"_id":"@caoguo/maplibre-transport@0.0.8","bugs":{"url":"https://github.com/caoguo-map/maplibre-transport/issues"},"dist":{"shasum":"4f44170a0c85ae3108c19a649c807ec838b27cec","tarball":"https://registry.npmjs.org/@caoguo/maplibre-transport/-/maplibre-transport-0.0.8.tgz","fileCount":70,"integrity":"sha512-agipAzmauhyslBEM0Pz4uhD8bCN3JdbD76Wj+zsiP5OaPzfCvRKX3x/9Gqwhxkswkw3C+UHdqcDTKsBedVQHyg==","signatures":[{"sig":"MEUCIHnBa1ePetAGmhH4tkvgj0iB7a87el7Q8Xm8zVUS7L7+AiEA/+QznUadXaSK/LwfAeCvgip63fxiTBFFG+5jcLGlhOg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHDy5b8jWPM+bHfaY15NyBgG/0ABFfSQmW53ZOQm42L1AiEAj0Wbcx+CB9KHi7vjEcPl+DTC4Nn2sxGJqBlgKiuJ1Wg="}],"unpackedSize":932990},"main":"./dist/index.cjs","name":"@caoguo/maplibre-transport","type":"module","_from":"file:caoguo-maplibre-transport-0.0.8.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"},"./road":{"types":"./dist/road/index.d.ts","import":"./dist/road/index.js","require":"./dist/road/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"},"./traffic":{"types":"./dist/traffic/index.d.ts","import":"./dist/traffic/index.js","require":"./dist/traffic/index.cjs"},"./incident":{"types":"./dist/incident/index.d.ts","import":"./dist/incident/index.js","require":"./dist/incident/index.cjs"}},"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-transport/blob/main/packages/transport/README.md","keywords":["maplibre","caoguo","gis","traffic","road-network","traffic-flow","congestion-prediction","incident-map","detour","graph-algorithm","dijkstra","nlpg","china"],"_resolved":"/private/var/folders/br/f3pl5_3d7m5b9qz4ym4d_plw0000gn/T/81d18ff81cfa569d2e35c8919467b456/caoguo-maplibre-transport-0.0.8.tgz","_integrity":"sha512-agipAzmauhyslBEM0Pz4uhD8bCN3JdbD76Wj+zsiP5OaPzfCvRKX3x/9Gqwhxkswkw3C+UHdqcDTKsBedVQHyg==","repository":{"url":"git+https://github.com/caoguo-map/maplibre-transport.git","type":"git","directory":"packages/transport"},"_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.9"},"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-transport_0.0.8_1790959153166_0.2201303385584632"}}},"time":{"created":"2026-08-21T01:41:04.049Z","modified":"2026-10-02T16:39:13.500Z","0.0.1":"2026-08-21T01:41:04.382Z","0.0.2":"2026-08-21T01:49:37.865Z","0.0.4":"2026-08-22T02:51:32.033Z","0.0.5":"2026-08-22T04:03:08.267Z","0.0.6":"2026-08-22T04:30:09.441Z","0.0.7":"2026-08-22T09:03:02.154Z","0.0.8":"2026-10-02T16:39:13.307Z"},"bugs":{"url":"https://github.com/caoguo-map/maplibre-transport/issues"},"author":{"name":"caoguo","email":"caoguo@hb.cn"},"license":"Apache-2.0","homepage":"https://github.com/caoguo-map/maplibre-transport/blob/main/packages/transport/README.md","keywords":["maplibre","caoguo","gis","traffic","road-network","traffic-flow","congestion-prediction","incident-map","detour","graph-algorithm","dijkstra","nlpg","china"],"repository":{"url":"git+https://github.com/caoguo-map/maplibre-transport.git","type":"git","directory":"packages/transport"},"description":"草果地图交通网组件包 - 路网 / 交通流 / 拥堵预测 / 事件响应","maintainers":[{"name":"uutan","email":"uutan@qq.com"}],"readme":"# @caoguo/maplibre-transport\n\n> 草果地图交通网组件包 — 路网 / 交通流 / 拥堵预测 / 事件响应\n\n[![npm version](https://img.shields.io/npm/v/@caoguo/maplibre-transport.svg)](https://www.npmjs.com/package/@caoguo/maplibre-transport)\n[![license](https://img.shields.io/npm/l/@caoguo/maplibre-transport.svg)](LICENSE)\n\n## 安装\n\n```bash\nnpm install @caoguo/maplibre-transport\n```\n\nPeer：`maplibre-gl@^4.7.1`。\n\n## 功能模块\n\n| 模块 | 导出 | 说明 |\n|------|------|------|\n| 路网 | `RoadNetwork` | 路网编辑器（图编辑 + 道路等级配色） |\n| 交通流 | `TrafficFlow` (trafficCore) | 实时交通流 + 拥堵预测 |\n| 事件 | `IncidentMap` (incidentCore) | 事件响应（影响范围 + 附近资源 + 绕行方案） |\n| NLPG | `transportNlp` | 交通查询意图识别 |\n| 图算法 | 图邻接表 + BFS + Dijkstra + 缓冲查询 | |\n| 样式 | `transportTheme` / `ROAD_LEVEL_COLORS` / `transportLegend` | 道路等级/速度/状态/事件配色 |\n| 数据 | `RoadNode` / `RoadEdge` / `Incident` / `RoadSpeedRecord` | 数据模型 |\n\n## 快速开始\n\n### 拥堵预测\n\n```ts\nimport { TrafficFlow } from '@caoguo/maplibre-transport/traffic';\n\nconst flow = new TrafficFlow({ dataset });\nconst prediction = flow.predictCongestion({\n  horizonMinutes: 30,\n  edgeIds: ['E001', 'E002'],\n});\nconsole.log('30 分钟拥堵指数', prediction.byEdge);\n```\n\n### 事件响应\n\n```ts\nimport { IncidentMap } from '@caoguo/maplibre-transport/incident';\n\nconst inc = new IncidentMap({ dataset });\nconst impact = inc.analyze({\n  type: 'accident',\n  location: { lng: 114.3, lat: 30.6 },\n  severity: 3,\n});\nconsole.log('影响路段', impact.affectedRoads);\nconsole.log('推荐绕行', impact.detour);\n```\n\n### NLPG 查询意图识别\n\n```ts\nimport { transportNlp } from '@caoguo/maplibre-transport/nlpg';\n\nconst intent = transportNlp.recognize('查一下二环堵不堵');\nconsole.log(intent.intent, intent.entities);\n```\n\n## 子入口\n\n```\n@caoguo/maplibre-transport/graph\n@caoguo/maplibre-transport/road\n@caoguo/maplibre-transport/traffic\n@caoguo/maplibre-transport/incident\n@caoguo/maplibre-transport/nlpg\n@caoguo/maplibre-transport/style\n@caoguo/maplibre-transport/types\n```\n\n## 设计原则\n\n1. **算法纯函数**：拥堵预测、事件分析、图遍历均为纯函数。\n2. **可插拔**：每个组件独立可用。\n3. **离线友好**：所有计算在前端完成。\n\n## 浏览器 / 环境要求\n\n- 现代浏览器（Chrome 90+）\n- 核心算法在 Node.js 可测（已含 19 个 vitest 用例）\n\n## 许可\n\nApache-2.0","readmeFilename":"README.md"}