{"_id":"@anthwal/flydrive-gcs","_rev":"2-a7bd8d07ddb96158b5d80e886ed7a87d","name":"@anthwal/flydrive-gcs","dist-tags":{"latest":"1.2.2"},"versions":{"1.0.3":{"name":"@anthwal/flydrive-gcs","version":"1.0.3","keywords":["storage","filesystem","file","promise","async","google","cloud","flydrive"],"author":{"name":"Romain Lanz","email":"romain.lanz@slynova.ch"},"license":"MIT","_id":"@anthwal/flydrive-gcs@1.0.3","maintainers":[{"name":"anthwal","email":"anthwalarun003@gmail.com"}],"contributors":[{"name":"Michaël Zasso","email":"targos@pm.me"},{"name":"Arun Anthwal"}],"homepage":"https://github.com/anthwal/flydrive#readme","bugs":{"url":"https://github.com/anthwal/flydrive/issues"},"dist":{"shasum":"0d1c3f1a4447257a83ae6abe9c3cf9ae94630972","tarball":"https://registry.npmjs.org/@anthwal/flydrive-gcs/-/flydrive-gcs-1.0.3.tgz","fileCount":10,"integrity":"sha512-IqG7IOglHTWL1M+JVsYzeSOfBaNj+IWSMLFX+U8fJz1tcly1XqSTLAioWfyafaVUPGrFDAOvaz02e1oX6Ih0+A==","signatures":[{"sig":"MEQCIAWsGu8Nh7Q2CO/Tz51TXgPY6mFY+R7ewQspJOBdTM+3AiBUIQ9lrlRptpFLwVkr3s9elI+xhsM5tmOxKB107bueEA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21156},"main":"build/index.js","types":"build/index.d.ts","gitHead":"a9c6ec0e049265a7c1fec41d127e2e5425efddc7","scripts":{"prepare":"tsc -b tsconfig.json"},"_npmUser":{"name":"anthwal","actor":{"name":"anthwal","type":"user","email":"anthwalarun003@gmail.com"},"email":"anthwalarun003@gmail.com"},"repository":{"url":"git+https://github.com/anthwal/flydrive.git","type":"git"},"_npmVersion":"11.3.0","description":"Google Cloud Storage driver for @anthwal/flydrive","directories":{},"_nodeVersion":"22.11.0","dependencies":{"@google-cloud/storage":"^7.16.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^22.14.0","@types/fs-extra":"^9.0.13","@anthwal/flydrive":"^1.2.1"},"peerDependencies":{"@anthwal/flydrive":"^1.2.1"},"_npmOperationalInternal":{"tmp":"tmp/flydrive-gcs_1.0.3_1750997151423_0.9505947260270307","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@anthwal/flydrive-gcs","version":"1.2.2","description":"Google Cloud Storage driver for @anthwal/flydrive","homepage":"https://github.com/anthwal/flydrive#readme","license":"MIT","main":"build/index.js","types":"build/index.d.ts","keywords":["storage","filesystem","file","promise","async","google","cloud","flydrive"],"author":{"name":"Romain Lanz","email":"romain.lanz@slynova.ch"},"contributors":[{"name":"Michaël Zasso","email":"targos@pm.me"},{"name":"Arun Anthwal"}],"scripts":{"prepare":"tsc -b tsconfig.json"},"peerDependencies":{"@anthwal/flydrive":"^1.2.1"},"devDependencies":{"@anthwal/flydrive":"^1.2.1","@types/fs-extra":"^9.0.13","@types/node":"^22.14.0"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/anthwal/flydrive.git"},"bugs":{"url":"https://github.com/anthwal/flydrive/issues"},"dependencies":{"@google-cloud/storage":"^7.16.0"},"_id":"@anthwal/flydrive-gcs@1.2.2","gitHead":"5913952534db91479d9359d07bdd62757ae2831e","_nodeVersion":"22.11.0","_npmVersion":"11.3.0","dist":{"integrity":"sha512-LqWXH23iORPz2mQApi62r6TNhrAj09LkEq/OcTj57cWjNO71QBtfhXoyW8jUW1GWLjRr2JH92gdBev82NZfurQ==","shasum":"b87a7d9687aafd2793cf88d7dc1ad2c3dc274d3a","tarball":"https://registry.npmjs.org/@anthwal/flydrive-gcs/-/flydrive-gcs-1.2.2.tgz","fileCount":10,"unpackedSize":21156,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCQxRkpovVi+U9SIVpLvvgS50LX0BVzX3hry2KeLhNqbQIhAOY5GVpq9xVqchy2prGY2jyJPdW2VraXOCfNxFpt8cR3"}]},"_npmUser":{"name":"anthwal","email":"anthwalarun003@gmail.com","actor":{"name":"anthwal","email":"anthwalarun003@gmail.com","type":"user"}},"directories":{},"maintainers":[{"name":"anthwal","email":"anthwalarun003@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/flydrive-gcs_1.2.2_1750997453990_0.5020561840252995"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-27T04:05:51.272Z","modified":"2025-06-27T04:10:54.381Z","1.0.3":"2025-06-27T04:05:51.628Z","1.2.2":"2025-06-27T04:10:54.194Z"},"bugs":{"url":"https://github.com/anthwal/flydrive/issues"},"author":{"name":"Romain Lanz","email":"romain.lanz@slynova.ch"},"license":"MIT","homepage":"https://github.com/anthwal/flydrive#readme","keywords":["storage","filesystem","file","promise","async","google","cloud","flydrive"],"repository":{"type":"git","url":"git+https://github.com/anthwal/flydrive.git"},"description":"Google Cloud Storage driver for @anthwal/flydrive","contributors":[{"name":"Michaël Zasso","email":"targos@pm.me"},{"name":"Arun Anthwal"}],"maintainers":[{"name":"anthwal","email":"anthwalarun003@gmail.com"}],"readme":"<p align=\"center\">\n  <img src=\"https://user-images.githubusercontent.com/2793951/54391096-418f4500-46a4-11e9-8d0c-b00ff7ba4198.png\" alt=\"flydrive\">\n</p>\n\n<p align=\"center\">\n  <a href=\"https://www.npmjs.com/package/@anthwal/flydrive-gcs\"><img src=\"https://img.shields.io/npm/dm/@anthwal/flydrive-gcs.svg?style=flat-square\" alt=\"Download\"></a>\n  <a href=\"https://www.npmjs.com/package/@anthwal/flydrive-gcs\"><img src=\"https://img.shields.io/npm/v/@anthwal/flydrive-gcs.svg?style=flat-square\" alt=\"Version\"></a>\n  <a href=\"https://opensource.org/licenses/MIT\"><img src=\"https://img.shields.io/npm/l/@anthwal/flydrive-gcs.svg?style=flat-square\" alt=\"License\"></a>\n</p>\n\n`flydrive` is a framework-agnostic package which provides a powerful wrapper to manage file Storage in [Node.js](https://nodejs.org).\n\nThis package is the driver for Google Cloud Storage.\n\n---\n\n## Getting Started\n\nThis package is available in the npm registry.\nIt can easily be installed with `npm` or `yarn`.\n\n```bash\n$ npm i @anthwal/flydrive-gcs\n# or\n$ yarn add @anthwal/flydrive-gcs\n```\n\n```javascript\nconst { GoogleCloudStorage } = require('@anthwal/flydrive-gcs');\nconst { StorageManager } = require('@anthwal/flydrive');\nconst storage = new StorageManager({\n  // ...\n\n  gcs: {\n    driver: 'gcs',\n    config: {\n      keyFilename: process.env.GCS_KEYFILENAME,\n      bucket: process.env.GCS_BUCKET,\n    },\n  },\n});\n\nstorage.registerDriver('gcs', GoogleCloudStorage);\n```\n","readmeFilename":"README.md"}