{"_id":"algorithms","_rev":"153296","name":"algorithms","description":"Traditional computer science algorithms and data structures implemented in JavaScript","dist-tags":{"latest":"0.10.0"},"maintainers":[{"name":"felipernb","email":"felipernb@gmail.com"}],"time":{"modified":"2021-06-03T11:34:11.000Z","created":"2014-05-30T18:05:17.924Z","0.10.0":"2016-05-04T20:07:21.808Z","0.9.1":"2015-08-05T08:05:45.136Z","0.9.0":"2015-02-11T18:00:27.614Z","0.8.2":"2014-11-16T22:30:24.114Z","0.8.1":"2014-11-14T12:31:31.431Z","0.8.0":"2014-10-29T14:22:09.277Z","0.7.1":"2014-10-18T11:15:08.202Z","0.7.0":"2014-10-11T22:38:02.622Z","0.6.1":"2014-08-15T10:58:50.220Z","0.6.0":"2014-08-15T10:51:03.217Z","0.5.0":"2014-07-09T13:12:46.395Z","0.4.0":"2014-06-06T21:55:54.799Z","0.3.0":"2014-06-04T22:11:40.682Z","0.2.0":"2014-06-02T08:33:08.712Z","0.1.0":"2014-05-31T11:07:51.379Z","0.0.1":"2014-05-30T18:05:17.924Z"},"users":{"garrickajo":true,"brunocalou":true,"filipve":true,"leomdg":true,"firerishi":true,"thomasmeadows":true,"rexpan":true},"author":{"name":"Felipe Ribeiro","email":"felipernb@gmail.com","url":"http://github.com/felipernb"},"repository":{"type":"git","url":"git+https://github.com/felipernb/algorithms.js.git"},"versions":{"0.10.0":{"name":"algorithms","version":"0.10.0","description":"Traditional computer science algorithms and data structures implemented in JavaScript","main":"./index.js","scripts":{"lint":"eslint src/","test":"mocha -R spec --recursive src/test"},"pre-commit":["lint","test"],"dependencies":{},"devDependencies":{"coveralls":"^2.11.4","eslint":"^2.8.0","istanbul":"^0.4.0","mocha":"^2.3.3","pre-commit":"^1.1.2"},"repository":{"type":"git","url":"git+https://github.com/felipernb/algorithms.js.git"},"keywords":["computer science","cs","algorithms","data structures"],"author":{"name":"Felipe Ribeiro","email":"felipernb@gmail.com","url":"http://github.com/felipernb"},"contributors":[{"name":"eush77","email":"eush77@gmail.com"},{"name":"tayllan","email":"tayllanburigo@gmail.com"},{"name":"anaran","email":"adrian.aichner@gmail.com"},{"name":"Joshua Curl","email":"curljosh@msu.edu"},{"name":"nitinsaroha","email":"nitinsaroha6@hotmail.com"},{"name":"Andre P. Oliveira","email":"aoliveira01.student@manhattan.edu"},{"name":"Iain McDonald","email":"iain@lifebeyondfife.com"},{"name":"dingshu","email":"ds303077135@gmail.com"},{"name":"Liam Griffiths","email":"liamgriffiths@gmail.com"},{"name":"BrunoRB","email":"brunorb8@hotmail.com"},{"name":"geakstr","email":"geakstr@me.com"},{"name":"Matt R. Wilson","email":"matt.wilson@warbyparker.com"},{"name":"Gaurav Mittal","email":"gaurav.mittal@students.iiit.ac.in"},{"name":"Juan Lopes","email":"me@juanlopes.net"},{"name":"Evandro Eisinger","email":"evandroeisinger@gmail.com"},{"name":"Gibran Malheiros","email":"gibatronic@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/felipernb/algorithms.js/issues"},"homepage":"https://github.com/felipernb/algorithms.js/wiki","_id":"algorithms@0.10.0","_shasum":"f93ffd435d79fd3fc0b32e28ef3629240b71b720","_from":".","_npmVersion":"3.8.7","_nodeVersion":"5.9.0","_npmUser":{"name":"felipernb","email":"felipernb@gmail.com"},"dist":{"shasum":"f93ffd435d79fd3fc0b32e28ef3629240b71b720","size":53349,"noattachment":false,"key":"/algorithms/-/algorithms-0.10.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/algorithms/download/algorithms-0.10.0.tgz"},"maintainers":[{"name":"felipernb","email":"felipernb@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/algorithms-0.10.0.tgz_1462392440421_0.22282139724120498"},"directories":{},"publish_time":1462392441808,"_cnpm_publish_time":1462392441808,"_hasShrinkwrap":false},"0.9.1":{"name":"algorithms","version":"0.9.1","description":"Traditional computer science algorithms and data structures implemented in JavaScript","main":"./index.js","scripts":{"lint":"eslint src/","test":"mocha -R spec --recursive src/test"},"pre-commit":["lint","test"],"dependencies":{},"devDependencies":{"coveralls":"^2.11.3","eslint":"^1.0.0","istanbul":"^0.3.17","mocha":"^2.2.5","pre-commit":"^1.1.1"},"repository":{"type":"git","url":"git+https://github.com/felipernb/algorithms.js.git"},"keywords":["computer science","cs","algorithms","data structures"],"author":{"name":"Felipe Ribeiro","email":"felipernb@gmail.com","url":"http://github.com/felipernb"},"contributors":[{"name":"eush77","email":"eush77@gmail.com"},{"name":"tayllan","email":"tayllanburigo@gmail.com"},{"name":"anaran","email":"adrian.aichner@gmail.com"},{"name":"Joshua Curl","email":"curljosh@msu.edu"},{"name":"nitinsaroha","email":"nitinsaroha6@hotmail.com"},{"name":"Andre P. Oliveira","email":"aoliveira01.student@manhattan.edu"},{"name":"Iain McDonald","email":"iain@lifebeyondfife.com"},{"name":"dingshu","email":"ds303077135@gmail.com"},{"name":"Liam Griffiths","email":"liamgriffiths@gmail.com"},{"name":"BrunoRB","email":"brunorb8@hotmail.com"},{"name":"geakstr","email":"geakstr@me.com"},{"name":"Matt R. Wilson","email":"matt.wilson@warbyparker.com"},{"name":"Gaurav Mittal","email":"gaurav.mittal@students.iiit.ac.in"},{"name":"Juan Lopes","email":"me@juanlopes.net"}],"license":"MIT","bugs":{"url":"https://github.com/felipernb/algorithms.js/issues"},"homepage":"https://github.com/felipernb/algorithms.js/wiki","_id":"algorithms@0.9.1","_shasum":"95a45650df7f64f3d91cc589454354eb2c15d623","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.7","_npmUser":{"name":"felipernb","email":"felipernb@gmail.com"},"dist":{"shasum":"95a45650df7f64f3d91cc589454354eb2c15d623","size":45071,"noattachment":false,"key":"/algorithms/-/algorithms-0.9.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/algorithms/download/algorithms-0.9.1.tgz"},"maintainers":[{"name":"felipernb","email":"felipernb@gmail.com"}],"directories":{},"publish_time":1438761945136,"_cnpm_publish_time":1438761945136,"_hasShrinkwrap":false},"0.9.0":{"name":"algorithms","version":"0.9.0","description":"Traditional computer science algorithms and data structures implemented in JavaScript","directories":{"test":"test"},"main":"./index.js","dependencies":{},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.5","jshint":"~2.4.4","mocha":"^2.1.0"},"repository":{"type":"git","url":"https://github.com/felipernb/algorithms.js"},"keywords":["computer science","cs","algorithms","data structures"],"author":{"name":"Felipe Ribeiro","email":"felipernb@gmail.com","url":"http://github.com/felipernb"},"contributors":[{"name":"eush77","email":"eush77@gmail.com"},{"name":"tayllan","email":"tayllanburigo@gmail.com"},{"name":"anaran","email":"adrian.aichner@gmail.com"},{"name":"Joshua Curl","email":"curljosh@msu.edu"},{"name":"nitinsaroha","email":"nitinsaroha6@hotmail.com"},{"name":"Andre P. Oliveira","email":"aoliveira01.student@manhattan.edu"},{"name":"Iain McDonald","email":"iain@lifebeyondfife.com"},{"name":"dingshu","email":"ds303077135@gmail.com"},{"name":"Liam Griffiths","email":"liamgriffiths@gmail.com"},{"name":"BrunoRB","email":"brunorb8@hotmail.com"},{"name":"geakstr","email":"geakstr@me.com"},{"name":"Matt R. Wilson","email":"matt.wilson@warbyparker.com"},{"name":"Gaurav Mittal","email":"gaurav.mittal@students.iiit.ac.in"}],"license":"MIT","bugs":{"url":"https://github.com/felipernb/algorithms.js/issues"},"homepage":"https://github.com/felipernb/algorithms.js/wiki","_id":"algorithms@0.9.0","dist":{"shasum":"ab0d38a9dc14f2ec0fe5e210f285d0149ab8561c","size":42979,"noattachment":false,"key":"/algorithms/-/algorithms-0.9.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/algorithms/download/algorithms-0.9.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"felipernb","email":"felipernb@gmail.com"},"maintainers":[{"name":"felipernb","email":"felipernb@gmail.com"}],"publish_time":1423677627614,"_cnpm_publish_time":1423677627614,"_hasShrinkwrap":false},"0.8.2":{"name":"algorithms","version":"0.8.2","description":"Traditional computer science algorithms and data structures implemented in JavaScript","directories":{"test":"test"},"main":"./index.js","dependencies":{},"devDependencies":{"coveralls":"^2.10.0","istanbul":"^0.2.10","jshint":"~2.4.4","mocha":"^1.20.0"},"repository":{"type":"git","url":"https://github.com/felipernb/algorithms.js"},"keywords":["computer science","cs","algorithms","data structures"],"author":{"name":"Felipe Ribeiro","email":"felipernb@gmail.com","url":"http://github.com/felipernb"},"contributors":[{"name":"eush77","email":"eush77@gmail.com"},{"name":"tayllan","email":"tayllanburigo@gmail.com"},{"name":"anaran","email":"adrian.aichner@gmail.com"},{"name":"Joshua Curl","email":"curljosh@msu.edu"},{"name":"nitinsaroha","email":"nitinsaroha6@hotmail.com"},{"name":"Andre P. Oliveira","email":"aoliveira01.student@manhattan.edu"},{"name":"Iain McDonald","email":"iain@lifebeyondfife.com"},{"name":"dingshu","email":"ds303077135@gmail.com"},{"name":"Liam Griffiths","email":"liamgriffiths@gmail.com"},{"name":"BrunoRB","email":"brunorb8@hotmail.com"},{"name":"geakstr","email":"geakstr@me.com"},{"name":"Matt R. Wilson","email":"matt.wilson@warbyparker.com"},{"name":"Gaurav Mittal","email":"gaurav.mittal@students.iiit.ac.in"}],"license":"MIT","bugs":{"url":"https://github.com/felipernb/algorithms.js/issues"},"homepage":"https://github.com/felipernb/algorithms.js/wiki","_id":"algorithms@0.8.2","scripts":{},"_shasum":"a049aac24eb5ee308579fe03e4c77f81d195f53d","_from":".","_npmVersion":"2.1.8","_nodeVersion":"0.10.25","_npmUser":{"name":"felipernb","email":"felipernb@gmail.com"},"maintainers":[{"name":"felipernb","email":"felipernb@gmail.com"}],"dist":{"shasum":"a049aac24eb5ee308579fe03e4c77f81d195f53d","size":42944,"noattachment":false,"key":"/algorithms/-/algorithms-0.8.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/algorithms/download/algorithms-0.8.2.tgz"},"publish_time":1416177024114,"_cnpm_publish_time":1416177024114,"_hasShrinkwrap":false},"0.8.1":{"name":"algorithms","version":"0.8.1","description":"Traditional computer science algorithms and data structures implemented in JavaScript","directories":{"test":"test"},"main":"./index.js","dependencies":{},"devDependencies":{"coveralls":"^2.10.0","istanbul":"^0.2.10","jshint":"~2.4.4","mocha":"^1.20.0"},"repository":{"type":"git","url":"https://github.com/felipernb/algorithms.js"},"keywords":["computer science","cs","algorithms","data structures"],"author":{"name":"Felipe Ribeiro","email":"felipernb@gmail.com","url":"http://github.com/felipernb"},"contributors":[{"name":"eush77","email":"eush77@gmail.com"},{"name":"tayllan","email":"tayllanburigo@gmail.com"},{"name":"anaran","email":"adrian.aichner@gmail.com"},{"name":"Joshua Curl","email":"curljosh@msu.edu"},{"name":"nitinsaroha","email":"nitinsaroha6@hotmail.com"},{"name":"Andre P. Oliveira","email":"aoliveira01.student@manhattan.edu"},{"name":"Iain McDonald","email":"iain@lifebeyondfife.com"},{"name":"dingshu","email":"ds303077135@gmail.com"},{"name":"Liam Griffiths","email":"liamgriffiths@gmail.com"},{"name":"BrunoRB","email":"brunorb8@hotmail.com"},{"name":"geakstr","email":"geakstr@me.com"},{"name":"Matt R. Wilson","email":"matt.wilson@warbyparker.com"},{"name":"Gaurav Mittal","email":"gaurav.mittal@students.iiit.ac.in"}],"license":"MIT","bugs":{"url":"https://github.com/felipernb/algorithms.js/issues"},"homepage":"https://github.com/felipernb/algorithms.js/wiki","_id":"algorithms@0.8.1","dist":{"shasum":"b076bc6a205dac638cdeaed5ebf93a0994c41f2a","size":53065,"noattachment":false,"key":"/algorithms/-/algorithms-0.8.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/algorithms/download/algorithms-0.8.1.tgz"},"_from":".","_npmVersion":"1.3.18","_npmUser":{"name":"felipernb","email":"felipernb@gmail.com"},"maintainers":[{"name":"felipernb","email":"felipernb@gmail.com"}],"publish_time":1415968291431,"_cnpm_publish_time":1415968291431,"_hasShrinkwrap":false},"0.8.0":{"name":"algorithms","version":"0.8.0","description":"Traditional computer science algorithms and data structures implemented in JavaScript","directories":{"test":"test"},"main":"./index.js","dependencies":{},"devDependencies":{"coveralls":"^2.10.0","istanbul":"^0.2.10","jshint":"~2.4.4","mocha":"^1.20.0"},"repository":{"type":"git","url":"https://github.com/felipernb/algorithms.js"},"keywords":["computer science","cs","algorithms","data structures"],"author":{"name":"Felipe Ribeiro","email":"felipernb@gmail.com","url":"http://github.com/felipernb"},"contributors":[{"name":"eush77","email":"eush77@gmail.com"},{"name":"tayllan","email":"tayllanburigo@gmail.com"},{"name":"anaran","email":"adrian.aichner@gmail.com"},{"name":"Joshua Curl","email":"curljosh@msu.edu"},{"name":"nitinsaroha","email":"nitinsaroha6@hotmail.com"},{"name":"Andre P. Oliveira","email":"aoliveira01.student@manhattan.edu"},{"name":"Iain McDonald","email":"iain@lifebeyondfife.com"},{"name":"dingshu","email":"ds303077135@gmail.com"},{"name":"Liam Griffiths","email":"liamgriffiths@gmail.com"},{"name":"BrunoRB","email":"brunorb8@hotmail.com"},{"name":"geakstr","email":"geakstr@me.com"},{"name":"Matt R. Wilson","email":"matt.wilson@warbyparker.com"},{"name":"Gaurav Mittal","email":"gaurav.mittal@students.iiit.ac.in"}],"license":"MIT","bugs":{"url":"https://github.com/felipernb/algorithms.js/issues"},"homepage":"https://github.com/felipernb/algorithms.js/wiki","_id":"algorithms@0.8.0","dist":{"shasum":"d5248ef5df04cc393b6a018b6a5cf242c5feb81f","size":42333,"noattachment":false,"key":"/algorithms/-/algorithms-0.8.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/algorithms/download/algorithms-0.8.0.tgz"},"_from":".","_npmVersion":"1.3.18","_npmUser":{"name":"felipernb","email":"felipernb@gmail.com"},"maintainers":[{"name":"felipernb","email":"felipernb@gmail.com"}],"publish_time":1414592529277,"_cnpm_publish_time":1414592529277,"_hasShrinkwrap":false},"0.7.1":{"name":"algorithms","version":"0.7.1","description":"Traditional computer science algorithms and data structures implemented in JavaScript","directories":{"test":"test"},"main":"src/index.js","dependencies":{},"devDependencies":{"coveralls":"^2.10.0","istanbul":"^0.2.10","jshint":"~2.4.4","mocha":"^1.20.0"},"repository":{"type":"git","url":"https://github.com/felipernb/algorithms.js"},"keywords":["computer science","cs","algorithms","data structures"],"author":{"name":"Felipe Ribeiro","email":"felipernb@gmail.com","url":"http://github.com/felipernb"},"contributors":[{"name":"eush77","email":"eush77@gmail.com"},{"name":"tayllan","email":"tayllanburigo@gmail.com"},{"name":"anaran","email":"adrian.aichner@gmail.com"},{"name":"Joshua Curl","email":"curljosh@msu.edu"},{"name":"nitinsaroha","email":"nitinsaroha6@hotmail.com"},{"name":"Andre P. Oliveira","email":"aoliveira01.student@manhattan.edu"},{"name":"Iain McDonald","email":"iain@lifebeyondfife.com"},{"name":"dingshu","email":"ds303077135@gmail.com"},{"name":"Liam Griffiths","email":"liamgriffiths@gmail.com"},{"name":"BrunoRB","email":"brunorb8@hotmail.com"},{"name":"geakstr","email":"geakstr@me.com"},{"name":"Matt R. Wilson","email":"matt.wilson@warbyparker.com"},{"name":"Gaurav Mittal","email":"gaurav.mittal@students.iiit.ac.in"}],"license":"MIT","bugs":{"url":"https://github.com/felipernb/algorithms.js/issues"},"homepage":"https://github.com/felipernb/algorithms.js/wiki","_id":"algorithms@0.7.1","dist":{"shasum":"8c5bac5205204b79d30c2bcc47f2ce0413115134","size":51981,"noattachment":false,"key":"/algorithms/-/algorithms-0.7.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/algorithms/download/algorithms-0.7.1.tgz"},"_from":".","_npmVersion":"1.3.18","_npmUser":{"name":"felipernb","email":"felipernb@gmail.com"},"maintainers":[{"name":"felipernb","email":"felipernb@gmail.com"}],"publish_time":1413630908202,"_cnpm_publish_time":1413630908202,"_hasShrinkwrap":false},"0.7.0":{"name":"algorithms","version":"0.7.0","description":"Traditional computer science algorithms and data structures implemented in JavaScript","directories":{"test":"test"},"main":"src/index.js","dependencies":{},"devDependencies":{"coveralls":"^2.10.0","istanbul":"^0.2.10","jshint":"~2.4.4","mocha":"^1.20.0"},"repository":{"type":"git","url":"https://github.com/felipernb/algorithms.js"},"keywords":["computer science","cs","algorithms","data structures"],"author":{"name":"Felipe Ribeiro","email":"felipernb@gmail.com","url":"http://github.com/felipernb"},"contributors":[{"name":"eush77","email":"eush77@gmail.com"},{"name":"tayllan","email":"tayllanburigo@gmail.com"},{"name":"anaran","email":"adrian.aichner@gmail.com"},{"name":"Joshua Curl","email":"curljosh@msu.edu"},{"name":"nitinsaroha","email":"nitinsaroha6@hotmail.com"},{"name":"Andre P. Oliveira","email":"aoliveira01.student@manhattan.edu"},{"name":"Iain McDonald","email":"iain@lifebeyondfife.com"},{"name":"dingshu","email":"ds303077135@gmail.com"},{"name":"Liam Griffiths","email":"liamgriffiths@gmail.com"},{"name":"BrunoRB","email":"brunorb8@hotmail.com"},{"name":"geakstr","email":"geakstr@me.com"},{"name":"Matt R. Wilson","email":"matt.wilson@warbyparker.com"},{"name":"Gaurav Mittal","email":"gaurav.mittal@students.iiit.ac.in"}],"license":"MIT","bugs":{"url":"https://github.com/felipernb/algorithms.js/issues"},"homepage":"https://github.com/felipernb/algorithms.js/wiki","_id":"algorithms@0.7.0","dist":{"shasum":"49d7deada749e8b7ba94ad94d6997eba546e271a","size":51439,"noattachment":false,"key":"/algorithms/-/algorithms-0.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/algorithms/download/algorithms-0.7.0.tgz"},"_from":".","_npmVersion":"1.3.18","_npmUser":{"name":"felipernb","email":"felipernb@gmail.com"},"maintainers":[{"name":"felipernb","email":"felipernb@gmail.com"}],"publish_time":1413067082622,"_cnpm_publish_time":1413067082622,"_hasShrinkwrap":false},"0.6.1":{"name":"algorithms","version":"0.6.1","description":"Traditional computer science algorithms and data structures implemented in JavaScript","directories":{"test":"test"},"main":"main.js","dependencies":{},"devDependencies":{"coveralls":"^2.10.0","istanbul":"^0.2.10","jshint":"~2.4.4","jscs":"1.4.5","mocha":"^1.20.0"},"repository":{"type":"git","url":"https://github.com/felipernb/algorithms.js"},"keywords":["computer science","cs","algorithms","data structures"],"author":{"name":"Felipe Ribeiro","email":"felipernb@gmail.com","url":"http://github.com/felipernb"},"contributors":[{"name":"eush77","email":"eush77@gmail.com"},{"name":"tayllan","email":"tayllanburigo@gmail.com"},{"name":"anaran","email":"adrian.aichner@gmail.com"},{"name":"Joshua Curl","email":"curljosh@msu.edu"},{"name":"nitinsaroha","email":"nitinsaroha6@hotmail.com"},{"name":"Andre P. Oliveira","email":"aoliveira01.student@manhattan.edu"},{"name":"Iain McDonald","email":"iain@lifebeyondfife.com"},{"name":"dingshu","email":"ds303077135@gmail.com"},{"name":"Liam Griffiths","email":"liamgriffiths@gmail.com"},{"name":"BrunoRB","email":"brunorb8@hotmail.com"},{"name":"geakstr","email":"geakstr@me.com"},{"name":"Matt R. Wilson","email":"matt.wilson@warbyparker.com"},{"name":"Gaurav Mittal","email":"gaurav.mittal@students.iiit.ac.in"}],"license":"MIT","bugs":{"url":"https://github.com/felipernb/algorithms.js/issues"},"homepage":"https://github.com/felipernb/algorithms.js/wiki","gitHead":"9716d2f74fc11356636305dfa996905149c4965f","_id":"algorithms@0.6.1","scripts":{},"_shasum":"e8a70524778ea3def02851b32c2742ae52132171","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"felipernb","email":"felipernb@gmail.com"},"maintainers":[{"name":"felipernb","email":"felipernb@gmail.com"}],"dist":{"shasum":"e8a70524778ea3def02851b32c2742ae52132171","size":51764,"noattachment":false,"key":"/algorithms/-/algorithms-0.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/algorithms/download/algorithms-0.6.1.tgz"},"publish_time":1408100330220,"_cnpm_publish_time":1408100330220,"_hasShrinkwrap":false},"0.6.0":{"name":"algorithms","version":"0.6.0","description":"Traditional computer science algorithms and data structures implemented in JavaScript","directories":{"test":"test"},"main":"main.js","dependencies":{},"devDependencies":{"coveralls":"^2.10.0","istanbul":"^0.2.10","jshint":"~2.4.4","jscs":"1.4.5","mocha":"^1.20.0"},"repository":{"type":"git","url":"https://github.com/felipernb/algorithms.js"},"keywords":["computer science","cs","algorithms","data structures"],"author":{"name":"Felipe Ribeiro","email":"felipernb@gmail.com","url":"http://github.com/felipernb"},"contributors":[{"name":"eush77","email":"eush77@gmail.com"},{"name":"tayllan","email":"tayllanburigo@gmail.com"},{"name":"anaran","email":"adrian.aichner@gmail.com"},{"name":"Joshua Curl","email":"curljosh@msu.edu"},{"name":"nitinsaroha","email":"nitinsaroha6@hotmail.com"},{"name":"Andre P. Oliveira","email":"aoliveira01.student@manhattan.edu"},{"name":"Iain McDonald","email":"iain@lifebeyondfife.com"},{"name":"dingshu","email":"ds303077135@gmail.com"},{"name":"Liam Griffiths","email":"liamgriffiths@gmail.com"},{"name":"BrunoRB","email":"brunorb8@hotmail.com"},{"name":"geakstr","email":"geakstr@me.com"},{"name":"Matt R. Wilson","email":"matt.wilson@warbyparker.com"},{"name":"Gaurav Mittal","email":"gaurav.mittal@students.iiit.ac.in"}],"license":"MIT","bugs":{"url":"https://github.com/felipernb/algorithms.js/issues"},"homepage":"https://github.com/felipernb/algorithms.js/wiki","gitHead":"11c8c7395b2b9824d017b18ce1f0c11cc106ad1e","_id":"algorithms@0.6.0","scripts":{},"_shasum":"927859f1885778fc05db5ef56d19dcf99b3fadf1","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"felipernb","email":"felipernb@gmail.com"},"maintainers":[{"name":"felipernb","email":"felipernb@gmail.com"}],"dist":{"shasum":"927859f1885778fc05db5ef56d19dcf99b3fadf1","size":51688,"noattachment":false,"key":"/algorithms/-/algorithms-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/algorithms/download/algorithms-0.6.0.tgz"},"publish_time":1408099863217,"_cnpm_publish_time":1408099863217,"_hasShrinkwrap":false},"0.5.0":{"name":"algorithms","version":"0.5.0","description":"Traditional computer science algorithms and data structures implemented in JavaScript","directories":{"test":"test"},"main":"main.js","dependencies":{},"devDependencies":{"coveralls":"^2.10.0","istanbul":"^0.2.10","jshint":"~2.4.4","jscs":"1.4.5","mocha":"^1.20.0"},"repository":{"type":"git","url":"https://github.com/felipernb/algorithms.js"},"keywords":["computer science","cs","algorithms","data structures"],"author":{"name":"Felipe Ribeiro","email":"felipernb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/felipernb/algorithms.js/issues"},"homepage":"https://github.com/felipernb/algorithms.js/wiki","gitHead":"cab2677c901b6a007ddca27eb93c3b35614e79de","_id":"algorithms@0.5.0","scripts":{},"_shasum":"d5f0ed0de94ab45e5ac8e1202fa2dfd29a3277e2","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"felipernb","email":"felipernb@gmail.com"},"maintainers":[{"name":"felipernb","email":"felipernb@gmail.com"}],"dist":{"shasum":"d5f0ed0de94ab45e5ac8e1202fa2dfd29a3277e2","size":36117,"noattachment":false,"key":"/algorithms/-/algorithms-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/algorithms/download/algorithms-0.5.0.tgz"},"publish_time":1404911566395,"_cnpm_publish_time":1404911566395,"_hasShrinkwrap":false},"0.4.0":{"name":"algorithms","version":"0.4.0","description":"Traditional computer science algorithms and data structures implemented in JavaScript","directories":{"test":"test"},"main":"main.js","dependencies":{},"devDependencies":{"coveralls":"^2.10.0","istanbul":"^0.2.10","jshint":"~2.4.4","jscs":"1.4.5","mocha":"^1.20.0"},"repository":{"type":"git","url":"https://github.com/felipernb/algorithms.js"},"keywords":["computer science","cs","algorithms","data structures"],"author":{"name":"Felipe Ribeiro","email":"felipernb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/felipernb/algorithms.js/issues"},"homepage":"https://github.com/felipernb/algorithms.js/wiki","gitHead":"5a6129b73d57ce29ea2cf6d32a04c6beec0c298a","_id":"algorithms@0.4.0","scripts":{},"_shasum":"d4eb23af3558cfb5b497491430fa48e3515a04f4","_from":".","_npmVersion":"1.4.13","_npmUser":{"name":"felipernb","email":"felipernb@gmail.com"},"maintainers":[{"name":"felipernb","email":"felipernb@gmail.com"}],"dist":{"shasum":"d4eb23af3558cfb5b497491430fa48e3515a04f4","size":29020,"noattachment":false,"key":"/algorithms/-/algorithms-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/algorithms/download/algorithms-0.4.0.tgz"},"publish_time":1402091754799,"_cnpm_publish_time":1402091754799,"_hasShrinkwrap":false},"0.3.0":{"name":"algorithms","version":"0.3.0","description":"Traditional computer science algorithms and data structures implemented in JavaScript","directories":{"test":"test"},"main":"main.js","dependencies":{},"devDependencies":{"coveralls":"^2.10.0","istanbul":"^0.2.10","jshint":"^2.5.1","mocha":"^1.20.0"},"repository":{"type":"git","url":"https://github.com/felipernb/algorithms.js"},"keywords":["computer science","cs","algorithms","data structures"],"author":{"name":"Felipe Ribeiro","email":"felipernb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/felipernb/algorithms.js/issues"},"homepage":"https://github.com/felipernb/algorithms.js/wiki","gitHead":"e3173942576d938e9567588d09564ff7a6a5ba49","_id":"algorithms@0.3.0","scripts":{},"_shasum":"7fc2f3848927b77de40fd7a144487f0d6e26544e","_from":".","_npmVersion":"1.4.13","_npmUser":{"name":"felipernb","email":"felipernb@gmail.com"},"maintainers":[{"name":"felipernb","email":"felipernb@gmail.com"}],"dist":{"shasum":"7fc2f3848927b77de40fd7a144487f0d6e26544e","size":24102,"noattachment":false,"key":"/algorithms/-/algorithms-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/algorithms/download/algorithms-0.3.0.tgz"},"publish_time":1401919900682,"_cnpm_publish_time":1401919900682,"_hasShrinkwrap":false},"0.2.0":{"name":"algorithms","version":"0.2.0","description":"Traditional computer science algorithms and data structures implemented in JavaScript","directories":{"test":"test"},"main":"main.js","dependencies":{},"devDependencies":{"coveralls":"^2.10.0","istanbul":"^0.2.10","jshint":"^2.5.1","mocha":"^1.20.0"},"repository":{"type":"git","url":"https://github.com/felipernb/algorithms.js"},"keywords":["computer science","cs","algorithms","data structures"],"author":{"name":"Felipe Ribeiro","email":"felipernb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/felipernb/algorithms.js/issues"},"homepage":"https://github.com/felipernb/algorithms.js/wiki","_id":"algorithms@0.2.0","_shasum":"626a42b65b5c573da47d1c4aa3fa9d0025eb5018","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"felipernb","email":"felipernb@gmail.com"},"maintainers":[{"name":"felipernb","email":"felipernb@gmail.com"}],"dist":{"shasum":"626a42b65b5c573da47d1c4aa3fa9d0025eb5018","size":19346,"noattachment":false,"key":"/algorithms/-/algorithms-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/algorithms/download/algorithms-0.2.0.tgz"},"publish_time":1401697988712,"_cnpm_publish_time":1401697988712,"_hasShrinkwrap":false},"0.1.0":{"name":"algorithms","version":"0.1.0","description":"Traditional computer science algorithms and data structures implemented in JavaScript","directories":{"test":"test"},"main":"main.js","dependencies":{},"devDependencies":{"coveralls":"^2.10.0","istanbul":"^0.2.10","jshint":"^2.5.1","mocha":"^1.20.0"},"repository":{"type":"git","url":"https://github.com/felipernb/algorithms.js"},"keywords":["computer science","cs","algorithms","data structures"],"author":{"name":"Felipe Ribeiro","email":"felipernb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/felipernb/algorithms.js/issues"},"homepage":"https://github.com/felipernb/algorithms.js/wiki","_id":"algorithms@0.1.0","_shasum":"efab95119a3d05b679229bfb4053c397cd858856","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"felipernb","email":"felipernb@gmail.com"},"maintainers":[{"name":"felipernb","email":"felipernb@gmail.com"}],"dist":{"shasum":"efab95119a3d05b679229bfb4053c397cd858856","size":17555,"noattachment":false,"key":"/algorithms/-/algorithms-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/algorithms/download/algorithms-0.1.0.tgz"},"publish_time":1401534471379,"_cnpm_publish_time":1401534471379,"_hasShrinkwrap":false},"0.0.1":{"name":"algorithms","version":"0.0.1","description":"Traditional computer science algorithms and data structures implemented in JavaScript","directories":{"test":"test"},"main":"main.js","dependencies":{},"devDependencies":{"coveralls":"*","istanbul":"*","mocha":"*"},"repository":{"type":"git","url":"https://github.com/felipernb/algorithms.js"},"scripts":{"test":"mocha -R spec --recursive test","coverage":"istanbul cover ./node_modules/.bin/_mocha -- -R spec --recursive test","coveralls":"cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"},"keywords":["computer science","cs","algorithms","data structures"],"author":{"name":"Felipe Ribeiro","email":"felipernb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/felipernb/algorithms.js/issues"},"homepage":"https://github.com/felipernb/algorithms.js","_id":"algorithms@0.0.1","_shasum":"01bea83fd008c6cd4137e9c13385f0ad50078558","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"felipernb","email":"felipernb@gmail.com"},"maintainers":[{"name":"felipernb","email":"felipernb@gmail.com"}],"dist":{"shasum":"01bea83fd008c6cd4137e9c13385f0ad50078558","size":16669,"noattachment":false,"key":"/algorithms/-/algorithms-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/algorithms/download/algorithms-0.0.1.tgz"},"publish_time":1401473117924,"_cnpm_publish_time":1401473117924,"_hasShrinkwrap":false}},"readme":"# algorithms.js\n\n[![Build Status](https://travis-ci.org/felipernb/algorithms.js.svg?branch=master)](https://travis-ci.org/felipernb/algorithms.js)\n[![Coverage Status](https://coveralls.io/repos/github/felipernb/algorithms.js/badge.svg?branch=master)](https://coveralls.io/github/felipernb/algorithms.js?branch=master)\n[![Dependency Status](https://david-dm.org/felipernb/algorithms.js.svg)](https://david-dm.org/felipernb/algorithms.js)\n[![devDependency Status](https://david-dm.org/felipernb/algorithms.js/dev-status.svg)](https://david-dm.org/felipernb/algorithms.js#info=devDependencies)\n[![Inline docs](http://inch-ci.org/github/felipernb/algorithms.js.svg?branch=master)](http://inch-ci.org/github/felipernb/algorithms.js)\n\n![](http://www.quickmeme.com/img/8d/8d30a19413145512ad5a05c46ec0da545df5ed79e113fcf076dc03c7514eb631.jpg)\n\n\n## Atwood's Law applied to CS101.\n\nClassic algorithms and data structures implemented in JavaScript, you know... FOR SCIENCE.\n\n### Installing\n```\nnpm install --save algorithms\n```\n\n### Contents\n\n#### Data Structures\n\n```javascript\nrequire('algorithms/data_structures');\n// or\nrequire('algorithms').DataStructures;\n```\n\n* BST\n* DisjointSetForest\n* FenwickTree\n* Graph\n* HashTable\n* Heap\n * MaxHeap\n * MinHeap\n* LinkedList\n* PriorityQueue\n* Queue\n* Set (HashSet)\n* Stack\n\n#### Geometry algorithms\n\n```javascript\nrequire('algorithms/geometry');\n// or\nrequire('algorithms').Geometry;\n```\n\n* BezierCurve\n\n#### Graph algorithms\n\n```javascript\nrequire('algorithms/graph');\n// or\nrequire('algorithms').Graph;\n```\n\n* breadthFirstSearch\n* depthFirstSearch\n* eulerPath\n* topologicalSort\n\n##### Shortest path\n* bellmanFord\n* bfsShortestPath\n* dijkstra\n* floydWarshall\n* SPFA (Shortest Path Faster Algorithm)\n\n##### Minimum spanning tree\n* prim\n* kruskal\n\n#### Math algorithms\n\n```javascript\nrequire('algorithms/math');\n// or\nrequire('algorithms').Math;\n```\n* collatzConjecture\n* extendedEuclidean\n* fastPower\n* fibonacci\n* fisherYates\n* gcd (Greatest common divisor)\n* greatestDifference\n* lcm (Least common multiple)\n* newtonSqrt\n* nextPermutation\n* powerSet\n* reservoirSampling\n* shannonEntropy\n\n#### Search algorithms\n\n```javascript\nrequire('algorithms/search');\n// or\nrequire('algorithms').Search;\n```\n\n* bfs (breadth-first search for binary trees)\n* binarySearch\n* dfs (depth-first search for binary trees)\n * inOrder (default)\n * postOrder\n * preOrder\n\n#### Sorting algorithms\n\n```javascript\nrequire('algorithms/sorting');\n// or\nrequire('algorithms').Sorting;\n```\n\n* bubbleSort\n* countingSort\n* heapSort\n* insertionSort\n* quicksort\n* radixSort\n* selectionSort\n* shellSort\n* shortBubbleSort\n\n#### String algorithms\n\n```javascript\nrequire('algorithms/string');\n// or\nrequire('algorithms').String;\n```\n\n* hamming\n* huffman\n * decode\n * encode\n* knuthMorrisPratt\n* levenshtein\n* longestCommonSubsequence\n* longestCommonSubstring\n* rabinKarp\n","_attachments":{},"homepage":"https://github.com/felipernb/algorithms.js/wiki","bugs":{"url":"https://github.com/felipernb/algorithms.js/issues"},"license":"MIT"}