{"id":19740365,"url":"https://github.com/distributive-network/npy-js","last_synced_at":"2026-03-19T11:23:51.187Z","repository":{"id":137121197,"uuid":"291287466","full_name":"Distributive-Network/npy-js","owner":"Distributive-Network","description":"A javascript library to read and write basic numpy files. ","archived":false,"fork":false,"pushed_at":"2020-11-04T15:14:11.000Z","size":42,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-28T06:18:56.289Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Distributive-Network.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-29T14:31:37.000Z","updated_at":"2023-09-04T12:19:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd0b1d5c-94b7-4c59-afd6-a918bb878f06","html_url":"https://github.com/Distributive-Network/npy-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Distributive-Network/npy-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Distributive-Network%2Fnpy-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Distributive-Network%2Fnpy-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Distributive-Network%2Fnpy-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Distributive-Network%2Fnpy-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Distributive-Network","download_url":"https://codeload.github.com/Distributive-Network/npy-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Distributive-Network%2Fnpy-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30069220,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T01:03:42.280Z","status":"online","status_checked_at":"2026-03-04T02:00:07.464Z","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"}},"keywords":[],"created_at":"2024-11-12T01:20:51.137Z","updated_at":"2026-03-04T02:02:00.634Z","avatar_url":"https://github.com/Distributive-Network.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# npy-js\n## A Numpy to JS and back utility tool\n\nThe purpose of this library is to allow the user to read and write `*.npy` files so long as they are standard and not compressed or pickled. This javascript utility builds off the work of [Nicholas Tancredi](https://github.com/NicholasTancredi/read-npy-file). We simply use this library as a tool to read `npy` files and have added functionality to write these `npy` files back to disk if needed.\n\n\n## Installation\n\n`npm i npy-js`\n\n## Usage\n\n```js\nconst { readNumpyFile, writeNumpyFile } = require('npy-js');\nvar da = readNumpyFile('./n.npy');\nwriteNumpyFile('/o.npy', da);\n```\n\n## Testing\n\nTo run tests simply run\n```js\nnpm run test\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdistributive-network%2Fnpy-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdistributive-network%2Fnpy-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdistributive-network%2Fnpy-js/lists"}