{"id":16471862,"url":"https://github.com/abranhe/quick-srt","last_synced_at":"2025-07-23T19:33:54.323Z","repository":{"id":65479443,"uuid":"145477819","full_name":"abranhe/quick-srt","owner":"abranhe","description":"Quick Sort Algorithm Implementation","archived":false,"fork":false,"pushed_at":"2018-08-20T22:47:41.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T10:09:15.668Z","etag":null,"topics":["algorithm","quicksort","sorting-algorithms"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abranhe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-20T22:44:40.000Z","updated_at":"2018-08-20T22:47:28.000Z","dependencies_parsed_at":"2023-01-25T08:25:13.035Z","dependency_job_id":null,"html_url":"https://github.com/abranhe/quick-srt","commit_stats":null,"previous_names":["abranhe/quick-srt","abrahamhba/quick-srt"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/abranhe/quick-srt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Fquick-srt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Fquick-srt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Fquick-srt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Fquick-srt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abranhe","download_url":"https://codeload.github.com/abranhe/quick-srt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Fquick-srt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266738316,"owners_count":23976416,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm","quicksort","sorting-algorithms"],"created_at":"2024-10-11T12:15:01.852Z","updated_at":"2025-07-23T19:33:54.290Z","avatar_url":"https://github.com/abranhe.png","language":"JavaScript","readme":"\u003cp align=\"center\" id=\"top\"\u003e\n\t\u003ca href=\"https://www.npmjs.com/package/quick-srt\"\u003e\u003cimg src=\"https://cdn.abraham.gq/projects/quick-srt/quick-sort.gif\"\u003e\u003c/a\u003e\n\t\u003cbr\u003e\n\t\u003cbr\u003e\n\t\u003cbr\u003e\n\t\u003ca href=\"https://www.npmjs.com/package/quick-srt\"\u003e\u003cb\u003equick-srt\u003c/b\u003e\u003c/a\u003e\n\t: Quick Sort Algorithm Implementation\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003c!-- Travis CI --\u003e\n\t\u003ca href=\"https://travis-ci.org/abranhe/quick-srt\"\u003e\u003cimg src=\"https://img.shields.io/travis/abranhe/quick-srt.svg?logo=travis\" /\u003e\u003c/a\u003e\n\t\u003c!-- LICENSE --\u003e\n\t\u003ca href=\"https://github.com/abranhe/quick-srt/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/abranhe/quick-srt.svg\" /\u003e\u003c/a\u003e\n\t\u003c!-- NPM Version --\u003e\n\t\u003ca href=\"https://www.npmjs.com/package/quick-srt\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/quick-srt.svg\" /\u003e\u003c/a\u003e\n\t\u003c!-- @abranhe --\u003e\n\t\u003ca href=\"https://github.com/abranhe\"\u003e\u003cimg src=\"https://abranhe.com/badge.svg\"\u003e\u003c/a\u003e\n\t\u003c!-- Cash me --\u003e\n\t\u003ca href=\"https://cash.me/$abranhe\"\u003e\u003cimg src=\"https://cdn.abraham.gq/badges/cash-me.svg\"\u003e\u003c/a\u003e\n\t\u003c!-- Patreon --\u003e\n\t\u003ca href=\"https://www.patreon.com/abranhe\"\u003e\u003cimg src=\"https://cdn.abraham.gq/badges/patreon.svg\" /\u003e\u003c/a\u003e\n\t\u003c!-- Paypal --\u003e\n\t\u003ca href=\"https://paypal.me/abranhe/10\"\u003e\u003cimg src=\"https://cdn.abraham.gq/badges/paypal.svg\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# Overview\n\nQuicksort is an efficient sorting algorithm, serving as a systematic method for placing the elements of an array in order. Developed by Tony Hoare in 1959, and published in 1961, it is still a commonly used algorithm for sorting. When implemented well, it can be about two or three times faster than its main competitors, merge sort and heapsort.\n\n[Read More ...](https://en.wikipedia.org/wiki/Quicksort)\n\n# Install\n\n```\nnpm install quick-srt\n```\n\n# Usage\n\n```js\nconst quickSort = require('quick-srt');\n\nlet numsArr = [46, 24, 33, 10, 2, 81, 50];\nconsole.log(quickSort(numsArr));\n// =\u003e [ 2, 10, 24, 33, 46, 50, 81 ]\n\nlet lettersArr = ['d', 'h', 'z', 'a', 'r', 'b', 'i'];\nconsole.log(quickSort(lettersArr));\n// =\u003e [ 'a', 'b', 'd', 'h', 'i', 'r', 'z' ]\n\nlet wordsArr = ['happy', 'auto', 'energy', 'zoo', 'trigonometry', 'dog', 'foo'];\nconsole.log(quickSort(wordsArr));\n// =\u003e [ 'auto', 'dog', 'energy', 'foo', 'happy', 'trigonometry', 'zoo' ]\n```\n\n# API\n\n## `quickSort(array)`\n\n\u003e Return a sorted array using quick sort algorithm\n\n# Related\n\n- [quick-srt-cli](https://github.com/abranhe/quick-srt-cli): CLI for this module\n- [bubble-srt](https://github.com/abranhe/bubble-srt): Bubble Sort Algorithm Implementation\n- [merge-srt](https://github.com/abranhe/merge-srt): Merge Sort Algorithm Implementation\n\n# Team\n\n|[![Carlos Abraham Logo](https://avatars3.githubusercontent.com/u/21347264?s=50\u0026v=4)](https://19cah.com)|\n| :-: |\n| [Carlos Abraham](https://github.com/abranhe) |\n\n# License\n\n[MIT](https://github.com/abranhe/quick-srt/blob/master/LICENSE) License © [Carlos Abraham](https://github.com/abranhe/)\n","funding_links":["https://www.patreon.com/abranhe","https://paypal.me/abranhe/10"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabranhe%2Fquick-srt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabranhe%2Fquick-srt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabranhe%2Fquick-srt/lists"}