{"id":9725496,"name":"@stdlib/array-base-with","ecosystem":"npm","description":"Return a new array with the element at the specified index replaced with a provided value.","homepage":"https://stdlib.io","licenses":"Apache-2.0","normalized_licenses":["Apache-2.0"],"repository_url":"https://github.com/stdlib-js/array-base-with","keywords_array":["stdlib","base","array","typed","collection","vector","with","set","setter","copy"],"namespace":"stdlib","versions_count":4,"first_release_published_at":"2024-04-13T01:38:47.369Z","latest_release_published_at":"2026-02-08T22:43:49.850Z","latest_release_number":"0.2.1","last_synced_at":"2026-03-24T22:33:13.662Z","created_at":"2024-04-14T00:55:10.589Z","updated_at":"2026-03-24T22:33:13.663Z","registry_url":"https://www.npmjs.com/package/@stdlib/array-base-with","install_command":"npm install @stdlib/array-base-with","documentation_url":null,"metadata":{"funding":{"type":"opencollective","url":"https://opencollective.com/stdlib"},"dist-tags":{"latest":"0.2.1"}},"repo_metadata":{"id":225276787,"uuid":"763592108","full_name":"stdlib-js/array-base-with","owner":"stdlib-js","description":"Return a new array after replacing an index with a given value.","archived":false,"fork":false,"pushed_at":"2025-09-14T02:37:09.000Z","size":1161,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-09-14T04:21:12.233Z","etag":null,"topics":["access","accessor","array","base","collection","get","getter","javascript","node","node-js","nodejs","retrieve","stdlib","typed","vector","with"],"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":"2024-02-26T15:26:10.000Z","updated_at":"2025-09-14T02:35:11.000Z","dependencies_parsed_at":"2024-12-16T02:27:56.957Z","dependency_job_id":"bbd017d3-2ee2-4019-9ccd-164a59d954a3","html_url":"https://github.com/stdlib-js/array-base-with","commit_stats":null,"previous_names":["stdlib-js/array-base-with"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/stdlib-js/array-base-with","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stdlib-js","download_url":"https://codeload.github.com/stdlib-js/array-base-with/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018700,"owners_count":26086604,"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-10-14T02:00:06.444Z","response_time":60,"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":"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"},"tags":[{"name":"v0.1.1-esm","sha":"59782b033998a91f32210a5bb36439384c16e338","kind":"tag","published_at":"2024-07-29T11:55:06.000Z","download_url":"https://codeload.github.com/stdlib-js/array-base-with/tar.gz/v0.1.1-esm","html_url":"https://github.com/stdlib-js/array-base-with/releases/tag/v0.1.1-esm","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/array-base-with@v0.1.1-esm","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/tags/v0.1.1-esm","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/tags/v0.1.1-esm/manifests"},{"name":"v0.1.1-umd","sha":"1ff89f8e4ecfcd16ee969d48512d3e6387ffdeec","kind":"tag","published_at":"2024-07-29T11:55:05.000Z","download_url":"https://codeload.github.com/stdlib-js/array-base-with/tar.gz/v0.1.1-umd","html_url":"https://github.com/stdlib-js/array-base-with/releases/tag/v0.1.1-umd","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/array-base-with@v0.1.1-umd","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/tags/v0.1.1-umd","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/tags/v0.1.1-umd/manifests"},{"name":"v0.1.1-deno","sha":"c227aa0ea1ce0f20ef218ee97f4017ba8cee70a0","kind":"tag","published_at":"2024-07-29T11:55:04.000Z","download_url":"https://codeload.github.com/stdlib-js/array-base-with/tar.gz/v0.1.1-deno","html_url":"https://github.com/stdlib-js/array-base-with/releases/tag/v0.1.1-deno","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/array-base-with@v0.1.1-deno","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/tags/v0.1.1-deno","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/tags/v0.1.1-deno/manifests"},{"name":"v0.1.1","sha":"1f4ed43417f6cdce1a38c96f42c7dc66a5bec260","kind":"commit","published_at":"2024-07-29T11:52:37.000Z","download_url":"https://codeload.github.com/stdlib-js/array-base-with/tar.gz/v0.1.1","html_url":"https://github.com/stdlib-js/array-base-with/releases/tag/v0.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/array-base-with@v0.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/tags/v0.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/tags/v0.1.1/manifests"},{"name":"v0.1.0-esm","sha":"8cb5fadbd9ebfc51d8f5a78d6d4617499096fdca","kind":"tag","published_at":"2024-04-13T02:24:53.000Z","download_url":"https://codeload.github.com/stdlib-js/array-base-with/tar.gz/v0.1.0-esm","html_url":"https://github.com/stdlib-js/array-base-with/releases/tag/v0.1.0-esm","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/array-base-with@v0.1.0-esm","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/tags/v0.1.0-esm","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/tags/v0.1.0-esm/manifests"},{"name":"v0.1.0-umd","sha":"47ea1e92e01643971f92346a487ce368e73077bf","kind":"tag","published_at":"2024-04-13T02:24:51.000Z","download_url":"https://codeload.github.com/stdlib-js/array-base-with/tar.gz/v0.1.0-umd","html_url":"https://github.com/stdlib-js/array-base-with/releases/tag/v0.1.0-umd","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/array-base-with@v0.1.0-umd","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/tags/v0.1.0-umd","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/tags/v0.1.0-umd/manifests"},{"name":"v0.1.0-deno","sha":"e2ba5eb5b22a6d0122592875370599a8a3d27db1","kind":"tag","published_at":"2024-04-13T02:24:49.000Z","download_url":"https://codeload.github.com/stdlib-js/array-base-with/tar.gz/v0.1.0-deno","html_url":"https://github.com/stdlib-js/array-base-with/releases/tag/v0.1.0-deno","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/array-base-with@v0.1.0-deno","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/tags/v0.1.0-deno","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/tags/v0.1.0-deno/manifests"},{"name":"v0.1.0","sha":"99cb4984247189ce0cd2538b748196ed45e55372","kind":"commit","published_at":"2024-04-13T01:38:45.000Z","download_url":"https://codeload.github.com/stdlib-js/array-base-with/tar.gz/v0.1.0","html_url":"https://github.com/stdlib-js/array-base-with/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/array-base-with@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/tags/v0.1.0/manifests"},{"name":"v0.0.0-esm","sha":"8d4799fb09cb1927719892aa3d339d5570f5142a","kind":"tag","published_at":"2024-04-07T01:46:56.000Z","download_url":"https://codeload.github.com/stdlib-js/array-base-with/tar.gz/v0.0.0-esm","html_url":"https://github.com/stdlib-js/array-base-with/releases/tag/v0.0.0-esm","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/array-base-with@v0.0.0-esm","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/tags/v0.0.0-esm","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/tags/v0.0.0-esm/manifests"},{"name":"v0.0.0-umd","sha":"8454a8046a5c65fd14befd6e92fcebc50bb894d3","kind":"tag","published_at":"2024-04-07T01:46:54.000Z","download_url":"https://codeload.github.com/stdlib-js/array-base-with/tar.gz/v0.0.0-umd","html_url":"https://github.com/stdlib-js/array-base-with/releases/tag/v0.0.0-umd","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/array-base-with@v0.0.0-umd","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/tags/v0.0.0-umd","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/tags/v0.0.0-umd/manifests"},{"name":"v0.0.0-deno","sha":"aa6fa7aa8a7ba671f1f79e152659dee9b7ee88ca","kind":"tag","published_at":"2024-04-07T01:46:52.000Z","download_url":"https://codeload.github.com/stdlib-js/array-base-with/tar.gz/v0.0.0-deno","html_url":"https://github.com/stdlib-js/array-base-with/releases/tag/v0.0.0-deno","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/array-base-with@v0.0.0-deno","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/tags/v0.0.0-deno","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/tags/v0.0.0-deno/manifests"}]},"repo_metadata_updated_at":"2026-02-21T03:34:37.217Z","dependent_packages_count":0,"downloads":28,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":30.66166679949785,"dependent_packages_count":43.91419139568683,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":37.28792909759234},"purl":"pkg:npm/%40stdlib/array-base-with","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@stdlib/array-base-with","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@stdlib/array-base-with","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@stdlib/array-base-with/dependencies","status":null,"funding_links":["https://opencollective.com/stdlib","https://github.com/sponsors/stdlib-js","https://tidelift.com/funding/github/npm/@stdlib/stdlib"],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-13T20:34:45.839Z","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,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Farray-base-with/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@stdlib%2Farray-base-with/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@stdlib%2Farray-base-with/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@stdlib%2Farray-base-with/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@stdlib%2Farray-base-with/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@stdlib%2Farray-base-with/codemeta","maintainers":[{"uuid":"planeshifter","login":"planeshifter","name":null,"email":"pgb@andrew.cmu.edu","url":null,"packages_count":5862,"html_url":"https://www.npmjs.com/~planeshifter","role":null,"created_at":"2024-04-14T00:55:11.287Z","updated_at":"2024-04-14T00:55:11.287Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/planeshifter/packages"},{"uuid":"rreusser","login":"rreusser","name":null,"email":"rsreusser@gmail.com","url":null,"packages_count":5820,"html_url":"https://www.npmjs.com/~rreusser","role":null,"created_at":"2024-04-14T00:55:11.332Z","updated_at":"2024-04-14T00:55:11.332Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/rreusser/packages"},{"uuid":"stdlib-bot","login":"stdlib-bot","name":null,"email":"kgryte+stdlibbot@gmail.com","url":null,"packages_count":5553,"html_url":"https://www.npmjs.com/~stdlib-bot","role":null,"created_at":"2024-04-14T00:55:11.203Z","updated_at":"2024-04-14T00:55:11.203Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/stdlib-bot/packages"},{"uuid":"kgryte","login":"kgryte","name":null,"email":"kgryte@gmail.com","url":null,"packages_count":6352,"html_url":"https://www.npmjs.com/~kgryte","role":null,"created_at":"2024-04-14T00:55:11.247Z","updated_at":"2024-04-14T00:55:11.247Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/kgryte/packages"}]}