{"id":26352000,"url":"https://github.com/denq/via-sort","last_synced_at":"2025-03-16T10:36:10.273Z","repository":{"id":57154414,"uuid":"80447361","full_name":"DenQ/via-sort","owner":"DenQ","description":"This package is a convenient wrapper for most standard sorting methods. Such as quickSort, mergeSort and others.","archived":false,"fork":false,"pushed_at":"2017-01-31T14:00:05.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-21T06:16:13.417Z","etag":null,"topics":["algorithm-library","heapsort","npm","performance","quicksort","selectionsort","sorting-algorithms"],"latest_commit_sha":null,"homepage":"","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/DenQ.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":"2017-01-30T17:56:07.000Z","updated_at":"2017-01-31T14:01:25.000Z","dependencies_parsed_at":"2022-09-07T06:11:19.402Z","dependency_job_id":null,"html_url":"https://github.com/DenQ/via-sort","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DenQ%2Fvia-sort","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DenQ%2Fvia-sort/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DenQ%2Fvia-sort/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DenQ%2Fvia-sort/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DenQ","download_url":"https://codeload.github.com/DenQ/via-sort/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243858929,"owners_count":20359259,"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","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-library","heapsort","npm","performance","quicksort","selectionsort","sorting-algorithms"],"created_at":"2025-03-16T10:36:09.519Z","updated_at":"2025-03-16T10:36:10.251Z","avatar_url":"https://github.com/DenQ.png","language":"JavaScript","readme":"# via-sort\n\nThis package is a convenient wrapper for most standard sorting methods. Such as quickSort, mergeSort and others.\n\n### How to use?\n```\nvar array = [2, 3, 1, 2, 6, 5];\nvar sortedArray = viaSort('quick', array);\nconsole.log(sortedArray) // [1, 2, 2, 3, 5, 6]\n```\n\n### Where to use it?\nStandard method `.sort()` significantly slower `quickSort`. \nTo check it out there is a script\n```\nnode performance/index.js\n```\noutput\n```\n10 'native sort method'\n85 'insertion'\n4 'quick'\n14 'merge'\n\n```\nWhere time described in milliseconds\n\n### TDD\n```\nnpm test\n```\n\n#### Community\nI will be glad your `pull requests`","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenq%2Fvia-sort","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenq%2Fvia-sort","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenq%2Fvia-sort/lists"}