Four ports, one answer
The same specification, implemented four times and checked against the same conformance vectors. A coordinate encoded by any one of them is the same ten characters as any other. Not nearly, exactly. Every port is published at 2.0.0.
Each page below is that port's own README, rendered from the repository rather than retold here. What the API does is documented once, beside the code.
- TypeScriptRuns in a browser and on a server, with no dependencies. This site is built on it.npm
@pranavpatel.ca/algo-gridpointcode - PythonStandard library only, and the reference the conformance vectors are generated from.PyPI
gridpointcode_algo_pranavpatel_ca - JavaOne class, no dependencies.Maven Central
ca.pranavpatel.algo:gridpointcode - C#The same arithmetic and the same vectors, on .NET.NuGet
Ca.Pranavpatel.Algo.GridPointCode
The format itself is defined in the specification, which every one of these implements and none of them may contradict.