{"id":1293656,"name":"@stdlib/ndarray-from-scalar","ecosystem":"npm","description":"Convert a scalar value to a zero-dimensional ndarray.","homepage":"https://stdlib.io","licenses":"Apache-2.0","normalized_licenses":["Apache-2.0"],"repository_url":"https://github.com/stdlib-js/ndarray-from-scalar","keywords_array":["stdlib","stdtypes","types","data","structure","ndarray","scalar","wrap","convert"],"namespace":"stdlib","versions_count":6,"first_release_published_at":"2022-02-16T19:49:46.030Z","latest_release_published_at":"2026-02-08T22:56:15.147Z","latest_release_number":"0.3.1","last_synced_at":"2026-03-28T10:38:16.045Z","created_at":"2022-04-08T19:53:55.179Z","updated_at":"2026-03-28T10:38:16.045Z","registry_url":"https://www.npmjs.com/package/@stdlib/ndarray-from-scalar","install_command":"npm install @stdlib/ndarray-from-scalar","documentation_url":null,"metadata":{"funding":{"type":"opencollective","url":"https://opencollective.com/stdlib"},"dist-tags":{"latest":"0.3.1"}},"repo_metadata":{"id":57162697,"uuid":"452091382","full_name":"stdlib-js/ndarray-from-scalar","owner":"stdlib-js","description":"Convert a scalar value to a zero-dimensional ndarray.","archived":false,"fork":false,"pushed_at":"2025-01-20T01:59:09.000Z","size":3731,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-09-04T20:38:08.383Z","etag":null,"topics":["convert","data","javascript","ndarray","node","node-js","nodejs","scalar","stdlib","structure","types","wrap"],"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":"2022-01-26T00:40:43.000Z","updated_at":"2025-01-20T01:38:33.000Z","dependencies_parsed_at":"2024-01-23T21:42:23.004Z","dependency_job_id":"4635b59a-4bb0-4040-a245-da4123390a53","html_url":"https://github.com/stdlib-js/ndarray-from-scalar","commit_stats":{"total_commits":33,"total_committers":1,"mean_commits":33.0,"dds":0.0,"last_synced_commit":"5fc05cf293b9a60d6635bd1c9d8a71b032d10cb4"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/stdlib-js/ndarray-from-scalar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stdlib-js","download_url":"https://codeload.github.com/stdlib-js/ndarray-from-scalar/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278597185,"owners_count":26013235,"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-06T02:00:05.630Z","response_time":65,"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.2.1-esm","sha":"4198fc6e1abae441379596964602a73e40fce0e7","kind":"tag","published_at":"2024-02-25T22:02:11.000Z","download_url":"https://codeload.github.com/stdlib-js/ndarray-from-scalar/tar.gz/v0.2.1-esm","html_url":"https://github.com/stdlib-js/ndarray-from-scalar/releases/tag/v0.2.1-esm","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/ndarray-from-scalar@v0.2.1-esm","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.2.1-esm","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.2.1-esm/manifests"},{"name":"v0.2.1-umd","sha":"e9d320b52bd45d5acd37d00f83f9b50a8e650559","kind":"tag","published_at":"2024-02-25T22:02:09.000Z","download_url":"https://codeload.github.com/stdlib-js/ndarray-from-scalar/tar.gz/v0.2.1-umd","html_url":"https://github.com/stdlib-js/ndarray-from-scalar/releases/tag/v0.2.1-umd","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/ndarray-from-scalar@v0.2.1-umd","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.2.1-umd","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.2.1-umd/manifests"},{"name":"v0.2.1-deno","sha":"cdaebd29e9272aa1b8917a4541084bf3bf800074","kind":"tag","published_at":"2024-02-25T22:02:08.000Z","download_url":"https://codeload.github.com/stdlib-js/ndarray-from-scalar/tar.gz/v0.2.1-deno","html_url":"https://github.com/stdlib-js/ndarray-from-scalar/releases/tag/v0.2.1-deno","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/ndarray-from-scalar@v0.2.1-deno","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.2.1-deno","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.2.1-deno/manifests"},{"name":"v0.2.1","sha":"87893812d95483a4b9b1898071884d9deac25b3c","kind":"commit","published_at":"2024-02-25T19:32:01.000Z","download_url":"https://codeload.github.com/stdlib-js/ndarray-from-scalar/tar.gz/v0.2.1","html_url":"https://github.com/stdlib-js/ndarray-from-scalar/releases/tag/v0.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/ndarray-from-scalar@v0.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.2.1/manifests"},{"name":"v0.2.0-esm","sha":"4806c8eb7c3adff28924970b95f43ba7aef5b59d","kind":"tag","published_at":"2024-02-15T06:35:56.000Z","download_url":"https://codeload.github.com/stdlib-js/ndarray-from-scalar/tar.gz/v0.2.0-esm","html_url":"https://github.com/stdlib-js/ndarray-from-scalar/releases/tag/v0.2.0-esm","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/ndarray-from-scalar@v0.2.0-esm","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.2.0-esm","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.2.0-esm/manifests"},{"name":"v0.2.0-umd","sha":"68bc61ac06c80234f2ba285770217bda6afe0270","kind":"tag","published_at":"2024-02-15T06:35:55.000Z","download_url":"https://codeload.github.com/stdlib-js/ndarray-from-scalar/tar.gz/v0.2.0-umd","html_url":"https://github.com/stdlib-js/ndarray-from-scalar/releases/tag/v0.2.0-umd","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/ndarray-from-scalar@v0.2.0-umd","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.2.0-umd","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.2.0-umd/manifests"},{"name":"v0.2.0-deno","sha":"2989f0cfddd33927c4ef9b690823e60131d88268","kind":"tag","published_at":"2024-02-15T06:35:54.000Z","download_url":"https://codeload.github.com/stdlib-js/ndarray-from-scalar/tar.gz/v0.2.0-deno","html_url":"https://github.com/stdlib-js/ndarray-from-scalar/releases/tag/v0.2.0-deno","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/ndarray-from-scalar@v0.2.0-deno","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.2.0-deno","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.2.0-deno/manifests"},{"name":"v0.2.0","sha":"5fc05cf293b9a60d6635bd1c9d8a71b032d10cb4","kind":"commit","published_at":"2024-02-15T00:12:57.000Z","download_url":"https://codeload.github.com/stdlib-js/ndarray-from-scalar/tar.gz/v0.2.0","html_url":"https://github.com/stdlib-js/ndarray-from-scalar/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/ndarray-from-scalar@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.2.0/manifests"},{"name":"v0.1.0-esm","sha":"1449557fb94c887ca8d1c45403feecf0706ab421","kind":"tag","published_at":"2023-09-24T18:11:26.000Z","download_url":"https://codeload.github.com/stdlib-js/ndarray-from-scalar/tar.gz/v0.1.0-esm","html_url":"https://github.com/stdlib-js/ndarray-from-scalar/releases/tag/v0.1.0-esm","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/ndarray-from-scalar@v0.1.0-esm","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.1.0-esm","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.1.0-esm/manifests"},{"name":"v0.1.0-umd","sha":"8c56f0660ffed483c0aec86d7520212a0a5088e1","kind":"tag","published_at":"2023-09-24T18:11:24.000Z","download_url":"https://codeload.github.com/stdlib-js/ndarray-from-scalar/tar.gz/v0.1.0-umd","html_url":"https://github.com/stdlib-js/ndarray-from-scalar/releases/tag/v0.1.0-umd","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/ndarray-from-scalar@v0.1.0-umd","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.1.0-umd","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.1.0-umd/manifests"},{"name":"v0.1.0-deno","sha":"73eb81df5077505e09a1ac97a1bc7e5d9b7af2d4","kind":"tag","published_at":"2023-09-24T18:11:22.000Z","download_url":"https://codeload.github.com/stdlib-js/ndarray-from-scalar/tar.gz/v0.1.0-deno","html_url":"https://github.com/stdlib-js/ndarray-from-scalar/releases/tag/v0.1.0-deno","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/ndarray-from-scalar@v0.1.0-deno","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.1.0-deno","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.1.0-deno/manifests"},{"name":"v0.1.0","sha":"44893d304f3d1c4369421324bd30ced35294e3da","kind":"commit","published_at":"2023-09-24T17:10:09.000Z","download_url":"https://codeload.github.com/stdlib-js/ndarray-from-scalar/tar.gz/v0.1.0","html_url":"https://github.com/stdlib-js/ndarray-from-scalar/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/ndarray-from-scalar@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.1.0/manifests"},{"name":"v0.0.1","sha":"58a8546e26d907c49ffbcf69d053a5aea52a3b0b","kind":"commit","published_at":"2022-02-16T07:52:35.000Z","download_url":"https://codeload.github.com/stdlib-js/ndarray-from-scalar/tar.gz/v0.0.1","html_url":"https://github.com/stdlib-js/ndarray-from-scalar/releases/tag/v0.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stdlib-js/ndarray-from-scalar@v0.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stdlib-js%2Fndarray-from-scalar/tags/v0.0.1/manifests"}]},"repo_metadata_updated_at":"2026-02-22T20:49:43.016Z","dependent_packages_count":4,"downloads":778,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":13.913694712996547,"dependent_repos_count":25.32799796580169,"dependent_packages_count":9.4821380216761,"stargazers_count":16.794436995991045,"forks_count":17.419597981652586,"average":16.587573135623593},"purl":"pkg:npm/%40stdlib/ndarray-from-scalar","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@stdlib/ndarray-from-scalar","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@stdlib/ndarray-from-scalar","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@stdlib/ndarray-from-scalar/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-03T03:50:38.259Z","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%2Fndarray-from-scalar/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@stdlib%2Fndarray-from-scalar/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@stdlib%2Fndarray-from-scalar/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@stdlib%2Fndarray-from-scalar/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@stdlib%2Fndarray-from-scalar/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@stdlib%2Fndarray-from-scalar/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":"2022-11-11T00:21:22.498Z","updated_at":"2022-11-11T00:21:22.498Z","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":"2022-11-11T00:21:23.204Z","updated_at":"2022-11-11T00:21:23.204Z","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":"2022-11-11T00:21:21.501Z","updated_at":"2022-11-11T00:21:21.501Z","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":"2022-11-11T00:21:22.017Z","updated_at":"2022-11-11T00:21:22.017Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/kgryte/packages"}]}