Back to Explore

proj4js/mgrs

GitHub
1 updates · last 90 days1 watchersOpen source

Last release:

A JavaScript utility for converting between WGS84 latitude/longitude and MGRS (Military Grid Reference System) coordinates. It provides forward conversion (lon/lat to MGRS string), inverse conversion (MGRS string to a bounding box), and toPoint (MGRS string to lon/lat).

Project status

  • Actively maintained, with the latest recorded updates on 2026-07-11 (v2.2.0), and prior update activity in 2025 (v2.1.0).
  • Apparent cadence is modest, roughly annual between 2025-01 and 2026-07, suggesting continued but not frequent improvements.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v2.2.0

    v2.2.0 is a small bug fix release focused on correcting how MGRS decoding handles 100 km (0-digit accuracy) cases. The change ensures the decoder always applies the expected accuracy bonus, and new tests were added around 100 km square behavior.

  • v2.1.0

    v2.1.0 is a small release focused on correcting MGRS inverse behavior. The shipped code changes adjust how the library decides whether the computed latitude and longitude values are valid, specifically addressing cases where a value is 0.

  • v2.0.0

    The release notes only announce v2.0.0 as a new major release with credits to multiple contributors, without listing any specific functional changes. The actual diff shows only version metadata updates in package.json and package-lock.json.

  • v1.0.1-alpha.0

    v1.0.1-alpha.0 focuses on tightening the published package contents, updating a large set of npm dependencies (including security-related fixes), and improving functionality around decoding and accuracy. It also introduces 100 km accuracy support and adds TypeScript typings, while changing internal HTTP behavior by removing the node-fetch dependency.

    BreakingSecurityFeatures