{"_id":"@chengxuxiaowang/utils-npm","_rev":"19-e916da9cd58673e5312b8dd925c94044","name":"@chengxuxiaowang/utils-npm","dist-tags":{"latest":"1.0.19"},"versions":{"1.0.1":{"name":"@chengxuxiaowang/utils-npm","version":"1.0.1","keywords":[],"author":{"name":"chengxuxiaowang"},"license":"MIT","_id":"@chengxuxiaowang/utils-npm@1.0.1","maintainers":[{"name":"chengxuxiaowang","email":"3059644579@qq.com"}],"dist":{"shasum":"1f8d23b24cc352e0ed8ff0201c2c35b4f3acf0cc","tarball":"https://registry.npmjs.org/@chengxuxiaowang/utils-npm/-/utils-npm-1.0.1.tgz","fileCount":4,"integrity":"sha512-0AYEGaA1QVMAT7E4v/batdxcUzky8ioPMe+oFogf3dNQriVaTF/sKQCoMou8BK4q4bP/JAVPQASqeeKa9apjUA==","signatures":[{"sig":"MEUCIQC/BPTq+tk9BXj8qBOuoZ+QuyssuVIuiz5TrxNSYirBogIgBBhP4DK3PJAx4eJiVmsb1h21NRa8p/UJUtILfahnxtM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1539},"main":"index.js","scripts":{"test":"jest"},"_npmUser":{"name":"chengxuxiaowang","email":"3059644579@qq.com"},"_npmVersion":"10.5.0","directories":{},"_nodeVersion":"20.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/utils-npm_1.0.1_1773296840034_0.2062405148458688","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@chengxuxiaowang/utils-npm","version":"1.0.2","keywords":["utils","javascript","helpers","tools","library"],"author":{"name":"chengxuxiaowang"},"license":"MIT","_id":"@chengxuxiaowang/utils-npm@1.0.2","maintainers":[{"name":"chengxuxiaowang","email":"3059644579@qq.com"}],"homepage":"https://github.com/chengxuxiaowang/utils-npm#readme","bugs":{"url":"https://github.com/chengxuxiaowang/utils-npm/issues"},"dist":{"shasum":"e86d2ae71850c30bb4708448eb04b72fb16f8eb4","tarball":"https://registry.npmjs.org/@chengxuxiaowang/utils-npm/-/utils-npm-1.0.2.tgz","fileCount":4,"integrity":"sha512-sy+HLvsQhjaroruLH//Q322Y/hpkNoZ17yHjLY59HNMLej5Kq47GCESXPB+dK88vKGDOkHcsaU1ZUG8ZbJSDDA==","signatures":[{"sig":"MEQCIHcxpvsYnDUkLVJaDQvvOH7dPJsfkgRGpUeWBybfO3cpAiAC7Cmx/W2VexarhNJkHPC9O64kvsDNGJVy9vUbZdCdWg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2064},"main":"index.js","engines":{"node":">=16"},"scripts":{"test":"jest"},"_npmUser":{"name":"chengxuxiaowang","email":"3059644579@qq.com"},"repository":{"url":"git+https://github.com/chengxuxiaowang/utils-npm.git","type":"git"},"_npmVersion":"10.5.0","description":"A lightweight JavaScript utility library for common helper functions.","directories":{},"_nodeVersion":"20.12.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.3.0"},"_npmOperationalInternal":{"tmp":"tmp/utils-npm_1.0.2_1773297349620_0.9230952927156968","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@chengxuxiaowang/utils-npm","version":"1.0.3","keywords":["utils","javascript","helpers","tools","library"],"author":{"name":"chengxuxiaowang"},"license":"MIT","_id":"@chengxuxiaowang/utils-npm@1.0.3","maintainers":[{"name":"chengxuxiaowang","email":"3059644579@qq.com"}],"homepage":"https://github.com/chengxuxiaowang/utils-npm#readme","bugs":{"url":"https://github.com/chengxuxiaowang/utils-npm/issues"},"dist":{"shasum":"ce2096bcd65d0897ebcdc7c479ff14ab94bf49ba","tarball":"https://registry.npmjs.org/@chengxuxiaowang/utils-npm/-/utils-npm-1.0.3.tgz","fileCount":4,"integrity":"sha512-vp9R1juo5XQNMqL82OTZNDCfik0XorSqXGD1JN2V1FYCnRBg0mJQHNiFxYFsRayiN4dND7BgdowKIE+cxKz71Q==","signatures":[{"sig":"MEQCIEQj1ZcujkBSpcIHULk/C40YwyveXheAq/JAShQ0nAYBAiAfHA9dRtgUD8VXPaxab+RBD2NF77FsYm97Dj4ETZ7mCw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2157},"main":"index.js","engines":{"node":">=16"},"scripts":{"test":"jest"},"_npmUser":{"name":"chengxuxiaowang","email":"3059644579@qq.com"},"repository":{"url":"git+https://github.com/chengxuxiaowang/utils-npm.git","type":"git"},"_npmVersion":"10.5.0","description":"A lightweight JavaScript utility library for common helper functions.","directories":{},"_nodeVersion":"20.12.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.3.0"},"_npmOperationalInternal":{"tmp":"tmp/utils-npm_1.0.3_1773298448333_0.9799826179308475","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@chengxuxiaowang/utils-npm","version":"1.0.4","keywords":["utils","javascript","helpers","tools","library"],"author":{"name":"chengxuxiaowang"},"license":"MIT","_id":"@chengxuxiaowang/utils-npm@1.0.4","maintainers":[{"name":"chengxuxiaowang","email":"3059644579@qq.com"}],"homepage":"https://github.com/chengxuxiaowang/utils-npm#readme","bugs":{"url":"https://github.com/chengxuxiaowang/utils-npm/issues"},"dist":{"shasum":"1cf23e9ca60b0817f67a32f2397d30c17bcdb3b3","tarball":"https://registry.npmjs.org/@chengxuxiaowang/utils-npm/-/utils-npm-1.0.4.tgz","fileCount":4,"integrity":"sha512-i+4nDjZhCZY/9T+JywTj0TaJcniA3TMcMDO4PbPWMYiLMZiEyAjkHSAZ8JeQxws6wetGNLuEiYEzxrlryOguhg==","signatures":[{"sig":"MEUCIG56E5T4KhPSR3IuiO55CCrC6DE/sdnql2oW4vMwxE06AiEAywcJQh7MP3iz4bHDLm8UupS/p09DBIp8TCS613jdIuQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3432},"main":"index.js","engines":{"node":">=16"},"scripts":{"test":"jest"},"_npmUser":{"name":"chengxuxiaowang","email":"3059644579@qq.com"},"repository":{"url":"git+https://github.com/chengxuxiaowang/utils-npm.git","type":"git"},"_npmVersion":"10.5.0","description":"A lightweight JavaScript utility library for common helper functions.","directories":{},"_nodeVersion":"20.12.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.3.0"},"_npmOperationalInternal":{"tmp":"tmp/utils-npm_1.0.4_1773298644921_0.6875692105550775","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@chengxuxiaowang/utils-npm","version":"1.0.5","keywords":["leaflet","map","utils","javascript","helpers","tools","library"],"author":{"name":"chengxuxiaowang"},"license":"MIT","_id":"@chengxuxiaowang/utils-npm@1.0.5","maintainers":[{"name":"chengxuxiaowang","email":"3059644579@qq.com"}],"homepage":"https://github.com/chengxuxiaowang/utils-npm#readme","bugs":{"url":"https://github.com/chengxuxiaowang/utils-npm/issues"},"dist":{"shasum":"6258191796d5b246586f520fba2454ffdbbd2bda","tarball":"https://registry.npmjs.org/@chengxuxiaowang/utils-npm/-/utils-npm-1.0.5.tgz","fileCount":4,"integrity":"sha512-bgFHw6Yxwf23m3vqELkZjrFXcc5FDqjsF+map3L1tuhqrBfZwRNshby/jy5f6Vs2jHlabMsh4eP1LGaCc/KoQg==","signatures":[{"sig":"MEUCIQCMkOA4YYATfmcyGArVBy88lSJiQgdL8lq0MDwi8YqqpAIgO1Ji9ptY35Q4QBE3l5o4Pgwt9SMhVcHrMCaAuhyxHn8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3536},"main":"index.js","engines":{"node":">=16"},"scripts":{"test":"jest"},"_npmUser":{"name":"chengxuxiaowang","email":"3059644579@qq.com"},"repository":{"url":"git+https://github.com/chengxuxiaowang/utils-npm.git","type":"git"},"_npmVersion":"10.5.0","description":"A lightweight JavaScript utility library for common helper functions.","directories":{},"_nodeVersion":"20.12.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.3.0","leaflet":"^1.9.4"},"peerDependencies":{"leaflet":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/utils-npm_1.0.5_1773302604435_0.2602184607182114","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@chengxuxiaowang/utils-npm","version":"1.0.6","keywords":["leaflet","map","utils","javascript","helpers","tools","library"],"author":{"name":"chengxuxiaowang"},"license":"MIT","_id":"@chengxuxiaowang/utils-npm@1.0.6","maintainers":[{"name":"chengxuxiaowang","email":"3059644579@qq.com"}],"homepage":"https://github.com/chengxuxiaowang/utils-npm#readme","bugs":{"url":"https://github.com/chengxuxiaowang/utils-npm/issues"},"dist":{"shasum":"f43c33ee119511c81635fc5ac733f4011f6c93a7","tarball":"https://registry.npmjs.org/@chengxuxiaowang/utils-npm/-/utils-npm-1.0.6.tgz","fileCount":4,"integrity":"sha512-YfsOvsfsFRwyt2NLs8UhDHo8Md3iLmOPEq/pJuH4MjNp1RjZgM6dl4WHb8+DS2fAZi3L1q3K52vs7SKdcZhn8g==","signatures":[{"sig":"MEQCICbAkCyFnNlTP+ShI57xuV6fj9b4pHAnvdf0rSDAxnT2AiBjGSPddvI5hiJOL5egpjnJUtlTY/rLp8HO903rK2rc7w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3589},"main":"index.js","engines":{"node":">=16"},"scripts":{"test":"jest"},"_npmUser":{"name":"chengxuxiaowang","email":"3059644579@qq.com"},"repository":{"url":"git+https://github.com/chengxuxiaowang/utils-npm.git","type":"git"},"_npmVersion":"10.5.0","description":"A lightweight JavaScript utility library for common helper functions.","directories":{},"_nodeVersion":"20.12.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.3.0","leaflet":"^1.9.4"},"peerDependencies":{"leaflet":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/utils-npm_1.0.6_1773303931172_0.740278033295354","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@chengxuxiaowang/utils-npm","version":"1.0.7","keywords":["leaflet","map","utils","javascript","helpers","tools","library"],"author":{"name":"chengxuxiaowang"},"license":"MIT","_id":"@chengxuxiaowang/utils-npm@1.0.7","maintainers":[{"name":"chengxuxiaowang","email":"3059644579@qq.com"}],"homepage":"https://github.com/chengxuxiaowang/utils-npm#readme","bugs":{"url":"https://github.com/chengxuxiaowang/utils-npm/issues"},"dist":{"shasum":"bb1d12633dd1b73a8c927a7048ceb2e9716b3a11","tarball":"https://registry.npmjs.org/@chengxuxiaowang/utils-npm/-/utils-npm-1.0.7.tgz","fileCount":4,"integrity":"sha512-B8HBesBMjUJpxO4fVHR8iZH+YlwBb20I9fve2YbH8VaiOWJLEqHxFzzONWUyiH8WDqe/mQ+BmAqmBlFlwvTy+g==","signatures":[{"sig":"MEYCIQCuy6uYmnKdzueYThAjpOxwbcm4YerxpoI9uB8DS3PLAwIhAM5/7x7cJcjZ456NOyuQUv1nZjxaKcMIIjn/oPNHwnBw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3682},"main":"index.js","engines":{"node":">=16"},"scripts":{"test":"jest"},"_npmUser":{"name":"chengxuxiaowang","email":"3059644579@qq.com"},"repository":{"url":"git+https://github.com/chengxuxiaowang/utils-npm.git","type":"git"},"_npmVersion":"10.5.0","description":"A lightweight JavaScript utility library for common helper functions.","directories":{},"_nodeVersion":"20.12.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.3.0","leaflet":"^1.9.4"},"peerDependencies":{"leaflet":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/utils-npm_1.0.7_1773304882713_0.9013571552246558","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@chengxuxiaowang/utils-npm","version":"1.0.8","keywords":["leaflet","map","utils","javascript","helpers","tools","library"],"author":{"name":"chengxuxiaowang"},"license":"MIT","_id":"@chengxuxiaowang/utils-npm@1.0.8","maintainers":[{"name":"chengxuxiaowang","email":"3059644579@qq.com"}],"homepage":"https://github.com/chengxuxiaowang/utils-npm#readme","bugs":{"url":"https://github.com/chengxuxiaowang/utils-npm/issues"},"dist":{"shasum":"8bd9b1f9069ac1a49cb0fe2b255b264b0310501f","tarball":"https://registry.npmjs.org/@chengxuxiaowang/utils-npm/-/utils-npm-1.0.8.tgz","fileCount":4,"integrity":"sha512-9Tm03uhajhemt17GrGM7r6+GPxK757TzuS6QOKp3mTuv+rCxNhnVUrPaHLRZaGG9+QNzToUOQ20u4rRY49cpIA==","signatures":[{"sig":"MEUCID7Nu5aWBg42+fDET9ISN4/928p28D6uoj/N1szpbaomAiEAzV+HxHsBrAXq/T+rbOzXL55DrdcwcDbREFHu1R5dKGI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3720},"main":"index.js","engines":{"node":">=16"},"scripts":{"test":"jest"},"_npmUser":{"name":"chengxuxiaowang","email":"3059644579@qq.com"},"repository":{"url":"git+https://github.com/chengxuxiaowang/utils-npm.git","type":"git"},"_npmVersion":"10.5.0","description":"A lightweight JavaScript utility library for common helper functions.","directories":{},"_nodeVersion":"20.12.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.3.0"},"_npmOperationalInternal":{"tmp":"tmp/utils-npm_1.0.8_1773306049635_0.6583297499179026","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@chengxuxiaowang/utils-npm","version":"1.0.9","keywords":["leaflet","map","utils","javascript","helpers","tools","library"],"author":{"name":"chengxuxiaowang"},"license":"MIT","_id":"@chengxuxiaowang/utils-npm@1.0.9","maintainers":[{"name":"chengxuxiaowang","email":"3059644579@qq.com"}],"homepage":"https://github.com/chengxuxiaowang/utils-npm#readme","bugs":{"url":"https://github.com/chengxuxiaowang/utils-npm/issues"},"dist":{"shasum":"32a1601097feb845f8a8bb03953bb05e0810ba3a","tarball":"https://registry.npmjs.org/@chengxuxiaowang/utils-npm/-/utils-npm-1.0.9.tgz","fileCount":4,"integrity":"sha512-Tuz/NREHwgpb/L97s2LvcsQqBid1FGuqBeup1/Mss5O2IMtmyoAh0Ox/fkFst3605cw+0s7ohNIFS8QHX85JRw==","signatures":[{"sig":"MEUCIQD7mOFb8AkS1ajE0l9XbgCtoNZLz78Tqr+l4DTyNilu0QIgbgc3m5PzXREfYaeVPF5J85jmiG/nMUKvCs9w+w7vxNQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3795},"main":"index.js","engines":{"node":">=16"},"scripts":{"test":"jest"},"_npmUser":{"name":"chengxuxiaowang","email":"3059644579@qq.com"},"repository":{"url":"git+https://github.com/chengxuxiaowang/utils-npm.git","type":"git"},"_npmVersion":"10.5.0","description":"A lightweight JavaScript utility library for common helper functions.","directories":{},"_nodeVersion":"20.12.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.3.0","leaflet":"^1.9.4"},"peerDependencies":{"leaflet":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/utils-npm_1.0.9_1773306401385_0.3806274914561647","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"@chengxuxiaowang/utils-npm","version":"1.0.10","keywords":["leaflet","map","utils","javascript","helpers","tools","library"],"author":{"name":"chengxuxiaowang"},"license":"MIT","_id":"@chengxuxiaowang/utils-npm@1.0.10","maintainers":[{"name":"chengxuxiaowang","email":"3059644579@qq.com"}],"homepage":"https://github.com/chengxuxiaowang/utils-npm#readme","bugs":{"url":"https://github.com/chengxuxiaowang/utils-npm/issues"},"dist":{"shasum":"3c00739d4623bb5bebdb4a1fc4f1159a7001f67b","tarball":"https://registry.npmjs.org/@chengxuxiaowang/utils-npm/-/utils-npm-1.0.10.tgz","fileCount":4,"integrity":"sha512-cg1B/K7b37LR5ymtitlen6VpHvcuz0fxpn2lnQQpjBHlvHYYgNVEaSvU9uUa5EhI3qfkdFrEFZceaqtqMlgvig==","signatures":[{"sig":"MEYCIQD4Q8yKNGN1ARM72QH8jnNdyMMxekWAmQTaTL3477VHqwIhAMiZTpcZ8zwCAH90cL871a88b2qb2p9OD/CYY2UonMpZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3796},"main":"index.js","engines":{"node":">=16"},"scripts":{"test":"jest"},"_npmUser":{"name":"chengxuxiaowang","email":"3059644579@qq.com"},"repository":{"url":"git+https://github.com/chengxuxiaowang/utils-npm.git","type":"git"},"_npmVersion":"10.5.0","description":"A lightweight JavaScript utility library for common helper functions.","directories":{},"_nodeVersion":"20.12.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.3.0","leaflet":"^1.9.4"},"peerDependencies":{"leaflet":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/utils-npm_1.0.10_1773306492383_0.9782393874242912","host":"s3://npm-registry-packages-npm-production"}},"1.0.11":{"name":"@chengxuxiaowang/utils-npm","version":"1.0.11","keywords":["leaflet","map","utils","javascript","helpers","tools","library"],"author":{"name":"chengxuxiaowang"},"license":"MIT","_id":"@chengxuxiaowang/utils-npm@1.0.11","maintainers":[{"name":"chengxuxiaowang","email":"3059644579@qq.com"}],"homepage":"https://github.com/chengxuxiaowang/utils-npm#readme","bugs":{"url":"https://github.com/chengxuxiaowang/utils-npm/issues"},"dist":{"shasum":"de7ea835a60c53d18b13c39c264586c6c62b6e5b","tarball":"https://registry.npmjs.org/@chengxuxiaowang/utils-npm/-/utils-npm-1.0.11.tgz","fileCount":4,"integrity":"sha512-wXydYyq4o5xl4T0DXuuxuprfPRK2b4V+Z8u3hCbEQvTlR7IzsSSeCPmNSdGll29ka+DjvlEmyzq+7hVU0NbNGw==","signatures":[{"sig":"MEUCIQC1CbXSi6zvcLcGxdV+jz/q3FmXtdz5zL2yMPqrUoUmGAIgMnBrQKaebR2i6fPuoUro/1u54aSFaZlCnNLUto4bhMI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6573},"main":"index.js","engines":{"node":">=16"},"scripts":{"test":"jest"},"_npmUser":{"name":"chengxuxiaowang","email":"3059644579@qq.com"},"repository":{"url":"git+https://github.com/chengxuxiaowang/utils-npm.git","type":"git"},"_npmVersion":"10.5.0","description":"A lightweight JavaScript utility library for common helper functions.","directories":{},"_nodeVersion":"20.12.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.3.0","leaflet":"^1.9.4"},"peerDependencies":{"leaflet":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/utils-npm_1.0.11_1773309175244_0.9739546580901226","host":"s3://npm-registry-packages-npm-production"}},"1.0.12":{"name":"@chengxuxiaowang/utils-npm","version":"1.0.12","keywords":["leaflet","map","utils","javascript","helpers","tools","library"],"author":{"name":"chengxuxiaowang"},"license":"MIT","_id":"@chengxuxiaowang/utils-npm@1.0.12","maintainers":[{"name":"chengxuxiaowang","email":"3059644579@qq.com"}],"homepage":"https://github.com/chengxuxiaowang/utils-npm#readme","bugs":{"url":"https://github.com/chengxuxiaowang/utils-npm/issues"},"dist":{"shasum":"81008a321029e142d279ca2948a97d060ca80204","tarball":"https://registry.npmjs.org/@chengxuxiaowang/utils-npm/-/utils-npm-1.0.12.tgz","fileCount":4,"integrity":"sha512-DCLuo0EmYyrRGhKr9Z8y3+CiupLos+UNghqiV170EL6z/E2u3mg3ofYQDqVtwVovOycevkNXPwV0rkH5hJgAuQ==","signatures":[{"sig":"MEUCIQDccOkIUA/ujzuSUlqgQ6AKGwlhNC63zKgxw6n13NMLYwIgUmQNU+239oQc5G5vxdOwDEv7mWx3MQZybRNc6yhLaM4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12388},"main":"index.js","engines":{"node":">=16"},"scripts":{"test":"jest"},"_npmUser":{"name":"chengxuxiaowang","email":"3059644579@qq.com"},"repository":{"url":"git+https://github.com/chengxuxiaowang/utils-npm.git","type":"git"},"_npmVersion":"10.5.0","description":"A lightweight JavaScript utility library for common helper functions.","directories":{},"_nodeVersion":"20.12.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.3.0","leaflet":"^1.9.4"},"peerDependencies":{"leaflet":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/utils-npm_1.0.12_1773367316974_0.7969283091964228","host":"s3://npm-registry-packages-npm-production"}},"1.0.13":{"name":"@chengxuxiaowang/utils-npm","version":"1.0.13","keywords":["leaflet","map","utils","javascript","helpers","tools","library"],"author":{"name":"chengxuxiaowang"},"license":"MIT","_id":"@chengxuxiaowang/utils-npm@1.0.13","maintainers":[{"name":"chengxuxiaowang","email":"3059644579@qq.com"}],"homepage":"https://github.com/chengxuxiaowang/utils-npm#readme","bugs":{"url":"https://github.com/chengxuxiaowang/utils-npm/issues"},"dist":{"shasum":"f9dc465ab56c04a03e5535d5c35e27df9ed4b248","tarball":"https://registry.npmjs.org/@chengxuxiaowang/utils-npm/-/utils-npm-1.0.13.tgz","fileCount":4,"integrity":"sha512-9aTaujIDVM9tDYg0+xoACjXtS3A5wZc9zpd9f59yk4q5f9UdQiQXmuK0LPq+KbdAMiIVtaaJIFvm5rArylPwFQ==","signatures":[{"sig":"MEUCIQD5Dah8qwTJ6l82s9wXZZYOkVySp33YgGtprdLDi/SjvQIgeMCQs6k7V0PNl/zMxWot6l4O/MPqrG2a10JJJoybC0w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14286},"main":"index.js","engines":{"node":">=16"},"scripts":{"test":"jest"},"_npmUser":{"name":"chengxuxiaowang","email":"3059644579@qq.com"},"repository":{"url":"git+https://github.com/chengxuxiaowang/utils-npm.git","type":"git"},"_npmVersion":"10.5.0","description":"A lightweight JavaScript utility library for common helper functions.","directories":{},"_nodeVersion":"20.12.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.3.0","leaflet":"^1.9.4"},"peerDependencies":{"leaflet":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/utils-npm_1.0.13_1773368992622_0.021100915866740566","host":"s3://npm-registry-packages-npm-production"}},"1.0.14":{"name":"@chengxuxiaowang/utils-npm","version":"1.0.14","keywords":["leaflet","map","utils","javascript","helpers","tools","library"],"author":{"name":"chengxuxiaowang"},"license":"MIT","_id":"@chengxuxiaowang/utils-npm@1.0.14","maintainers":[{"name":"chengxuxiaowang","email":"3059644579@qq.com"}],"homepage":"https://github.com/chengxuxiaowang/utils-npm#readme","bugs":{"url":"https://github.com/chengxuxiaowang/utils-npm/issues"},"dist":{"shasum":"02b446f57ac6a9c2dc0af386cce423b3e8c73c33","tarball":"https://registry.npmjs.org/@chengxuxiaowang/utils-npm/-/utils-npm-1.0.14.tgz","fileCount":4,"integrity":"sha512-eA7pK2jObhlcLTI8egZpjkhuFTG5LdZXw5FESGqSB2GHySmBSUF6xgbvsu77Sq1QwBgwIZkTiLdh1WJnmM3j+Q==","signatures":[{"sig":"MEUCIQDDxjMH64Nl/cLEwQWuSKG8Gjro5qlU0NqTrXHbJJJTUQIgKPPRjAKt1QbVTY+Cm8S5ffrWj71u9lJ1A+jaW/XZLPU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14360},"main":"index.js","engines":{"node":">=16"},"scripts":{"test":"jest"},"_npmUser":{"name":"chengxuxiaowang","email":"3059644579@qq.com"},"repository":{"url":"git+https://github.com/chengxuxiaowang/utils-npm.git","type":"git"},"_npmVersion":"10.5.0","description":"A lightweight JavaScript utility library for common helper functions.","directories":{},"_nodeVersion":"20.12.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.3.0","leaflet":"^1.9.4"},"peerDependencies":{"leaflet":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/utils-npm_1.0.14_1773369466387_0.4789689920487268","host":"s3://npm-registry-packages-npm-production"}},"1.0.15":{"name":"@chengxuxiaowang/utils-npm","version":"1.0.15","keywords":["leaflet","map","utils","javascript","helpers","tools","library"],"author":{"name":"chengxuxiaowang"},"license":"MIT","_id":"@chengxuxiaowang/utils-npm@1.0.15","maintainers":[{"name":"chengxuxiaowang","email":"3059644579@qq.com"}],"homepage":"https://github.com/chengxuxiaowang/utils-npm#readme","bugs":{"url":"https://github.com/chengxuxiaowang/utils-npm/issues"},"dist":{"shasum":"db6a4dda1d8a97bd19499080fdb51b9174ef5019","tarball":"https://registry.npmjs.org/@chengxuxiaowang/utils-npm/-/utils-npm-1.0.15.tgz","fileCount":4,"integrity":"sha512-1F621q1rdTVM1vWeSPI3OF8KUd9+Eed8cYFfe5gqAV5LbUozh8HSVUWHg0yw0SnS/ewa0nRb8wXCD22FPfiDyQ==","signatures":[{"sig":"MEYCIQCWH4q85l+keeBsMU27NIa85LH0Z2Zol4RCNVtlEkgNIwIhAIWNuRBpPnMu0ukFiXcg3Lud8t7OoKXwwPAA8zwbwY+w","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18806},"main":"index.js","engines":{"node":">=16"},"scripts":{"test":"jest"},"_npmUser":{"name":"chengxuxiaowang","email":"3059644579@qq.com"},"repository":{"url":"git+https://github.com/chengxuxiaowang/utils-npm.git","type":"git"},"_npmVersion":"10.5.0","description":"A lightweight JavaScript utility library for common helper functions.","directories":{},"_nodeVersion":"20.12.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.3.0","leaflet":"^1.9.4"},"peerDependencies":{"leaflet":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/utils-npm_1.0.15_1773376339444_0.06275712461764216","host":"s3://npm-registry-packages-npm-production"}},"1.0.16":{"name":"@chengxuxiaowang/utils-npm","version":"1.0.16","keywords":["leaflet","map","utils","javascript","helpers","tools","library"],"author":{"name":"chengxuxiaowang"},"license":"MIT","_id":"@chengxuxiaowang/utils-npm@1.0.16","maintainers":[{"name":"chengxuxiaowang","email":"3059644579@qq.com"}],"homepage":"https://github.com/chengxuxiaowang/utils-npm#readme","bugs":{"url":"https://github.com/chengxuxiaowang/utils-npm/issues"},"dist":{"shasum":"b42dd03b4ff83b81df54f3b386ef49fb8d64b783","tarball":"https://registry.npmjs.org/@chengxuxiaowang/utils-npm/-/utils-npm-1.0.16.tgz","fileCount":4,"integrity":"sha512-B5U5pfn7t33wuNGBqv2vSO9390T9bvFJRWhvd5EdGPJkZ1M6+XmSMnM76EFpMwMJR0URu2tLDnk0wLoihaWfxQ==","signatures":[{"sig":"MEYCIQDDxDX+lDVHbjBFV83qInVW6vuz+yWKLjHpbbps3ALhOgIhALzvmgY5bzjjKRVD5QthJyjbxw/zhabfQnv/zBUB7Zdv","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19182},"main":"index.js","engines":{"node":">=16"},"scripts":{"test":"jest"},"_npmUser":{"name":"chengxuxiaowang","email":"3059644579@qq.com"},"repository":{"url":"git+https://github.com/chengxuxiaowang/utils-npm.git","type":"git"},"_npmVersion":"10.5.0","description":"A lightweight JavaScript utility library for common helper functions.","directories":{},"_nodeVersion":"20.12.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.3.0","leaflet":"^1.9.4"},"peerDependencies":{"leaflet":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/utils-npm_1.0.16_1773376551872_0.1155228573044702","host":"s3://npm-registry-packages-npm-production"}},"1.0.17":{"name":"@chengxuxiaowang/utils-npm","version":"1.0.17","keywords":["leaflet","map","utils","javascript","helpers","tools","library"],"author":{"name":"chengxuxiaowang"},"license":"MIT","_id":"@chengxuxiaowang/utils-npm@1.0.17","maintainers":[{"name":"chengxuxiaowang","email":"3059644579@qq.com"}],"homepage":"https://github.com/chengxuxiaowang/utils-npm#readme","bugs":{"url":"https://github.com/chengxuxiaowang/utils-npm/issues"},"dist":{"shasum":"9045882e2172c968cc1450e444c29076da77686d","tarball":"https://registry.npmjs.org/@chengxuxiaowang/utils-npm/-/utils-npm-1.0.17.tgz","fileCount":4,"integrity":"sha512-uE1FCwNmjdNLtK95ctb+QRNEyx8SJ4bsahV9cMiYXVrrf1nqjTRxkLkJXJ2OqLG0acGMClFTbT+1G7jS6AoQhw==","signatures":[{"sig":"MEUCIQDc4zFKzyKunpLc30axjdhoRugaQ7Yrjx0gfiJvjXAjhAIgKGq9VW5SRBQnoI7PML2eNlOq8cKtc0NyIgFfPsJiqsg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19715},"main":"index.js","engines":{"node":">=16"},"scripts":{"test":"jest"},"_npmUser":{"name":"chengxuxiaowang","email":"3059644579@qq.com"},"repository":{"url":"git+https://github.com/chengxuxiaowang/utils-npm.git","type":"git"},"_npmVersion":"10.5.0","description":"A lightweight JavaScript utility library for common helper functions.","directories":{},"_nodeVersion":"20.12.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.3.0","leaflet":"^1.9.4"},"peerDependencies":{"leaflet":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/utils-npm_1.0.17_1773376844252_0.9609177920622018","host":"s3://npm-registry-packages-npm-production"}},"1.0.18":{"name":"@chengxuxiaowang/utils-npm","version":"1.0.18","keywords":["leaflet","map","utils","javascript","helpers","tools","library"],"author":{"name":"chengxuxiaowang"},"license":"MIT","_id":"@chengxuxiaowang/utils-npm@1.0.18","maintainers":[{"name":"chengxuxiaowang","email":"3059644579@qq.com"}],"homepage":"https://github.com/chengxuxiaowang/utils-npm#readme","bugs":{"url":"https://github.com/chengxuxiaowang/utils-npm/issues"},"dist":{"shasum":"bc7bfd50c87b78f8a85b557c028fd7e0ad8e8363","tarball":"https://registry.npmjs.org/@chengxuxiaowang/utils-npm/-/utils-npm-1.0.18.tgz","fileCount":4,"integrity":"sha512-hPgO//kP/K1bC99ZEFhwJw95HIf7F9dhcgLGxGrUFAifg8kePzM20pkWNeF2MsNcYMLM5JpMEPXK6vBokk2bKg==","signatures":[{"sig":"MEUCIQDcSs2oaHkg1dJKAV7bVaT7hn2Wnuq8woD/WfOzp9MySwIgWtFdnfdLOANSFxSx/QtMyQOxQmHkM2+HR4CVSS6khkg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20019},"main":"index.js","engines":{"node":">=16"},"scripts":{"test":"jest"},"_npmUser":{"name":"chengxuxiaowang","email":"3059644579@qq.com"},"repository":{"url":"git+https://github.com/chengxuxiaowang/utils-npm.git","type":"git"},"_npmVersion":"10.5.0","description":"A lightweight JavaScript utility library for common helper functions.","directories":{},"_nodeVersion":"20.12.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.3.0","leaflet":"^1.9.4"},"peerDependencies":{"leaflet":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/utils-npm_1.0.18_1773377900888_0.9601662544833389","host":"s3://npm-registry-packages-npm-production"}},"1.0.19":{"name":"@chengxuxiaowang/utils-npm","version":"1.0.19","description":"A lightweight JavaScript utility library for common helper functions.","main":"index.js","scripts":{"test":"jest"},"keywords":["leaflet","map","utils","javascript","helpers","tools","library"],"author":{"name":"chengxuxiaowang"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/chengxuxiaowang/utils-npm.git"},"homepage":"https://github.com/chengxuxiaowang/utils-npm#readme","bugs":{"url":"https://github.com/chengxuxiaowang/utils-npm/issues"},"engines":{"node":">=16"},"peerDependencies":{"leaflet":"^1.9.4"},"devDependencies":{"jest":"^30.3.0","leaflet":"^1.9.4"},"_id":"@chengxuxiaowang/utils-npm@1.0.19","_nodeVersion":"20.12.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-Z94JEUPsPhCdsiq9/T9GDIele1SiU6faw98RiRdcKhcYHDqevg2qv1bGn69MY+Xuoe/NpyD/YyT7pqHOuD1FDw==","shasum":"15934c8d375a585b4883d00a5e2c0e2d5f6c178c","tarball":"https://registry.npmjs.org/@chengxuxiaowang/utils-npm/-/utils-npm-1.0.19.tgz","fileCount":4,"unpackedSize":26096,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCmVtSFrroQGth8uc0XnEcb1+hquOWeTG9lGlVe9BKIzwIhAK+ItCOJq+4sdheK9y69I/WRPVEk4oZRbefIi49TcUIR"}]},"_npmUser":{"name":"chengxuxiaowang","email":"3059644579@qq.com"},"directories":{},"maintainers":[{"name":"chengxuxiaowang","email":"3059644579@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/utils-npm_1.0.19_1773378124206_0.6054344327908199"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-12T06:27:19.982Z","modified":"2026-03-13T05:02:04.490Z","1.0.1":"2026-03-12T06:27:20.168Z","1.0.2":"2026-03-12T06:35:49.755Z","1.0.3":"2026-03-12T06:54:08.486Z","1.0.4":"2026-03-12T06:57:25.061Z","1.0.5":"2026-03-12T08:03:24.583Z","1.0.6":"2026-03-12T08:25:31.293Z","1.0.7":"2026-03-12T08:41:22.851Z","1.0.8":"2026-03-12T09:00:49.791Z","1.0.9":"2026-03-12T09:06:41.529Z","1.0.10":"2026-03-12T09:08:12.519Z","1.0.11":"2026-03-12T09:52:55.385Z","1.0.12":"2026-03-13T02:01:57.131Z","1.0.13":"2026-03-13T02:29:52.773Z","1.0.14":"2026-03-13T02:37:46.516Z","1.0.15":"2026-03-13T04:32:19.576Z","1.0.16":"2026-03-13T04:35:52.011Z","1.0.17":"2026-03-13T04:40:44.411Z","1.0.18":"2026-03-13T04:58:21.033Z","1.0.19":"2026-03-13T05:02:04.368Z"},"bugs":{"url":"https://github.com/chengxuxiaowang/utils-npm/issues"},"author":{"name":"chengxuxiaowang"},"license":"MIT","homepage":"https://github.com/chengxuxiaowang/utils-npm#readme","keywords":["leaflet","map","utils","javascript","helpers","tools","library"],"repository":{"type":"git","url":"git+https://github.com/chengxuxiaowang/utils-npm.git"},"description":"A lightweight JavaScript utility library for common helper functions.","maintainers":[{"name":"chengxuxiaowang","email":"3059644579@qq.com"}],"readme":"# @chengxuxiaowang/utils-npm\r\n## A Clean and Powerful Leaflet Toolkit for Fast Map Creation\r\n\r\n## 安装\r\n\r\n```bash\r\n# 使用前先下载leaflet 并在项目中引入leaflet和样式 全局引入leaflet.css\r\nnpm install leaflet \r\n\r\n# 安装本工具\r\nnpm install @chengxuxiaowang/utils-npm\r\n```\r\n\r\n## 基本使用\r\n\r\n```javascript\r\nconst { loadMap } = require('@chengxuxiaowang/utils-npm');\r\n\r\n// 创建地图\r\nconst map = loadMap('mapContainer', 'GaoDe', {\r\n  center: [39.9042, 116.4074], // 地图中心点 [纬度, 经度]\r\n  zoom: 15, // 初始缩放级别\r\n  mapMode: 'normal' // 地图模式：'normal' 平面图, 'satellite' 卫星图\r\n});\r\n```\r\n\r\n## 支持的地图类型\r\n\r\n| 地图类型 | 支持模式 | 坐标系 | 说明 |\r\n|---------|---------|--------|------|\r\n| TianDiTu | 平面图、卫星图、地形图 | wgs84 | 天地图 |\r\n| GaoDe | 平面图、卫星图 | gcj02 | 高德地图 |\r\n| Google | 平面图、卫星图 | 智能判断 | 谷歌地图（根据位置自动纠偏） |\r\n| Geoq | 平面图（多种风格） | gcj02 | Geoq 地图 |\r\n| Yandex | 平面图、卫星图 | wgs84 | Yandex 地图 |\r\n| Baidu | 平面图、卫星图 | bd09 | 百度地图 |\r\n| Tencent/QQ | 平面图、卫星图、地形图 | gcj02 | 腾讯地图 |\r\n| OSM | 平面图 | wgs84 | OpenStreetMap |\r\n| Offline | 自定义 | 自定义 | 离线地图 |\r\n\r\n## 每种地图的使用示例\r\n\r\n### 1. 天地图\r\n\r\n```javascript\r\n// 天地图 - 平面图\r\nconst map = loadMap('mapContainer', 'TianDiTu', {\r\n  center: [39.9042, 116.4074],\r\n  zoom: 15,\r\n  mapMode: 'normal'\r\n});\r\n\r\n// 天地图 - 卫星图\r\nconst map = loadMap('mapContainer', 'TianDiTu', {\r\n  center: [39.9042, 116.4074],\r\n  zoom: 15,\r\n  mapMode: 'satellite'\r\n});\r\n```\r\n\r\n### 2. 高德地图\r\n\r\n```javascript\r\n// 高德地图 - 平面图\r\nconst map = loadMap('mapContainer', 'GaoDe', {\r\n  center: [39.9042, 116.4074],\r\n  zoom: 15,\r\n  mapMode: 'normal'\r\n});\r\n\r\n// 高德地图 - 卫星图\r\nconst map = loadMap('mapContainer', 'GaoDe', {\r\n  center: [39.9042, 116.4074],\r\n  zoom: 15,\r\n  mapMode: 'satellite'\r\n});\r\n```\r\n\r\n### 3. 谷歌地图\r\n\r\n```javascript\r\n// 谷歌地图 - 平面图（自动判断是否需要纠偏）\r\nconst map = loadMap('mapContainer', 'Google', {\r\n  center: [39.9042, 116.4074], // 中国境内，自动使用 gcj02 坐标系\r\n  zoom: 15,\r\n  mapMode: 'normal'\r\n});\r\n\r\n// 谷歌地图 - 卫星图（自动判断是否需要纠偏）\r\nconst map = loadMap('mapContainer', 'Google', {\r\n  center: [40.7128, -74.0060], // 国外，自动使用 wgs84 坐标系\r\n  zoom: 15,\r\n  mapMode: 'satellite'\r\n});\r\n```\r\n\r\n### 4. Geoq 地图\r\n\r\n```javascript\r\n// Geoq 地图 - 平面图\r\nconst map = loadMap('mapContainer', 'Geoq', {\r\n  center: [39.9042, 116.4074],\r\n  zoom: 15\r\n});\r\n```\r\n\r\n### 5. Yandex 地图\r\n\r\n```javascript\r\n// Yandex 地图 - 平面图\r\nconst map = loadMap('mapContainer', 'Yandex', {\r\n  center: [39.9042, 116.4074],\r\n  zoom: 15,\r\n  mapMode: 'normal'\r\n});\r\n\r\n// Yandex 地图 - 卫星图\r\nconst map = loadMap('mapContainer', 'Yandex', {\r\n  center: [39.9042, 116.4074],\r\n  zoom: 15,\r\n  mapMode: 'satellite'\r\n});\r\n```\r\n\r\n### 6. 百度地图\r\n\r\n```javascript\r\n// 百度地图 - 平面图\r\nconst map = loadMap('mapContainer', 'Baidu', {\r\n  center: [39.9042, 116.4074],\r\n  zoom: 15,\r\n  mapMode: 'normal'\r\n});\r\n\r\n// 百度地图 - 卫星图\r\nconst map = loadMap('mapContainer', 'Baidu', {\r\n  center: [39.9042, 116.4074],\r\n  zoom: 15,\r\n  mapMode: 'satellite'\r\n});\r\n```\r\n\r\n### 7. 腾讯地图\r\n\r\n```javascript\r\n// 腾讯地图 - 平面图\r\nconst map = loadMap('mapContainer', 'Tencent', {\r\n  center: [39.9042, 116.4074],\r\n  zoom: 15,\r\n  mapMode: 'normal'\r\n});\r\n\r\n// 腾讯地图 - 卫星图\r\nconst map = loadMap('mapContainer', 'Tencent', {\r\n  center: [39.9042, 116.4074],\r\n  zoom: 15,\r\n  mapMode: 'satellite'\r\n});\r\n\r\n// QQ 地图（腾讯地图的别名）\r\nconst map = loadMap('mapContainer', 'QQ', {\r\n  center: [39.9042, 116.4074],\r\n  zoom: 15\r\n});\r\n```\r\n\r\n### 8. OpenStreetMap\r\n\r\n```javascript\r\n// OpenStreetMap\r\nconst map = loadMap('mapContainer', 'OSM', {\r\n  center: [39.9042, 116.4074],\r\n  zoom: 15\r\n});\r\n```\r\n\r\n### 9. 离线地图\r\n\r\n```javascript\r\n// 离线地图 - WGS84 坐标系\r\nconst map = loadMap('mapContainer', 'Offline', {\r\n  center: [39.9042, 116.4074],\r\n  zoom: 15,\r\n  offlineTileUrl: 'http://localhost:8080/tiles/{z}/{x}/{y}.png',\r\n  offlineCoordType: 'wgs84'\r\n});\r\n\r\n// 离线地图 - GCJ02 坐标系\r\nconst map = loadMap('mapContainer', 'Offline', {\r\n  center: [39.9042, 116.4074],\r\n  zoom: 15,\r\n  offlineTileUrl: 'http://localhost:8080/tiles/{z}/{x}/{y}.png',\r\n  offlineCoordType: 'gcj02'\r\n});\r\n\r\n// 离线地图 - BD09 坐标系\r\nconst map = loadMap('mapContainer', 'Offline', {\r\n  center: [39.9042, 116.4074],\r\n  zoom: 15,\r\n  offlineTileUrl: 'http://localhost:8080/tiles/{z}/{x}/{y}.png',\r\n  offlineCoordType: 'bd09'\r\n});\r\n```\r\n\r\n## 参数说明\r\n\r\n### 必需参数\r\n- `containerId` - DOM 容器 ID（字符串）\r\n- `mapType` - 地图类型（字符串）\r\n\r\n### 可选参数\r\n- `options.center` - 地图中心点，默认 `[39.9042, 116.4074]`\r\n- `options.zoom` - 初始缩放级别，默认 `13`\r\n- `options.mapMode` - 地图模式，默认 `'normal'`（'normal' 平面图, 'satellite' 卫星图）\r\n- `options.offlineTileUrl` - 离线地图瓦片 URL（仅 mapType='Offline' 时使用）\r\n- `options.offlineCoordType` - 离线地图坐标类型，默认 `'wgs84'`（'gcj02', 'bd09', 'wgs84'）\r\n\r\n## 特殊功能\r\n\r\n### 1. 智能纠偏\r\n- **谷歌地图**：根据中心位置自动判断是否在中国境内，中国境内使用 `gcj02` 坐标系，国外使用 `wgs84` 坐标系\r\n- **其他地图**：根据地图类型固定使用对应坐标系\r\n\r\n### 2. 自动清理\r\n- 当多次调用 `loadMap` 使用同一个容器时，会自动清理已存在的地图实例，避免重复初始化错误\r\n\r\n### 3. 离线地图支持\r\n- 支持自定义瓦片 URL 和坐标系类型\r\n- 可根据离线地图的实际坐标系选择合适的 `offlineCoordType`\r\n\r\n## 坐标系说明\r\n\r\n| 坐标系 | 适用地图 | 说明 |\r\n|---------|---------|------|\r\n| wgs84 | TianDiTu, Yandex, OSM, 国外 Google | 标准 WGS84 坐标系 |\r\n| gcj02 | GaoDe, Geoq, Tencent, 国内 Google | 火星坐标系（中国标准） |\r\n| bd09 | Baidu | 百度坐标系 |\r\n\r\n## 版本管理\r\n\r\n如果修改了代码，需要更新版本并发布：\r\n\r\n```bash\r\n# 升版本\r\nnpm version patch\r\n\r\n# 上传命令\r\nnpm publish --access public\r\n```\r\n","readmeFilename":"README.md"}