It is a repository of data structure and algorithm implemented in ES X, aka. ES6 or ES2015.
- The repository is implemented with ES6 features instead of Vanilla JS.
- Test comes with Mocha, Chai, Istanbul.
# Install babel
npm install babel -g
# Install packages
npm install
# Run test cases
npm run test
...
30 passing (41ms)
# Run coverage
npm run coverage
...
...
=============================== Coverage summary ===============================
Statements : 92.22% ( 1696/1839 )
Branches : 71.55% ( 327/457 )
Functions : 94.84% ( 294/310 )
Lines : 92.9% ( 1649/1775 )
================================================================================