Ben Campion
Ben Campion
I honestly can't remember. This was a hobby project that I never had any practical use for. I haven't thought about the code for many years. If I had to...
I've never used Kotlin before, but in Java [`Optional.ifPresent()`](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Optional.html#ifPresent(java.util.function.Consumer)) is `void` method, i.e. a method that doesn't return anything. It seems reasonable that the method might return `Kotlin.Unit` when called...
It's only as accurate as the [Geoname shape polygons](https://download.geonames.org/export/dump/), which are only publicly available in a low resolution. There will be inaccuracies with locations close the borders or coasts where...
[CommonJS support was removed in `[email protected]`](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md#1200-2025-09-05). Modern versions of Node [enabled `require(esm)` by default](https://nodejs.org/en/blog/release/v22.12.0) so you can still use `uuid` in CommonJS code, but modules loaded in this way don't...