UNPKG

algorithmpool

Version:
32 lines (18 loc) 1.06 kB
# [<font color="green">GeekFarmer</font>](https://github.com/geekfarmeropensource) # algorithmpool.js # In Progress . . . . [![Build Status](https://travis-ci.org/geekfarmeropensource/algorithmpool.js.svg?branch=master)](https://travis-ci.org/geekfarmeropensource/algorithmpool.js) [![Coverage Status](https://coveralls.io/repos/github/geekfarmeropensource/algorithmpool.js/badge.svg?branch=master)](https://coveralls.io/github/geekfarmeropensource/algorithmpool.js?branch=master) [![npm](https://img.shields.io/npm/dt/algorithmpool.svg)](https://www.npmjs.com/package/algorithmpool) ## Installation [![NPM](https://nodei.co/npm/algorithmpool.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/algorithmpool/) `npm install algorithmpool --save` ## Tests `npm test` ## How To Use ```javascript var algorithmpool = require('algorithmpool'); let arr = [4, 9, 1, 34, 12, 6, 5, 18, 51, 21, -5, -3, 89, -2] console.log(algorithmpool.quickSort(arr)) ``` ``` output: [-5, -3, -2, 1, 4, 5, 6, 9, 12, 18, 21, 34, 51, 89] ```