Module:Version/doc

The main entrypoint is the "get" function. First parameter is release, can be "stable", "legacy" or "lts". Second parameter is the format, can be "version", "branch", "git", or "date".