2.0.2-alpha3 • Published 5 years ago

@tanker/storage v2.0.2-alpha3

Weekly downloads
1
License
Apache-2.0
Repository
-
Last release
5 years ago

Tanker Storage

This package allows you to upload and download files to Tanker Storage.

Construction

import Storage from '@tanker/storage';

const storage = new Storage(tanker);

Upload

const resourceId = await storage.upload(file, {shareWithUsers, shareWithGroups});

Download

const file = await storage.download(resourceId);

That's all folks!