{"id":29011422,"url":"https://github.com/shekhardtu/js-sorting-algorithm","last_synced_at":"2025-06-25T17:12:23.315Z","repository":{"id":104015046,"uuid":"181548356","full_name":"shekhardtu/js-sorting-algorithm","owner":"shekhardtu","description":"Sorting algorithm implemented using javascript","archived":false,"fork":false,"pushed_at":"2023-12-15T05:38:17.000Z","size":3,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2023-12-15T06:46:39.875Z","etag":null,"topics":["data-structures-and-algorithms","datastructures-in-javascript"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shekhardtu.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-04-15T18:59:22.000Z","updated_at":"2019-04-16T09:54:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"6ff31203-c746-45b1-89f5-eaa4ca995dcd","html_url":"https://github.com/shekhardtu/js-sorting-algorithm","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/shekhardtu/js-sorting-algorithm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shekhardtu%2Fjs-sorting-algorithm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shekhardtu%2Fjs-sorting-algorithm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shekhardtu%2Fjs-sorting-algorithm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shekhardtu%2Fjs-sorting-algorithm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shekhardtu","download_url":"https://codeload.github.com/shekhardtu/js-sorting-algorithm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shekhardtu%2Fjs-sorting-algorithm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261917433,"owners_count":23229919,"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":["data-structures-and-algorithms","datastructures-in-javascript"],"created_at":"2025-06-25T17:12:23.001Z","updated_at":"2025-06-25T17:12:23.262Z","avatar_url":"https://github.com/shekhardtu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sorting algorithms implementation in javascript\n\n## Javascript array function library\n\n#### Remove duplicates in an array\n```javascript\nvar array = [\"Mike\",\"Matt\",\"Nancy\",\"Adam\",\"Jenny\",\"Nancy\",\"Carl\"];\nfunction removeDuplicate(array){\n  var uniqueNames = [];\n  $.each(names, function(i, el){\n      if($.inArray(el, uniqueNames) === -1) uniqueNames.push(el);\n  });\n  return uniqueNames;\n}\n```\n\n\n#### Calculate execution time in JS\n```javascript\nvar startTime = new Date().getTime();\nfunction functionExecution();\nvar endTime = new Date().getTime();\nvar executionTime = endTime - startTime;\nconsole.log(executionTime);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshekhardtu%2Fjs-sorting-algorithm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshekhardtu%2Fjs-sorting-algorithm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshekhardtu%2Fjs-sorting-algorithm/lists"}