Is there a mapping somewhere from Node.js version, e.g. 0.10, or 14, to the corresponding ECMAScript version, e.g. ES5, ES2020?
As this question is closed, I can't post the solution I came up with as an answer, so it is here instead.
@bevry/node-versions includes
fetchESVersionForNodeVersion(nodeVersion: string): Promise<string>
which will fetch the ECMAScript version that was ratified by the time that the Node.js version was released.