{"id":31322835,"url":"https://github.com/stacksjs/ts-ndarray","last_synced_at":"2025-09-25T19:19:08.980Z","repository":{"id":276867742,"uuid":"930553790","full_name":"stacksjs/ts-ndarray","owner":"stacksjs","description":"🌀 Multidimensional arrays for JavaScript \u0026 TypeScript.","archived":false,"fork":false,"pushed_at":"2025-09-18T18:13:14.000Z","size":400,"stargazers_count":3,"open_issues_count":12,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-18T21:11:45.313Z","etag":null,"topics":["arrays","library","multidimensional","multidimensional-arrays","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/stacksjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["stacksjs","chrisbbreuer"],"open_collective":"stacksjs"}},"created_at":"2025-02-10T20:25:27.000Z","updated_at":"2025-08-27T13:23:25.000Z","dependencies_parsed_at":"2025-02-10T22:24:02.824Z","dependency_job_id":"205b9722-73e1-440d-ad22-8b01574a6056","html_url":"https://github.com/stacksjs/ts-ndarray","commit_stats":null,"previous_names":["stacksjs/ts-ndarray"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/stacksjs/ts-ndarray","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stacksjs%2Fts-ndarray","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stacksjs%2Fts-ndarray/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stacksjs%2Fts-ndarray/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stacksjs%2Fts-ndarray/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stacksjs","download_url":"https://codeload.github.com/stacksjs/ts-ndarray/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stacksjs%2Fts-ndarray/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276967043,"owners_count":25736930,"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-25T02:00:09.612Z","response_time":80,"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"}},"keywords":["arrays","library","multidimensional","multidimensional-arrays","typescript"],"created_at":"2025-09-25T19:19:07.727Z","updated_at":"2025-09-25T19:19:08.975Z","avatar_url":"https://github.com/stacksjs.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\u003cimg src=\".github/art/cover.jpg\" alt=\"Social Card of this repo\"\u003e\u003c/p\u003e\n\n[![npm version][npm-version-src]][npm-version-href]\n[![GitHub Actions][github-actions-src]][github-actions-href]\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\n\u003c!-- [![npm downloads][npm-downloads-src]][npm-downloads-href] --\u003e\n\u003c!-- [![Codecov][codecov-src]][codecov-href] --\u003e\n\n# ts-ndarray\n\n\u003e A TypeScript library for working with n-dimensional arrays.\n\n## Features\n\n- **N-dimensional**: Create and manipulate n-dimensional arrays.\n- **Multilinear** Bilinear and trilinear interpolation for ndarrays.\n- **Images** Utilities to read an image into an ndarray.\n- **Simple**: A simple API for working with n-dimensional arrays.\n- **Fast**: Built with performance in mind.\n- **Typed**: Written in TypeScript.\n\n## Get Started\n\n### Installation\n\n```bash\nnpm install ts-ndarray\n# bun i ts-ndarray\n```\n\n### Usage\n\n```ts\nimport { NdArray } from 'ts-ndarray'\n```\n\n## Testing\n\n```bash\nbun test\n```\n\n## Changelog\n\nPlease see our [releases](https://github.com/stackjs/ts-ndarray/releases) page for more information on what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.\n\n## Community\n\nFor help, discussion about best practices, or any other conversation that would benefit from being searchable:\n\n[Discussions on GitHub](https://github.com/stacksjs/ts-starter/discussions)\n\nFor casual chit-chat with others using this package:\n\n[Join the Stacks Discord Server](https://discord.gg/stacksjs)\n\n## Postcardware\n\n“Software that is free, but hopes for a postcard.” We love receiving postcards from around the world showing where `ts-ndarray` is being used! We showcase them on our website too.\n\nOur address: Stacks.js, 12665 Village Ln #2306, Playa Vista, CA 90094, United States 🌎\n\n## Credits\n\n- Thanks to [Mikola Lysenko](https://github.com/mikolalysenko) for the original [`ndarray`](https://github.com/scijs/ndarray) library, [`ndarray-linear-interpolate`](https://github.com/scijs/ndarray-linear-interpolate), [`ndarray-pack`](https://github.com/scijs/ndarray-pack), and [`get-pixels`](https://github.com/scijs/get-pixels).\n\n## Sponsors\n\nWe would like to extend our thanks to the following sponsors for funding Stacks development. If you are interested in becoming a sponsor, please reach out to us.\n\n- [JetBrains](https://www.jetbrains.com/)\n- [The Solana Foundation](https://solana.com/)\n\n## License\n\nThe MIT License (MIT). Please see [LICENSE](LICENSE.md) for more information.\n\nMade with 💙\n\n\u003c!-- Badges --\u003e\n[npm-version-src]: https://img.shields.io/npm/v/ts-ndarray?style=flat-square\n[npm-version-href]: https://npmjs.com/package/ts-ndarray\n[github-actions-src]: https://img.shields.io/github/actions/workflow/status/stacksjs/ts-starter/ci.yml?style=flat-square\u0026branch=main\n[github-actions-href]: https://github.com/stacksjs/ts-starter/actions?query=workflow%3Aci\n\n\u003c!-- [codecov-src]: https://img.shields.io/codecov/c/gh/stacksjs/ts-starter/main?style=flat-square\n[codecov-href]: https://codecov.io/gh/stacksjs/ts-starter --\u003e\n","funding_links":["https://github.com/sponsors/stacksjs","https://github.com/sponsors/chrisbbreuer","https://opencollective.com/stacksjs"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstacksjs%2Fts-ndarray","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstacksjs%2Fts-ndarray","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstacksjs%2Fts-ndarray/lists"}