ECMAScript 5/6/7 compatibility command line tool
ECMAScript 5/6/7 compatibility tables CLI
# $ npm install --global compat-cli
# Dev mode only for now
$ git clone https://github.com/kamilogorek/compat-cli.git
$ cd compat-cli
$ npm install
$ npm install -g babel
$ babel-node bin/compat-cli.js <name> [options]
$ compat-cli --help
Usage: bin/compat-cli.js <name> [options]
Options:
--subtests Include subtests in the report [boolean]
--unstable Include unstable browsers [boolean]
--obsolete Include obsolete browsers [boolean]
--spec ECMSScript specification version
[choices: "es5", "es6", "es7", "esintl", "non-standard"] [default: "es6"]
--sort-key Sorting key [choices: "browser", "score"] [default: "browser"]
--sort-order Sorting order [choices: "asc", "desc"]
--update Fetch fresh data set [boolean]
-h, --help Show help [boolean]
Examples:
bin/compat-cli.js rest Verify `rest` API compatibility
bin/compat-cli.js class -s --sort-key= Display `class` compatibility based
score on ES7 spec, including subtests
information and sorted by score