这个存储库包含了不同计算机科学著名算法的JavaScript实现.
API reference with usage examples available here.
安装所有的开发依赖
Call:
npm install
使用文档设置存仓库
npm run doc
这将构建文档并在浏览器中打开它。
使用文档更新.html文件
再执行一次npm run doc
.
运行测试
Call:
gulp test
所有的 *.spec.js
都会被执行。
部署文档网站
npm run deploy
这需要您对Git远程进行提交访问。
Fork the repo and make required changes. After that push your changes in branch, which is named according to the changes you did. Initiate the PR.
Make sure you're editor makes validations according to the .jshintrc
in the root directory of the repository.
Before pushing to the repository run:
gulp build
If the build is not successful fix your code in order the tests and jshint validation to run successfully and after that create a pull request.
mgechev | AndriiHeonia | Jakehp | lygstate | mik-laj | jeremyckahn |
krzysztof-grzybek | pvoznenko | jettcalleja | kdamball | lekkas | infusion |
deniskyashif | filipefalcaos | designeng | Microfed | pkerpedjiev | Xuefeng-Zhu |
liesislukas | alexjoverm | BorislavBorisov22 | ysharplanguage | contra | amilajack |
maurobringolf | millerrach | fanixk | miyes | shaunak1111 |
The code in this repository is distributed under the terms of the MIT license.