Utm a Lat Long

<script type="module">
        import { LatLon } from 'https://cdn.jsdelivr.net/npm/geodesy@2/utm.js';
        const latLongP = new LatLon(52.2, 0.12);
        const utmCoord = latLongP.toUtm();
        console.log(utmCoord.toString()); // '31 N 303189 5787193'
    </script>
hafolahbi