{"id":20119264,"url":"https://github.com/harrystevens/-deprecated-arrays","last_synced_at":"2026-07-12T23:31:53.081Z","repository":{"id":66335696,"uuid":"94614562","full_name":"HarryStevens/-DEPRECATED-arrays","owner":"HarryStevens","description":"A JavaScript library for manipulating arrays.","archived":false,"fork":false,"pushed_at":"2017-07-06T12:22:12.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-30T11:51:14.836Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HarryStevens.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-17T09:46:43.000Z","updated_at":"2017-07-06T12:21:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"cbe90743-2f40-4cb0-9920-aebff6528e98","html_url":"https://github.com/HarryStevens/-DEPRECATED-arrays","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HarryStevens/-DEPRECATED-arrays","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarryStevens%2F-DEPRECATED-arrays","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarryStevens%2F-DEPRECATED-arrays/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarryStevens%2F-DEPRECATED-arrays/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarryStevens%2F-DEPRECATED-arrays/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HarryStevens","download_url":"https://codeload.github.com/HarryStevens/-DEPRECATED-arrays/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarryStevens%2F-DEPRECATED-arrays/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35405750,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-12T02:00:06.386Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":[],"created_at":"2024-11-13T19:14:58.440Z","updated_at":"2026-07-12T23:31:53.066Z","avatar_url":"https://github.com/HarryStevens.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This project is deprecated. Please use [jsz](https://github.com/harrystevens/jsz) instead.\n\n# arrays.js\n\narrays.js is a Javascript library for manipulating arrays. Javascript has many [built-in methods for manipulating arrays](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array). The functions in this library are meant to supplement those.\n\nTo use this library, download `arrays.js` or `arrays.min.js` from the `src` directory and include it in your HTML file as `\u003cscript src=\"path/to/arrays.js\"\u003e\u003c/script\u003e` or `\u003cscript src=\"path/to/arrays.min.js\"\u003e\u003c/script\u003e`.\n\n## API Reference\n* [Math](#math)\n* [Queries](#queries)\n* [Transformations](#transformations)\n* [Other](#other)\n\n### \u003ca name=\"math\" href=\"#math\"\u003eMath\u003c/a\u003e\n\nFunctions for doing math with arrays of numbers.\n\n\u003ca name=\"average\" href=\"#average\"\u003e#\u003c/a\u003e arrays.\u003cb\u003eaverage\u003c/b\u003e(\u003ci\u003earray\u003c/i\u003e)\n\nReturns the average of an array of numbers.\n\n\u003ca name=\"extent\" href=\"#extent\"\u003e#\u003c/a\u003e arrays.\u003cb\u003eextent\u003c/b\u003e(\u003ci\u003earray\u003c/i\u003e)\n\nReturns the minimum and maximum values of an array of numbers as the array [min, max].\n\n\u003ca name=\"max\" href=\"#max\"\u003e#\u003c/a\u003e arrays.\u003cb\u003emax\u003c/b\u003e(\u003ci\u003earray\u003c/i\u003e)\n\nReturns the maximum value of an array of numbers.\n\n\u003ca name=\"median\" href=\"#median\"\u003e#\u003c/a\u003e arrays.\u003cb\u003emedian\u003c/b\u003e(\u003ci\u003earray\u003c/i\u003e)\n\nReturns the median of an array of numbers.\n\n\u003ca name=\"min\" href=\"#min\"\u003e#\u003c/a\u003e arrays.\u003cb\u003emin\u003c/b\u003e(\u003ci\u003earray\u003c/i\u003e)\n\nReturns the minimum value of an array of numbers.\n\n\u003ca name=\"sum\" href=\"#sum\"\u003e#\u003c/a\u003e arrays.\u003cb\u003esum\u003c/b\u003e(\u003ci\u003earray\u003c/i\u003e)\n\nReturns the sum of an array of numbers.\n\n\n### \u003ca name=\"queries\" href=\"#queries\"\u003eQueries\u003c/a\u003e\n\nFunctions for testing arrays for certain properties. Return booleans.\n\n\u003ca name=\"is\" href=\"#is\"\u003e#\u003c/a\u003e arrays.\u003cb\u003eis\u003c/b\u003e(\u003ci\u003earray\u003c/i\u003e)\n\nTests whether an element is an array. Returns *true* or *false*.\n\n\n### \u003ca name=\"transformations\" href=\"#transformations\"\u003eTransformations\u003c/a\u003e\n\nFunctions for transforming arrays.\n\n\u003ca name=\"shuffle\" href=\"#shuffle\"\u003e#\u003c/a\u003e arrays.\u003cb\u003eshuffle\u003c/b\u003e(\u003ci\u003earray\u003c/i\u003e)\n\nShuffles an array.\n\n\u003ca name=\"sortNumbers\" href=\"#sortNumbers\"\u003e#\u003c/a\u003e arrays.\u003cb\u003esortNumbers\u003c/b\u003e(\u003ci\u003earray\u003c/i\u003e)\n\nSorts an array of numbers.\n\n\n### \u003ca name=\"other\" href=\"#other\"\u003eOther\u003c/a\u003e\n\nMiscellaneous functions.\n\n\u003ca name=\"random\" href=\"#random\"\u003e#\u003c/a\u003e arrays.\u003cb\u003erandom\u003c/b\u003e(\u003ci\u003earray\u003c/i\u003e)\n\nReturns a random item from an array.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharrystevens%2F-deprecated-arrays","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharrystevens%2F-deprecated-arrays","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharrystevens%2F-deprecated-arrays/lists"}