/esx-ds-algo

Data structure and algorithm with ES X

Primary LanguageJavaScript

ESX-DS-ALGO

Build Status Coverage Status

It is a repository of data structure and algorithm implemented in ES X, aka. ES6 or ES2015.

Features

  • The repository is implemented with ES6 features instead of Vanilla JS.
  • Test comes with Mocha, Chai, Istanbul.

Build & Test

# 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 )
================================================================================