{"id":15364183,"url":"https://github.com/posquit0/node-giga","last_synced_at":"2025-04-15T07:31:09.316Z","repository":{"id":57251015,"uuid":"103302425","full_name":"posquit0/node-giga","owner":"posquit0","description":"📦 Easy streaming upload and download for File System, AWS S3","archived":false,"fork":false,"pushed_at":"2020-06-02T18:25:02.000Z","size":255,"stargazers_count":26,"open_issues_count":4,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-28T18:21:20.737Z","etag":null,"topics":["aws","aws-s3","download","file","filesystem","nodejs","s3","stream","streaming","upload"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/posquit0.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}},"created_at":"2017-09-12T17:41:13.000Z","updated_at":"2025-02-11T15:49:40.000Z","dependencies_parsed_at":"2022-08-24T17:51:29.857Z","dependency_job_id":null,"html_url":"https://github.com/posquit0/node-giga","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posquit0%2Fnode-giga","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posquit0%2Fnode-giga/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posquit0%2Fnode-giga/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posquit0%2Fnode-giga/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/posquit0","download_url":"https://codeload.github.com/posquit0/node-giga/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248741194,"owners_count":21154255,"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":["aws","aws-s3","download","file","filesystem","nodejs","s3","stream","streaming","upload"],"created_at":"2024-10-01T13:10:30.866Z","updated_at":"2025-04-15T07:31:09.014Z","avatar_url":"https://github.com/posquit0.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eGiga\u003c/h1\u003e\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n  Storage-agnostic streaming upload/download in Node.js\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://circleci.com/gh/posquit0/node-giga\"\u003e\n    \u003cimg alt=\"CircleCI\" src=\"https://circleci.com/gh/posquit0/node-giga.svg?style=shield\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://coveralls.io/github/posquit0/node-giga\"\u003e\n    \u003cimg src=\"https://coveralls.io/repos/github/posquit0/node-giga/badge.svg\" alt='Coverage Status' /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://badge.fury.io/js/giga\"\u003e\n    \u003cimg alt=\"npm version\" src=\"https://badge.fury.io/js/giga.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/giga\"\u003e\n    \u003cimg alt=\"npm\" src=\"https://img.shields.io/npm/dt/giga.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://david-dm.org/posquit0/node-giga\"\u003e\n    \u003cimg alt=\"npm\" src=\"https://img.shields.io/david/posquit0/node-giga.svg?style=flat-square\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://opensource.org/licenses/mit-license.php\"\u003e\n    \u003cimg alt=\"MIT Licence\" src=\"https://badges.frapsoft.com/os/mit/mit.svg?v=103\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/ellerbrock/open-source-badge/\"\u003e\n    \u003cimg alt=\"Open Source Love\" src=\"https://badges.frapsoft.com/os/v1/open-source.svg?v=103\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n**Giga** is an abstract storage class to easily streaming upload and download files to Local File System, AWS S3, and more.\n\n- It was written for use on [**OMNIOUS**](http://www.omnious.com) which provides fashion A.I API service.\n\n\n## Installation\n\n```bash\n# NPM\n$ npm install --save giga\n# Yarn\n$ yarn add giga\n```\n\n\n## Usage\n\n```node\nconst fs = require('fs');\nconst Giga = require('giga');\nconst S3Storage = require('giga/storages/S3Storage');\nconst LocalStorage = require('giga/storages/LocalStorage');\n\nconst storage = new Giga({\n  storage: new S3Storage({\n    region: 'ap-northeast-2',\n    bucket: 'test'\n  })\n});\n\n\n// Upload file to S3\nconst { filePath } = await storage.upload(fs.createReadStream('./my-file'));\n\n// Download file from S3\nconst { filePath } = await storage.download(\n  'hello-world.txt',\n  fs.createWriteStream('./my-file')\n);\n```\n\n\n## Contributing\n\nThis project follows the [**Contributor Covenant**](http://contributor-covenant.org/version/1/4/) Code of Conduct.\n\n#### Bug Reports \u0026 Feature Requests\n\nPlease use the [issue tracker](https://github.com/posquit0/node-giga/issues) to report any bugs or ask feature requests.\n\n\n## Contact\n\nIf you have any questions, feel free to join me at [`#posquit0` on Freenode](irc://irc.freenode.net/posquit0) and ask away. Click [here](https://kiwiirc.com/client/irc.freenode.net/posquit0) to connect.\n\n\n## License\n\n[MIT](https://github.com/posquit0/node-giga/blob/master/LICENSE) © [Byungjin Park](http://www.posquit0.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposquit0%2Fnode-giga","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fposquit0%2Fnode-giga","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposquit0%2Fnode-giga/lists"}