Giter Club home page Giter Club logo

node-compat-table's Introduction

Node.js ECMAScript compatibility tables

node-compat-tables is built on top of Kangax's hard work. The majority of the credit needs to be given to the contributors of that project.

Although Kangax's compat table is amazing, it focuses on the entire Javascript ecosystem. As a Node.js developer- I, thankfully, do not need to be super concerned with all of the flavors out there. What I do need are deeper insights in the variations across the fast moving versions of Node.js. So, I created node-compat-table.

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.

The build.js file:

  1. aggregates the data from the /results folder for the versions listed in v8.versions
  2. uses index.pug to generate index.html

So, change 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.

js-standard-style

License

MIT Copyright (c) William Kapke

node-compat-table's People

Contributors

chalker avatar dougwilson avatar g-plane avatar gaboesquivel avatar gbrail avatar hokaccha avatar hubbed avatar hugosenari avatar jordanbtucker avatar matthiaskunnen avatar michaelficarra avatar nikolaymatrosov avatar rsp avatar simi avatar williamboman avatar williamkapke avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.