@zero-transfer/google-drive
v0.4.7
Published
Google Drive provider with OAuth, folder paths, and md5 checksums.
Maintainers
Readme
@zero-transfer/google-drive
Google Drive provider with OAuth, folder paths, and md5 checksums.
Install
npm install @zero-transfer/google-driveOverview
Google Drive provider over OAuth bearer tokens - paginated folder listings from a configurable root folder id, ranged downloads via alt=media, single-shot multipart uploads, and md5Checksum exposed as both uniqueId and checksum.
Usage
import {
createTransferClient,
uploadFile,
downloadFile,
createGoogleDriveProviderFactory,
} from "@zero-transfer/google-drive";Public surface
This package publishes a narrowed surface of 2 exports. These symbols are also available from @zero-transfer/sdk; the table below links into the full API reference:
| Symbol | Kind | Notes |
| ----------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | ------------------ |
| createGoogleDriveProviderFactory | Function | See API reference. |
| GoogleDriveProviderOptions | Interface | See API reference. |
Examples
| Example | What it shows |
| -------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
| examples/multi-cloud-orchestration.ts | Multi-cloud orchestration showcase. |
Documentation
License
MIT © Tony Wiedman
