{"id":25850,"name":"array-base-first","description":"Return the first element of an array-like object.","url":"https://github.com/stdlib-js/array-base-first","last_synced_at":"2025-09-05T02:57:26.484Z","repository":{"id":213324401,"uuid":"729641284","full_name":"stdlib-js/array-base-first","owner":"stdlib-js","description":"Return the first element of an array-like object.","archived":false,"fork":false,"pushed_at":"2025-07-14T00:33:00.000Z","size":1150,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-17T22:46:00.462Z","etag":null,"topics":["array","base","data","first","generic","javascript","node","node-js","nodejs","stdlib","structure","types"],"latest_commit_sha":null,"homepage":"https://github.com/stdlib-js/stdlib","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stdlib-js.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["stdlib-js"],"open_collective":"stdlib","tidelift":"npm/@stdlib/stdlib"}},"created_at":"2023-12-09T21:46:02.000Z","updated_at":"2025-07-14T00:31:33.000Z","dependencies_parsed_at":"2023-12-20T09:28:33.333Z","dependency_job_id":"8ba37a45-28f0-4546-b8ec-db7d5b456bb9","html_url":"https://github.com/stdlib-js/array-base-first","commit_stats":null,"previous_names":["stdlib-js/array-base-first"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/stdlib-js/array-base-first","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-first","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-first/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-first/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-first/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stdlib-js","download_url":"https://codeload.github.com/stdlib-js/array-base-first/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-first/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273703687,"owners_count":25153002,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"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":{"login":"stdlib-js","name":"stdlib","uuid":"17805691","kind":"organization","description":"Standard library for JavaScript.","email":null,"website":"https://stdlib.io","location":null,"twitter":"stdlibjs","company":null,"icon_url":"https://avatars.githubusercontent.com/u/17805691?v=4","repositories_count":3692,"last_synced_at":"2024-05-01T09:30:33.148Z","metadata":{"has_sponsors_listing":true,"funding":{"github":["stdlib-js"],"open_collective":"stdlib","tidelift":"npm/@stdlib/stdlib"}},"html_url":"https://github.com/stdlib-js","funding_links":["https://github.com/sponsors/stdlib-js","https://opencollective.com/stdlib","https://tidelift.com/funding/github/npm/@stdlib/stdlib"],"total_stars":9686,"followers":99,"following":0,"created_at":"2022-11-02T16:51:14.990Z","updated_at":"2024-05-01T09:37:07.346Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stdlib-js","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stdlib-js/repositories"},"packages":null,"commits":{"id":1533424,"full_name":"stdlib-js/array-base-first","default_branch":"master","committers":null,"total_commits":null,"total_committers":null,"total_bot_commits":null,"total_bot_committers":null,"mean_commits":null,"dds":null,"past_year_committers":null,"past_year_total_commits":null,"past_year_total_committers":null,"past_year_total_bot_commits":null,"past_year_total_bot_committers":null,"past_year_mean_commits":null,"past_year_dds":null,"last_synced_at":null,"last_synced_commit":null,"created_at":"2024-02-24T06:32:14.411Z","updated_at":"2024-02-24T06:32:14.411Z","commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-first/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2025-09-05T00:00:10.343Z","repositories_count":5480019,"commits_count":853389012,"contributors_count":31098138,"owners_count":906558,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"stdlib-js/array-base-first","html_url":"https://github.com/stdlib-js/array-base-first","last_synced_at":"2025-08-17T03:52:52.772Z","status":"error","issues_count":0,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"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,"created_at":"2024-01-26T14:00:42.270Z","updated_at":"2025-08-17T03:52:52.773Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-first","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-first/issues","issue_labels_count":{},"pull_request_labels_count":{},"issue_author_associations_count":{},"pull_request_author_associations_count":{},"issue_authors":{},"pull_request_authors":{},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2025-09-05T00:00:10.444Z","repositories_count":10083752,"issues_count":31254324,"pull_requests_count":96222393,"authors_count":10694625,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{},"past_year_pull_request_author_associations_count":{},"past_year_issue_authors":{},"past_year_pull_request_authors":{},"maintainers":[],"active_maintainers":[]},"events":{"total":{"PushEvent":8},"last_year":{"PushEvent":8}},"keywords":["array","base","data","first","generic","javascript","node","node-js","nodejs","stdlib","structure","types"],"dependencies":[{"ecosystem":"actions","filepath":".github/workflows/benchmark.yml","sha":null,"kind":"manifest","created_at":"2023-12-20T09:28:30.923Z","updated_at":"2023-12-20T09:28:30.923Z","repository_link":"https://github.com/stdlib-js/array-base-first/blob/main/.github/workflows/benchmark.yml","dependencies":[{"id":15187631377,"package_name":"actions/checkout","ecosystem":"actions","requirements":"8ade135a41bc03ea155e62e844d188df1ea18608","direct":true,"kind":"composite","optional":false},{"id":15187631378,"package_name":"actions/setup-node","ecosystem":"actions","requirements":"5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/cancel.yml","sha":null,"kind":"manifest","created_at":"2023-12-20T09:28:30.930Z","updated_at":"2023-12-20T09:28:30.930Z","repository_link":"https://github.com/stdlib-js/array-base-first/blob/main/.github/workflows/cancel.yml","dependencies":[{"id":15187631379,"package_name":"styfle/cancel-workflow-action","ecosystem":"actions","requirements":"b173b6ec0100793626c2d9e6b90435061f4fc3e5","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/close_pull_requests.yml","sha":null,"kind":"manifest","created_at":"2023-12-20T09:28:30.936Z","updated_at":"2023-12-20T09:28:30.936Z","repository_link":"https://github.com/stdlib-js/array-base-first/blob/main/.github/workflows/close_pull_requests.yml","dependencies":[{"id":15187631380,"package_name":"superbrothers/close-pull-request","ecosystem":"actions","requirements":"9c18513d320d7b2c7185fb93396d0c664d5d8448","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/examples.yml","sha":null,"kind":"manifest","created_at":"2023-12-20T09:28:30.941Z","updated_at":"2023-12-20T09:28:30.941Z","repository_link":"https://github.com/stdlib-js/array-base-first/blob/main/.github/workflows/examples.yml","dependencies":[{"id":15187631381,"package_name":"actions/checkout","ecosystem":"actions","requirements":"8ade135a41bc03ea155e62e844d188df1ea18608","direct":true,"kind":"composite","optional":false},{"id":15187631382,"package_name":"actions/setup-node","ecosystem":"actions","requirements":"5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/npm_downloads.yml","sha":null,"kind":"manifest","created_at":"2023-12-20T09:28:30.947Z","updated_at":"2023-12-20T09:28:30.947Z","repository_link":"https://github.com/stdlib-js/array-base-first/blob/main/.github/workflows/npm_downloads.yml","dependencies":[{"id":15187631383,"package_name":"actions/checkout","ecosystem":"actions","requirements":"8ade135a41bc03ea155e62e844d188df1ea18608","direct":true,"kind":"composite","optional":false},{"id":15187631384,"package_name":"actions/setup-node","ecosystem":"actions","requirements":"5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d","direct":true,"kind":"composite","optional":false},{"id":15187631385,"package_name":"actions/upload-artifact","ecosystem":"actions","requirements":"a8a3f3ad30e3422c9c7b888a15615d19a852ae32","direct":true,"kind":"composite","optional":false},{"id":15187631386,"package_name":"distributhor/workflow-webhook","ecosystem":"actions","requirements":"48a40b380ce4593b6a6676528cd005986ae56629","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/productionize.yml","sha":null,"kind":"manifest","created_at":"2023-12-20T09:28:30.953Z","updated_at":"2023-12-20T09:28:30.953Z","repository_link":"https://github.com/stdlib-js/array-base-first/blob/main/.github/workflows/productionize.yml","dependencies":[{"id":15187631387,"package_name":"actions/checkout","ecosystem":"actions","requirements":"8ade135a41bc03ea155e62e844d188df1ea18608","direct":true,"kind":"composite","optional":false},{"id":15187631388,"package_name":"actions/setup-node","ecosystem":"actions","requirements":"5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d","direct":true,"kind":"composite","optional":false},{"id":15187631389,"package_name":"stdlib-js/transform-errors-action","ecosystem":"actions","requirements":"main","direct":true,"kind":"composite","optional":false},{"id":15187631390,"package_name":"stdlib-js/bundle-action","ecosystem":"actions","requirements":"main","direct":true,"kind":"composite","optional":false},{"id":15187631391,"package_name":"act10ns/slack","ecosystem":"actions","requirements":"ed1309ab9862e57e9e583e51c7889486b9a00b0f","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/publish.yml","sha":null,"kind":"manifest","created_at":"2023-12-20T09:28:30.960Z","updated_at":"2023-12-20T09:28:30.960Z","repository_link":"https://github.com/stdlib-js/array-base-first/blob/main/.github/workflows/publish.yml","dependencies":[{"id":15187631392,"package_name":"actions/checkout","ecosystem":"actions","requirements":"8ade135a41bc03ea155e62e844d188df1ea18608","direct":true,"kind":"composite","optional":false},{"id":15187631393,"package_name":"actions/setup-node","ecosystem":"actions","requirements":"5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d","direct":true,"kind":"composite","optional":false},{"id":15187631394,"package_name":"JS-DevTools/npm-publish","ecosystem":"actions","requirements":"fe72237be0920f7a0cafd6a966c9b929c9466e9b","direct":true,"kind":"composite","optional":false},{"id":15187631395,"package_name":"act10ns/slack","ecosystem":"actions","requirements":"ed1309ab9862e57e9e583e51c7889486b9a00b0f","direct":true,"kind":"composite","optional":false},{"id":15187631396,"package_name":"styfle/cancel-workflow-action","ecosystem":"actions","requirements":"b173b6ec0100793626c2d9e6b90435061f4fc3e5","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/test.yml","sha":null,"kind":"manifest","created_at":"2023-12-20T09:28:30.971Z","updated_at":"2023-12-20T09:28:30.971Z","repository_link":"https://github.com/stdlib-js/array-base-first/blob/main/.github/workflows/test.yml","dependencies":[{"id":15187631397,"package_name":"actions/checkout","ecosystem":"actions","requirements":"8ade135a41bc03ea155e62e844d188df1ea18608","direct":true,"kind":"composite","optional":false},{"id":15187631398,"package_name":"actions/setup-node","ecosystem":"actions","requirements":"5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d","direct":true,"kind":"composite","optional":false},{"id":15187631399,"package_name":"act10ns/slack","ecosystem":"actions","requirements":"ed1309ab9862e57e9e583e51c7889486b9a00b0f","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/test_bundles.yml","sha":null,"kind":"manifest","created_at":"2023-12-20T09:28:30.979Z","updated_at":"2023-12-20T09:28:30.979Z","repository_link":"https://github.com/stdlib-js/array-base-first/blob/main/.github/workflows/test_bundles.yml","dependencies":[{"id":15187631400,"package_name":"actions/checkout","ecosystem":"actions","requirements":"8ade135a41bc03ea155e62e844d188df1ea18608","direct":true,"kind":"composite","optional":false},{"id":15187631401,"package_name":"actions/setup-node","ecosystem":"actions","requirements":"5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d","direct":true,"kind":"composite","optional":false},{"id":15187631402,"package_name":"act10ns/slack","ecosystem":"actions","requirements":"ed1309ab9862e57e9e583e51c7889486b9a00b0f","direct":true,"kind":"composite","optional":false},{"id":15187631403,"package_name":"denoland/setup-deno","ecosystem":"actions","requirements":"61fe2df320078202e33d7d5ad347e7dcfa0e8f31","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/test_coverage.yml","sha":null,"kind":"manifest","created_at":"2023-12-20T09:28:30.986Z","updated_at":"2023-12-20T09:28:30.986Z","repository_link":"https://github.com/stdlib-js/array-base-first/blob/main/.github/workflows/test_coverage.yml","dependencies":[{"id":15187631404,"package_name":"actions/checkout","ecosystem":"actions","requirements":"8ade135a41bc03ea155e62e844d188df1ea18608","direct":true,"kind":"composite","optional":false},{"id":15187631405,"package_name":"actions/setup-node","ecosystem":"actions","requirements":"5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d","direct":true,"kind":"composite","optional":false},{"id":15187631406,"package_name":"codecov/codecov-action","ecosystem":"actions","requirements":"eaaf4bedf32dbdc6b720b63067d99c4d77d6047d","direct":true,"kind":"composite","optional":false},{"id":15187631407,"package_name":"act10ns/slack","ecosystem":"actions","requirements":"ed1309ab9862e57e9e583e51c7889486b9a00b0f","direct":true,"kind":"composite","optional":false},{"id":15187631408,"package_name":"distributhor/workflow-webhook","ecosystem":"actions","requirements":"48a40b380ce4593b6a6676528cd005986ae56629","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/test_install.yml","sha":null,"kind":"manifest","created_at":"2023-12-20T09:28:30.993Z","updated_at":"2023-12-20T09:28:30.993Z","repository_link":"https://github.com/stdlib-js/array-base-first/blob/main/.github/workflows/test_install.yml","dependencies":[{"id":15187631409,"package_name":"actions/checkout","ecosystem":"actions","requirements":"8ade135a41bc03ea155e62e844d188df1ea18608","direct":true,"kind":"composite","optional":false},{"id":15187631410,"package_name":"actions/setup-node","ecosystem":"actions","requirements":"5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d","direct":true,"kind":"composite","optional":false},{"id":15187631411,"package_name":"act10ns/slack","ecosystem":"actions","requirements":"ed1309ab9862e57e9e583e51c7889486b9a00b0f","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"npm","filepath":"package.json","sha":null,"kind":"manifest","created_at":"2023-12-20T09:28:31.002Z","updated_at":"2023-12-20T09:28:31.002Z","repository_link":"https://github.com/stdlib-js/array-base-first/blob/main/package.json","dependencies":[{"id":15187631412,"package_name":"@stdlib/array-base-resolve-getter","ecosystem":"npm","requirements":"^0.1.0","direct":true,"kind":"runtime","optional":false},{"id":15187631413,"package_name":"@stdlib/types","ecosystem":"npm","requirements":"^0.2.0","direct":true,"kind":"runtime","optional":false},{"id":15187631414,"package_name":"@stdlib/array-complex64","ecosystem":"npm","requirements":"^0.1.0","direct":true,"kind":"development","optional":false},{"id":15187631438,"package_name":"@stdlib/array-filled-by","ecosystem":"npm","requirements":"^0.1.0","direct":true,"kind":"development","optional":false},{"id":15187631439,"package_name":"@stdlib/complex-imagf","ecosystem":"npm","requirements":"^0.1.1","direct":true,"kind":"development","optional":false},{"id":15187631499,"package_name":"@stdlib/complex-realf","ecosystem":"npm","requirements":"^0.1.1","direct":true,"kind":"development","optional":false},{"id":15187631500,"package_name":"@stdlib/math-base-assert-is-nanf","ecosystem":"npm","requirements":"^0.1.1","direct":true,"kind":"development","optional":false},{"id":15187631503,"package_name":"@stdlib/math-base-special-pow","ecosystem":"npm","requirements":"^0.1.0","direct":true,"kind":"development","optional":false},{"id":15187631504,"package_name":"@stdlib/random-base-discrete-uniform","ecosystem":"npm","requirements":"^0.1.0","direct":true,"kind":"development","optional":false},{"id":15187631505,"package_name":"tape","ecosystem":"npm","requirements":"git+https://github.com/kgryte/tape.git#fix/globby","direct":true,"kind":"development","optional":false},{"id":15187631506,"package_name":"istanbul","ecosystem":"npm","requirements":"^0.4.1","direct":true,"kind":"development","optional":false},{"id":15187631507,"package_name":"tap-min","ecosystem":"npm","requirements":"git+https://github.com/Planeshifter/tap-min.git","direct":true,"kind":"development","optional":false},{"id":15187631508,"package_name":"@stdlib/bench-harness","ecosystem":"npm","requirements":"^0.1.2","direct":true,"kind":"development","optional":false}]}],"score":null,"created_at":"2025-09-04T15:50:57.878Z","updated_at":"2025-10-07T08:11:42.691Z","avatar_url":"https://github.com/stdlib-js.png","language":"JavaScript","category":null,"sub_category":null,"monthly_downloads":0,"funding_links":["https://github.com/sponsors/stdlib-js","https://opencollective.com/stdlib","https://tidelift.com/funding/github/npm/@stdlib/stdlib"],"readme_doi_urls":[],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":[],"project_url":"https://science.ecosyste.ms/api/v1/projects/25850","html_url":"https://science.ecosyste.ms/projects/25850","bibtex_url":"https://science.ecosyste.ms/projects/25850/export.bibtex","apalike_url":"https://science.ecosyste.ms/projects/25850/export.apalike"}