Implement some algorithm using javascript
Fork or clone to your local ENV
git clone https://github.com/imnemo/AlgorithmJS.git
cd AlgorithmJS
npm install ./
To add new algorithm script, please use the code template lib/algorithm.tpl.js
Add your test script to the folder test
, use test.
for the prefix when naming your script. This is for Node. As to testing in browser, just include your test script in test_in_browser/index.html
. You know how to make it to work.
//for Node
npm test or make test
//for browser
open ./test_in_browser/index.html
- Combine and compress the algorithm scripts in
lib
automatically for distributtion - Commit npm module
- ...