Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.04 KB

README.md

File metadata and controls

39 lines (26 loc) · 1.04 KB

AlgorithmJS

build status

Implement some algorithm using javascript

Use && Dev

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.

Test

//for Node
npm test or make test

//for browser
open ./test_in_browser/index.html

Todo

  1. Combine and compress the algorithm scripts in lib automatically for distributtion
  2. Commit npm module
  3. ...

Welcome to fork the project and pull your request!

Bitdeli Badge