New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ms-files-transport

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ms-files-transport

Abstract file transport for s3-like APIs

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-82.35%
Maintainers
1
Weekly downloads
 
Created
Source

ms-files-transport

abstract class with tests for ms-files service

Methods

initResumableUpload(metadata)

Initiates resumable upload - could either be a multipart upload for amazon, or a real resumable upload with gce, etc. Idea is to return upload id and instructions for what we are to do next

completeResumableUpload(id)

Notifies server if resumable upload had finished. Unless this call is made within X amount of time we must cleanup everything that was created during this upload

createSignedURL(metadata)

Creates signed url, which provides access to a certain file for a limited amount of time

postProcess(file, functionToPerform)

Buffers file and passes to functionToPerform, which is defined my implementation of a parent service

readFile(file, opts)

Provides convenience method to read a file from a bucket

FAQs

Package last updated on 26 Dec 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc