{"id":20571482,"url":"https://github.com/okunishinishi/node-arraysort","last_synced_at":"2026-04-17T18:31:57.328Z","repository":{"id":36542913,"uuid":"40848744","full_name":"okunishinishi/node-arraysort","owner":"okunishinishi","description":"Node.js module for array sorting.","archived":false,"fork":false,"pushed_at":"2015-11-23T02:25:16.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-27T15:53:04.154Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/arraysort","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/okunishinishi.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":"2015-08-16T23:51:49.000Z","updated_at":"2015-08-17T13:38:48.000Z","dependencies_parsed_at":"2022-09-14T09:00:31.906Z","dependency_job_id":null,"html_url":"https://github.com/okunishinishi/node-arraysort","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/okunishinishi/node-arraysort","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okunishinishi%2Fnode-arraysort","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okunishinishi%2Fnode-arraysort/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okunishinishi%2Fnode-arraysort/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okunishinishi%2Fnode-arraysort/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/okunishinishi","download_url":"https://codeload.github.com/okunishinishi/node-arraysort/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okunishinishi%2Fnode-arraysort/sbom","scorecard":{"id":704294,"data":{"date":"2025-08-11","repo":{"name":"github.com/okunishinishi/node-arraysort","commit":"904894e7db9d63e5a9e61633296faa4a6e7c6b66"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/11 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-22T06:04:04.063Z","repository_id":36542913,"created_at":"2025-08-22T06:04:04.063Z","updated_at":"2025-08-22T06:04:04.063Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31940765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-16T05:16:21.932Z","updated_at":"2026-04-17T18:31:57.315Z","avatar_url":"https://github.com/okunishinishi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"arraysort\n==========\n\n\u003c!---\nThis file is generated by ape-tmpl. Do not update manually.\n---\u003e\n\n\u003c!-- Badge Start --\u003e\n\u003ca name=\"badges\"\u003e\u003c/a\u003e\n\n[![Build Status][bd_travis_shield_url]][bd_travis_url]\n[![Code Climate][bd_codeclimate_shield_url]][bd_codeclimate_url]\n[![Code Coverage][bd_codeclimate_coverage_shield_url]][bd_codeclimate_url]\n[![npm Version][bd_npm_shield_url]][bd_npm_url]\n\n[bd_repo_url]: https://github.com/okunishinishi/node-arraysort\n[bd_travis_url]: http://travis-ci.org/okunishinishi/node-arraysort\n[bd_travis_shield_url]: http://img.shields.io/travis/okunishinishi/node-arraysort.svg?style=flat\n[bd_license_url]: https://github.com/okunishinishi/node-arraysort/blob/master/LICENSE\n[bd_codeclimate_url]: http://codeclimate.com/github/okunishinishi/node-arraysort\n[bd_codeclimate_shield_url]: http://img.shields.io/codeclimate/github/okunishinishi/node-arraysort.svg?style=flat\n[bd_codeclimate_coverage_shield_url]: http://img.shields.io/codeclimate/coverage/github/okunishinishi/node-arraysort.svg?style=flat\n[bd_gemnasium_url]: https://gemnasium.com/okunishinishi/node-arraysort\n[bd_gemnasium_shield_url]: https://gemnasium.com/okunishinishi/node-arraysort.svg\n[bd_npm_url]: http://www.npmjs.org/package/arraysort\n[bd_npm_shield_url]: http://img.shields.io/npm/v/arraysort.svg?style=flat\n[bd_bower_badge_url]: https://img.shields.io/bower/v/arraysort.svg?style=flat\n\n\u003c!-- Badge End --\u003e\n\n\n\u003c!-- Description Start --\u003e\n\u003ca name=\"description\"\u003e\u003c/a\u003e\n\nArray sorting utility.\n\n\u003c!-- Description End --\u003e\n\n\n\n\n\u003c!-- Sections Start --\u003e\n\u003ca name=\"sections\"\u003e\u003c/a\u003e\n\n\u003c!-- Section from \"doc/readme/01.Installation.md.hbs\" Start --\u003e\n\n\u003ca name=\"section-doc-readme-01-installation-md\"\u003e\u003c/a\u003e\nInstallation\n-----\n\n```bash\nnpm install arraysort --save\n```\n\n\n\u003c!-- Section from \"doc/readme/01.Installation.md.hbs\" End --\u003e\n\n\u003c!-- Section from \"doc/readme/02.Usage.md.hbs\" Start --\u003e\n\n\u003ca name=\"section-doc-readme-02-usage-md\"\u003e\u003c/a\u003e\nUsage\n-------\n\n+ [Sort Strings](#sort-strings)\n\n### Sort Strings\n\n`arraysort.stringCompare(options)` create a function which sort entries by string comparing.\n\n```Javascript\n\"use strict\";\n\nconst arraysort = require('arraysort');\n\n// Define a sort function.\nlet stringAsc = arraysort.stringCompare(),\n    stringDesc = arraysort.stringCompare({desc: true});\n\n// Execute sorting.\nlet values = ['foo', 'bar', 'baz'];\nvalues = values.sort(stringAsc); // -\u003e ['foo', 'baz', 'bar']\nvalues = values.sort(stringDesc); // -\u003e ['bar', 'baz', 'foo']\n\n```\n\n\n\n\u003c!-- Section from \"doc/readme/02.Usage.md.hbs\" End --\u003e\n\n\n\u003c!-- Sections Start --\u003e\n\n\n\u003c!-- LICENSE Start --\u003e\n\u003ca name=\"license\"\u003e\u003c/a\u003e\n\nLicense\n-------\nThis software is released under the [MIT License](https://github.com/okunishinishi/node-arraysort/blob/master/LICENSE).\n\n\u003c!-- LICENSE End --\u003e\n\n\n\u003c!-- Links Start --\u003e\n\u003ca name=\"links\"\u003e\u003c/a\u003e\n\nLinks\n------\n\n+ [arrayfilter](https://github.com/okunishinishi/node-arrayfilter)\n+ [arrayreduce](https://github.com/okunishinishi/node-arrayreduce)\n\n\u003c!-- Links End --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokunishinishi%2Fnode-arraysort","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fokunishinishi%2Fnode-arraysort","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokunishinishi%2Fnode-arraysort/lists"}