🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@tanker/storage

Package Overview
Dependencies
Maintainers
6
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tanker/storage

Tanker Storage SDK

latest
npmnpm
Version
2.0.2-alpha3
Version published
Maintainers
6
Created
Source

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!

FAQs

Package last updated on 11 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts