{"name":"mgrs","version":"2.0.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"},"gitHead":"854c415537be3d8029e749a8479464409cd0ea12","homepage":"https://github.com/proj4js/mgrs#readme","_id":"mgrs@2.0.0","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-dZcHEp/5onp3XN9A/ZSTVB46uhvZPaoepJa1col3K+ZnkrSeY++4AXXHUEplev5pk7BYYorXaZluHHn0GsZK1Q==","shasum":"7f2fecba44659789026f67f3cf9db7a26ba1ef58","tarball":"http://registry-npm.ywwl.com/mgrs/download/mgrs-2.0.0.tgz","fileCount":10,"unpackedSize":123989,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBAAuhL7lHINr70Myqw+Z/iubIC2lVWWepI9YiDm4MwnAiEA4rmjbG7Gn/17N+et5G5SLq9lC6fIi1b85M36W43JU8g="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkFkRGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpZXg//cugG9BOZsc6J5ArDYROiC9jAyysUX2P9rK5jV/rcwymvc6SF\r\nlC8vDQNIm3MStPh9p3K0vDaAqPer0FyZXaom3UIddPvxIAs98uNs0P/O+8Du\r\neY/4bMnc/ByY3F2HohzfywbzAEqpMpEbt04f7o1BYkONiu+PN9n5GmIvU8Za\r\nYwDg5etN78Z6fHxO0TM6kQ8KBAVfJqFrGPNmoUYWEChT5n/eeMjZeTrjEAnf\r\ndrcsTS7inPNxNGw6vwS3iM0avuW0GTfkuxs6rz97JLCInL+679K7g/Pybk/B\r\nIbe/yOpw6k0LxhV2xEm00wZZoLfbeemy5k2WM0yHGS9D6F9U8EgLGwWiG4sF\r\nY85kM1A6oYrqxOqIiKRbgdaUdaIK2jtuC3m9sxNgTiLN/WSMj5LpL37sx50M\r\npQk0G2o7Bwn2gM5GZMCQiJ6ZIATP30CQ57NkrYIqlihenEA2fSlmC9SzkZKk\r\nGk8ymYgfLyD9HkagrhcNixc5e+6ooobBFgvYCFPXm/3Ibl1FObaiHWL3JrJ9\r\nxwW964Fln1Ht6nXyDh89I9oZ/jRquPsDBOmLQv+ZqPIq3lQEuCBpUeesBac3\r\nDalqm0bt6AGQj8l4bh2i/nNsOsnIuzsw2vWfHRg1abkrnBz0cRsHl0wYmSVk\r\nomnep8acOUNBJOpgSqYvRIULJamORF+EDMc=\r\n=C1GS\r\n-----END PGP SIGNATURE-----\r\n","size":23759,"noattachment":false,"key":"/mgrs/-/mgrs-2.0.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","tmp":"tmp/mgrs_2.0.0_1679180870256_0.19554003170253598"},"_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":1679180870414,"_cnpm_publish_time":1679180870414,"dist-tags":{"latest":"2.2.0","next":"1.0.1-alpha.0"}}