{"id":13818221,"url":"https://github.com/codebrewlab/nestjs-storage","last_synced_at":"2025-07-21T21:34:15.609Z","repository":{"id":45392851,"uuid":"281576648","full_name":"codebrewlab/nestjs-storage","owner":"codebrewlab","description":"Nestjs file system / file storage module wrapping flydrive","archived":false,"fork":false,"pushed_at":"2022-08-22T08:46:05.000Z","size":191,"stargazers_count":120,"open_issues_count":2,"forks_count":19,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T15:04:55.685Z","etag":null,"topics":["driver","filesystem","flydrive","google-cloud-storage","nestjs","nodejs","s3","storage","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/codebrewlab.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}},"created_at":"2020-07-22T04:43:49.000Z","updated_at":"2025-03-16T06:30:47.000Z","dependencies_parsed_at":"2022-08-12T11:52:06.075Z","dependency_job_id":null,"html_url":"https://github.com/codebrewlab/nestjs-storage","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebrewlab%2Fnestjs-storage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebrewlab%2Fnestjs-storage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebrewlab%2Fnestjs-storage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebrewlab%2Fnestjs-storage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codebrewlab","download_url":"https://codeload.github.com/codebrewlab/nestjs-storage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055284,"owners_count":21040157,"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":["driver","filesystem","flydrive","google-cloud-storage","nestjs","nodejs","s3","storage","typescript"],"created_at":"2024-08-04T07:00:36.119Z","updated_at":"2025-04-09T15:04:59.795Z","avatar_url":"https://github.com/codebrewlab.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"http://nestjs.com/\" target=\"blank\"\u003e\u003cimg src=\"https://nestjs.com/img/logo_text.svg\" width=\"320\" alt=\"Nest Logo\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    nestjs-storage is manage file Storage wrapping package flydrive\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.npmjs.com/org/codebrew\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@codebrew/nestjs-storage.svg\" alt=\"NPM Version\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/org/codebrew\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/@codebrew/nestjs-storage.svg\" alt=\"Package License\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/org/codebrew\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/@codebrew/nestjs-storage.svg\" alt=\"NPM Downloads\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Installation\n\n```bash\n$ npm i --save @codebrew/nestjs-storage @slynova/flydrive\n\n# optional with s3 driver\n$ npm i --save @slynova/flydrive-s3\n\n# optional with gcs driver\n$ npm i --save @slynova/flydrive-gcs\n```\n\n## Example\n\n```typescript\n// app.module.ts\nimport { Module } from '@nestjs/common'\nimport { StorageModule, DriverType, StorageService } from '@codebrew/nestjs-storage';\n\n@Module({\n  imports: [\n    StorageModule.forRoot({\n      default: 'local',\n      disks: {\n        local: {\n          driver: DriverType.LOCAL,\n          config: {\n            root: process.cwd(),\n          },\n        },\n      },\n    }),\n  ],\n})\nexport class AppModule {\n  constructor(private storage: StorageService) {\n    this.storage.getDisk().put('test.txt', 'text content');\n  }\n}\n```\n\n## Support\n\nnestjs-storage is an MIT-licensed open source project. If this library is helpful, please click star to support it.\n\n## Stay in touch\n\n- Author - [David Kwon](https://github.com/tienne)\n\n## License\n\nnestjs-storage is MIT licensed.\n","funding_links":[],"categories":["Integrations","TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebrewlab%2Fnestjs-storage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodebrewlab%2Fnestjs-storage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebrewlab%2Fnestjs-storage/lists"}