estructura v0.1.9
Estructura
Data Structures written in JavaScript for Node.js
Please feel free to open an Issue for Features, new Data Structures etc.
Overview
Note: the Double Linked List should NOT be used anymore. Use the Doubly Linked List instead.
Installation
npm install estructura --saveTesting & Code Coverage
git clone https://github.com/airliti/estructura.gitThe repository on GitHub is only containing the code which is using the latest version of JavaScript. But to keep it compatible with at least Node.js version 6.10.2, Grunt and Babel are being used to transpile the code to valid EcmaScript 2015 code.
npm installThe npm install command will install Babel and Grunt for the ES6 version of
Estructura. Then execute the grunt build command to create the package used
for the NPM release.
grunt buildGo to the newly created package folder and run the npm install command to
install Mocha, Chai and Istanbul.
cd package
npm installIf you just want to verify whether the src code is working. Go to that directory
and install the devDependencies and dependencies with:
cd src
npm installOnce you've chosen either the src or package version, go to that specific
folder and execute the Unit Tests with:
npm testAnd to get a report on Code Coverage, use:
npm run coverage6 years ago
6 years ago
8 years ago
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago