{"id":1431320,"name":"array-last","ecosystem":"npm","description":"Get the last or last n elements in an array.","homepage":"https://github.com/jonschlinkert/array-last","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/jonschlinkert/array-last","keywords_array":["array","fast","first","initial","javascript","js","last","rest","util","utility","utils"],"namespace":null,"versions_count":8,"first_release_published_at":"2014-06-28T11:49:48.988Z","latest_release_published_at":"2017-11-30T13:03:23.132Z","latest_release_number":"1.3.0","last_synced_at":"2026-10-01T23:20:47.725Z","created_at":"2022-04-09T00:55:13.157Z","updated_at":"2026-10-01T23:20:47.929Z","registry_url":"https://www.npmjs.com/package/array-last","install_command":"npm install array-last","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.3.0"},"contentPolicy":null},"repo_metadata":{"id":45254277,"uuid":"21301701","full_name":"jonschlinkert/array-last","owner":"jonschlinkert","description":"Return the last element in an array. Faster than `.slice`","archived":false,"fork":false,"pushed_at":"2021-12-27T03:53:20.000Z","size":2541,"stargazers_count":33,"open_issues_count":9,"forks_count":14,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-09-19T20:39:23.535Z","etag":null,"topics":["array","element","javascript","last","node","nodejs","slice"],"latest_commit_sha":null,"homepage":"https://github.com/jonschlinkert","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/jonschlinkert.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":"2014-06-28T11:50:34.000Z","updated_at":"2026-06-09T15:16:33.000Z","dependencies_parsed_at":"2022-09-09T13:22:12.515Z","dependency_job_id":null,"html_url":"https://github.com/jonschlinkert/array-last","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/jonschlinkert/array-last","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Farray-last","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Farray-last/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Farray-last/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Farray-last/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonschlinkert","download_url":"https://codeload.github.com/jonschlinkert/array-last/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Farray-last/sbom","scorecard":{"id":531538,"data":{"date":"2025-08-11","repo":{"name":"github.com/jonschlinkert/array-last","commit":"fc344df4628650b9ddc5589aa2e4f7b98df48e66"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"Code-Review","score":0,"reason":"Found 2/25 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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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"}},{"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 7 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T05:51:56.967Z","repository_id":45254277,"created_at":"2025-08-20T05:51:56.967Z","updated_at":"2025-08-20T05:51:56.967Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":342085742,"owners_count":37912822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-10-01T02:00:06.691Z","response_time":59,"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"},"owner_record":{"login":"jonschlinkert","name":"Jon Schlinkert","uuid":"383994","kind":"user","description":"Son of GitHub. Humble student of @doowb. Creator of @assemble @generate @enquirer @breakdance @update @micromatch","email":"","website":"https://www.linkedin.com/in/jonschlinkert/","location":"Cincinnati, OH","twitter":"jonschlinkert","company":"@brandscale ","icon_url":"https://avatars.githubusercontent.com/u/383994?u=335f06277f72722162e89bd5516849f2e82f37cf\u0026v=4","repositories_count":866,"last_synced_at":"2026-09-28T03:18:38.232Z","metadata":{"has_sponsors_listing":true,"funding":{"github":"jonschlinkert"}},"html_url":"https://github.com/jonschlinkert","funding_links":["https://github.com/sponsors/jonschlinkert"],"total_stars":27123,"followers":4958,"following":61,"created_at":"2022-11-02T16:18:54.193Z","updated_at":"2026-09-28T03:18:38.251Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonschlinkert","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonschlinkert/repositories"},"tags":[{"name":"1.3.0","sha":"fc344df4628650b9ddc5589aa2e4f7b98df48e66","kind":"commit","published_at":"2017-11-30T13:03:16.000Z","download_url":"https://codeload.github.com/jonschlinkert/array-last/tar.gz/1.3.0","html_url":"https://github.com/jonschlinkert/array-last/releases/tag/1.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/jonschlinkert/array-last@1.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Farray-last/tags/1.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Farray-last/tags/1.3.0/manifests"},{"name":"1.1.0","sha":"e7904a00b0298651bf05b626d7bf9d912506204e","kind":"tag","published_at":"2017-11-30T13:00:06.000Z","download_url":"https://codeload.github.com/jonschlinkert/array-last/tar.gz/1.1.0","html_url":"https://github.com/jonschlinkert/array-last/releases/tag/1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/jonschlinkert/array-last@1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Farray-last/tags/1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Farray-last/tags/1.1.0/manifests"},{"name":"1.0.0","sha":"50bd4b64c21e18944e443e4b7c9f38d3a41f1c9c","kind":"tag","published_at":"2017-11-30T13:00:06.000Z","download_url":"https://codeload.github.com/jonschlinkert/array-last/tar.gz/1.0.0","html_url":"https://github.com/jonschlinkert/array-last/releases/tag/1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/jonschlinkert/array-last@1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Farray-last/tags/1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Farray-last/tags/1.0.0/manifests"},{"name":"1.2.0","sha":"8be522ec8e056bb363317bfa7dccd71c4d563b40","kind":"tag","published_at":"2017-08-19T01:48:23.000Z","download_url":"https://codeload.github.com/jonschlinkert/array-last/tar.gz/1.2.0","html_url":"https://github.com/jonschlinkert/array-last/releases/tag/1.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/jonschlinkert/array-last@1.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Farray-last/tags/1.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Farray-last/tags/1.2.0/manifests"},{"name":"1.1.1","sha":"eb73d43e2c97a659fdfa56f23416d2d3acb04e01","kind":"tag","published_at":"2016-03-10T00:52:02.000Z","download_url":"https://codeload.github.com/jonschlinkert/array-last/tar.gz/1.1.1","html_url":"https://github.com/jonschlinkert/array-last/releases/tag/1.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/jonschlinkert/array-last@1.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Farray-last/tags/1.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Farray-last/tags/1.1.1/manifests"}]},"repo_metadata_updated_at":"2026-10-01T23:20:47.929Z","dependent_packages_count":69,"downloads":5020896,"downloads_period":"last-month","dependent_repos_count":182543,"rankings":{"downloads":0.1135667533539917,"dependent_repos_count":0.0760383967257771,"dependent_packages_count":0.5223845012467779,"stargazers_count":6.786967581639142,"forks_count":5.738287977470731,"docker_downloads_count":0.1118558193074139,"average":2.2248501716239724},"purl":"pkg:npm/array-last","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/array-last","docker_dependents_count":1138,"docker_downloads_count":451592036,"usage_url":"https://repos.ecosyste.ms/usage/npm/array-last","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/array-last/dependencies","status":null,"funding_links":["https://github.com/sponsors/jonschlinkert"],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-19T18:49:22.275Z","issues_count":7,"pull_requests_count":8,"avg_time_to_close_issue":1154603.0,"avg_time_to_close_pull_request":546140.25,"issues_closed_count":2,"pull_requests_closed_count":4,"pull_request_authors_count":8,"issue_authors_count":7,"avg_comments_per_issue":0.8571428571428571,"avg_comments_per_pull_request":1.375,"merged_pull_requests_count":3,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":1,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":2159415.0,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":2.0,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Farray-last/issues","maintainers":[{"login":"phated","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/phated"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/array-last/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/array-last/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/array-last/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/array-last/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/array-last/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/array-last/codemeta","maintainers":[{"uuid":"jonschlinkert","login":"jonschlinkert","name":null,"email":"github@sellside.com","url":null,"packages_count":1555,"html_url":"https://www.npmjs.com/~jonschlinkert","role":null,"created_at":"2022-11-11T12:08:00.227Z","updated_at":"2022-11-11T12:08:00.227Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/jonschlinkert/packages"},{"uuid":"phated","login":"phated","name":null,"email":"blaine.bublitz@gmail.com","url":null,"packages_count":194,"html_url":"https://www.npmjs.com/~phated","role":null,"created_at":"2022-11-11T12:07:57.800Z","updated_at":"2022-11-11T12:07:57.800Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/phated/packages"}]}