All Projects → CharlesStover → Quicksort Js

CharlesStover / Quicksort Js

Licence: mit
An implementation of Quicksort in JavaScript/TypeScript.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
js
455 projects

Projects that are alternatives of or similar to Quicksort Js

Use Clippy
React Hook for reading from and writing to the user's clipboard.
Stars: ✭ 139 (+131.67%)
Mutual labels:  npm, travis-ci, travis
Use React Router
React Hook for pub-sub behavior using React Router.
Stars: ✭ 575 (+858.33%)
Mutual labels:  npm, travis-ci, travis
Use Force Update
React Hook to force your functional component to update.
Stars: ✭ 142 (+136.67%)
Mutual labels:  npm, travis-ci, travis
Fetch Suspense
A React hook compatible with React 16.6's Suspense component.
Stars: ✭ 479 (+698.33%)
Mutual labels:  npm, travis-ci, travis
Reactn
React, but with built-in global state management.
Stars: ✭ 1,906 (+3076.67%)
Mutual labels:  npm, travis-ci, travis
plugin.video.sendtokodi
📺 plays various stream sites on kodi using youtube-dl
Stars: ✭ 86 (+43.33%)
Mutual labels:  travis-ci, travis
sbt-travisci
An sbt plugin to integrate with Travis CI
Stars: ✭ 44 (-26.67%)
Mutual labels:  travis-ci, travis
badge-matrix
More advanced badges for projects using Travis or Sauce Labs
Stars: ✭ 77 (+28.33%)
Mutual labels:  travis-ci, travis
react-multi-context
Manage multiple React 16 contexts with a single component.
Stars: ✭ 19 (-68.33%)
Mutual labels:  travis-ci, travis
Greenkeeper Lockfile
🔒 Your lockfile, up to date, all the time
Stars: ✭ 181 (+201.67%)
Mutual labels:  npm, travis-ci
yaspeller-ci
Fast spelling check for Travis CI
Stars: ✭ 60 (+0%)
Mutual labels:  travis-ci, travis
todo-list
TodoList using Ionic2/3 & Firebase: * PWA * SSO Google plus. * Share list via QRcode. * Upload image from Camera or Storage. * Speech Recognition.
Stars: ✭ 18 (-70%)
Mutual labels:  travis-ci, travis
fetch-action-creator
Fetches using standardized, four-part asynchronous actions for redux-thunk.
Stars: ✭ 28 (-53.33%)
Mutual labels:  travis-ci, travis
travis-deploy-once
🚫Test multiple node versions on Travis. Deploy once. If all of them pass.
Stars: ✭ 34 (-43.33%)
Mutual labels:  travis-ci, travis
react-testing-mocha-chai-enzyme
A solid test setup for React components with Mocha, Chai, Sinon, Enzyme in a Webpack/Babel application.
Stars: ✭ 48 (-20%)
Mutual labels:  travis-ci, travis
vagrant-travisci-libvrt
Example project showing how to run Vagrant on TravisCI using libvrt & KVM
Stars: ✭ 25 (-58.33%)
Mutual labels:  travis-ci, travis
googletest-ci
Continuous integration (CI) + Google Test (gtest) + CMake example boilerplate demo
Stars: ✭ 14 (-76.67%)
Mutual labels:  travis-ci, travis
Cargo Make
Rust task runner and build tool.
Stars: ✭ 895 (+1391.67%)
Mutual labels:  travis-ci, travis
Lighthouse Badges
🚦Generate badges (shields.io) based on Lighthouse performance.
Stars: ✭ 150 (+150%)
Mutual labels:  npm, travis
Angular Library Starter Kit
Angular 5 Library Starter Kit based on Angular-CLI
Stars: ✭ 35 (-41.67%)
Mutual labels:  npm, travis-ci

Quicksort Tweet

An implementation of Quicksort in JavaScript.

A walkthrough of the logic behind Quicksort and development of this package can be found on the Medium article Implementing Quicksort in JavaScript.

version minified size minzipped size downloads build

Install

  • npm install @charlesstover/quicksort --save or
  • yarn add @charlesstover/quicksort

Examples

import quickSort from '@charlesstover/quicksort';
import { expect } from 'chai';

describe('Quicksort', () => {
  it('should sort an array', () => {
    const unsorted = [ 5, 4, 1, 3, 2 ];
    const sorted = quickSort(unsorted);
    expect(sorted).to.deep.equal([ 1, 2, 3, 4, 5 ]);
  });
});
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].