{"name":"mgrs","version":"2.2.0","description":"Utility for converting between WGS84 lat/lng and MGRS coordinates","main":"dist/mgrs.min.js","module":"dist/mgrs.esm.js","types":"index.d.ts","scripts":{"lint":"eslint mgrs.js && eslint test","pretest":"npm run clean && npm run build","test":"nyc mocha test/test.js","clean":"rimraf dist","build":"mkdir dist && rollup -c","setup":"cd test && node setup.js"},"repository":{"type":"git","url":"git://github.com/proj4js/mgrs.git"},"keywords":["geodesy","mgrs","proj4","gis"],"author":{"name":"proj4 team"},"license":"MIT","bugs":{"url":"https://github.com/proj4js/mgrs/issues"},"devDependencies":{"chai":"^4.2.0","eslint":"^6.3.0","mocha":"^6.2.0","nyc":"^14.1.1","rimraf":"^3.0.0","rollup":"^1.21.2","rollup-plugin-terser":"^5.1.1"},"_id":"mgrs@2.2.0","gitHead":"37e72fab26da54e13e44aad39d91918fb75a9f25","homepage":"https://github.com/proj4js/mgrs#readme","_nodeVersion":"22.13.1","_npmVersion":"11.1.0","dist":{"integrity":"sha512-BHeewhEJ1n2MOFKvGXFPMxgfczWArFGltBYSZ+JTzlNfHSwJ7gEsXGXFjaU619yLmpmtyoLHu+d8Sd6ACsd0QA==","shasum":"220846e4123d7c93617a5e92a95220929c5ea06c","tarball":"http://registry-npm.ywwl.com/mgrs/download/mgrs-2.2.0.tgz","fileCount":10,"unpackedSize":124365,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAg2ho9Qh8Yd9p8Btag9I7xQrGGbyl4AEQ56hf+TltjxAiA0m6uSqcvqLZIwVrRDPWuYEFBgXAm1yENfjWNVtA3dMA=="}],"size":24012,"noattachment":false,"key":"/mgrs/-/mgrs-2.2.0.tgz"},"_npmUser":{"name":"danieljdufour","email":"daniel.j.dufour@gmail.com"},"directories":{},"maintainers":[{"name":"ahocevar","email":"andreas.hocevar@gmail.com"},{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"danieljdufour","email":"daniel.j.dufour@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mgrs_2.2.0_1783778588879_0.7711709827143933"},"_hasShrinkwrap":false,"readme":"mgrs\n====\n\nUtility for converting between WGS84 lat/lng and MGRS coordinates, spunoff from [proj4js](https://github.com/proj4js/proj4js)\n\nhas 3 methods\n\n- forward, takes an array of `[lon,lat]` and optional accuracy and returns an mgrs string\n- inverse, takes an mgrs string and returns a bbox. \n- toPoint, takes an mgrs string, returns an array of '[lon,lat]'\n\ninstall dev dependencies with \n\n```bash\nnpm install\n```\n\ntest with\n\n```bash\nnpm test\n```\n\nbuild with\n\n```bash\nnpm run build\n```\n\n\nLicensed under the MIT license except:\n\nPortions of this software are based on a port of components from the OpenMap\ncom.bbn.openmap.proj.coords Java package. An initial port was initially created\nby Patrice G. Cappelaere and included in Community Mapbuilder\n(http://svn.codehaus.org/mapbuilder/), which is licensed under the LGPL license\nas per http://www.gnu.org/copyleft/lesser.html. OpenMap is licensed under the\n[this license agreement](openmap.md)\n\n# references:\n- Wikipedia: https://en.wikipedia.org/wiki/Military_Grid_Reference_System\n- GEOTRANS: https://earth-info.nga.mil/#geotrans\n","publish_time":1783778589005,"_cnpm_publish_time":1783778589005,"dist-tags":{"latest":"2.2.0","next":"1.0.1-alpha.0"}}