{"library":"mock-gcs","type":"library","category":null,"description":"mock-gcs is a TypeScript library providing mock implementations of Google Cloud Storage SDK classes (Storage, Bucket, File) for testing and development. Version 2.1.0 supports most basic features like bucket and file operations, upload/download, signed URLs, and error simulation via mockErrorOnce. It also exports TypeScript interfaces (IStorage, IBucket, IFile) to facilitate type-safe code that works with both @google-cloud/storage and mock-gcs. The library is actively maintained and encourages community contributions for missing methods.","language":"javascript","status":"active","version":"2.1.0","tags":["javascript","gcs","cloud-storage","storage","sdk","mock","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install mock-gcs","imports":["import { MockStorage } from 'mock-gcs'","import { IStorage } from 'mock-gcs'","import { MockStorage } from 'mock-gcs'; const bucket = new MockStorage().bucket('name');"]},{"cmd":"yarn add mock-gcs","imports":[]},{"cmd":"pnpm add mock-gcs","imports":[]}],"homepage":"https://github.com/aldipermanaetikaputra/mock-gcs","github":"https://github.com/aldipermanaetikaputra/mock-gcs","docs":null,"changelog":null,"pypi":null,"npm":"mock-gcs","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}