An open API service indexing awesome lists of open source software.

https://github.com/harryho/esx-ds-algo

Data structure and algorithm with ES X
https://github.com/harryho/esx-ds-algo

algorithm data-structure es2015 es6

Last synced: 5 months ago
JSON representation

Data structure and algorithm with ES X

Awesome Lists containing this project

README

          

# ESX-DS-ALGO

[![Build Status](https://travis-ci.org/harryho/esx-ds-algo.svg?branch=master)](https://travis-ci.org/harryho/esx-ds-algo)
[![Coverage Status](https://coveralls.io/repos/github/harryho/esx-ds-algo/badge.svg?branch=master)](https://coveralls.io/github/harryho/esx-ds-algo?branch=master)

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

```