Node.js ECMAScript compatibility tables
It works by running a script that imports the
latest set of
ES6 ES2015, ES2016 and ES2017 tests from the compat-table project and running
them against several versions of node PLUS
the nightly build. The results are committed/published here.
CLI or programmatic using
There is a Node.js module which you can programmatically check the compatibility. Also, there is a CLI program done this work.
For details, you can check out the two repositories below:
- node-green - Check Node.js ECMAScript compatibility programmatically.
- node-green-cli - CLI program for checking Node.js ECMAScript compatibility.
Making change to the webpage
The webpage is hosted via GitHub.
- aggregates the data from the
/resultsfolder for the versions listed in
index.pug then run:
$ node build.js
** Note: If a version is listed in
v8.versions that doesn't have results generated in the
/results directory, the
column will be empty (all white cells- no text).
How tests are run
A scheduled task runs on Heroku runs
bash test.sh once a day, which saves the results to the
/results directory, rebuilds the webpage.
It then push the changes to the GitHub repo when complete.