{"id":22370369,"url":"https://github.com/alpheusday/filego.js","last_synced_at":"2025-07-30T20:31:47.392Z","repository":{"id":239022007,"uuid":"798289829","full_name":"alpheustangs/filego.js","owner":"alpheustangs","description":"A file splitting \u0026 merging solution","archived":false,"fork":false,"pushed_at":"2024-10-29T12:59:59.000Z","size":5180,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-29T14:58:32.522Z","etag":null,"topics":["check","filego","filesystem","javascript","merge","split","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/alpheustangs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-05-09T13:35:03.000Z","updated_at":"2024-10-29T12:59:57.000Z","dependencies_parsed_at":"2024-05-09T15:10:58.969Z","dependency_job_id":"2a8b9101-b21d-4e7a-b1e9-d189b7668164","html_url":"https://github.com/alpheustangs/filego.js","commit_stats":null,"previous_names":["alpheustangs/filego","alpheustangs/filego.ts"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alpheustangs%2Ffilego.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alpheustangs%2Ffilego.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alpheustangs%2Ffilego.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alpheustangs%2Ffilego.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alpheustangs","download_url":"https://codeload.github.com/alpheustangs/filego.js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228182931,"owners_count":17881594,"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","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":["check","filego","filesystem","javascript","merge","split","typescript"],"created_at":"2024-12-04T19:45:02.350Z","updated_at":"2025-07-30T20:31:47.076Z","avatar_url":"https://github.com/alpheustangs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FileGo\n\n\u003e **⚠️ This project is discontinued. Please migrate to [`FileRune`](https://github.com/filerune/javascript) for future updates and maintenance.**\n\nA file splitting \u0026 merging solution.\n\n## Installation\n\nFor JavaScript/TypeScript environment:\n\n```sh\n# npm\nnpm i @filego/js\n\n# Yarn\nyarn add @filego/js\n\n# pnpm\npnpm add @filego/js\n\n# Deno\ndeno add npm:@filego/js\n\n# Bun\nbun add @filego/js\n```\n\nFor Node.js, Deno, and Bun runtime environment:\n\n```sh\n# npm\nnpm i @filego/node\n\n# Yarn\nyarn add @filego/node\n\n# pnpm\npnpm add @filego/node\n\n# Deno\ndeno add npm:@filego/node\n\n# Bun\nbun add @filego/node\n```\n\n## Quick Start\n\nEasily split a file into chunks using the split function from `@filego/js`, or work directly with the file system using `@filego/node`.\n\n```ts\nimport { split } from \"@filego/js\";\n\nconst file: File | Blob | Uint8Array | string = \"\";\n\nawait split({\n    file,\n    chunkSize: 2 * 1024 * 1024,\n});\n```\n\n```ts\nimport { split } from \"@filego/node\";\n\nawait split({\n    inFile: \"/path/to/file.txt\",\n    outDir: \"/path/to/dir\",\n    chunkSize: 2 * 1024 * 1024,\n});\n```\n\n## APIs\n\nFor the JS package APIs,\nplease refer to the [JS APIs](./apis/js/README.md).\n\nFor the Node package APIs,\nplease refer to the [Node APIs](./apis/node/README.md).\n\n## Examples\n\nCheck out the Web and API examples:\n\nFor the example of web in React, please refer to [examples/web](./examples/web/).\n\nFor the example of Node in Hono, please refer to [examples/node](./examples/node/).\n\n## License\n\nThis project is licensed under the terms of the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falpheusday%2Ffilego.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falpheusday%2Ffilego.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falpheusday%2Ffilego.js/lists"}