New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

bfast-s3like

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bfast-s3like

AWS S3-like adapter for parse-server

latest
Source
npmnpm
Version
2.1.0
Version published
Weekly downloads
3
50%
Maintainers
1
Weekly downloads
 
Created
Source

Parse Server: S3-like storage adapter

Based on Minio's client.

If you want to:

  • Use AWS S3: go to parse-server-s3-adapter
  • Use S3-like storage, such as Minio, Ceph, GCS, etc: use this.

Install

$ npm install --save bfast-s3like

Usage

filesAdapter: {
  module: 'bfast-s3like',
  options: {
    accessKey: 'accessKey',
    bucket: 'my_bucket',
    useSSL: true,
    endPoint: 'https://...',
    secretKey: 'secretKey'
  }
}
OptionDefaultDescription
accessKeyrequired
bucketrequiredThe bucket to store data into. This can be a function that takes the filename and returns a string.
directfalseWhether files are served from the endPoint (true) or proxied by Parse (false). This can be a function that takes the filename and returns a boolean.
endPointrequiredThe URL to the storage service. Should be a full URL, with protocol and port (if non-standard), e.g. https://play.minio.io:9000 or https://minio.example.com.
portFrom endPointOverride the port number. By default is parsed from the endPoint URL, with 80/443 as standard defaults based the value of secure.
prefix''A prefix to apply to all filenames. Can be set to e.g. 'foo/' to put all files in a subdirectory. This can be a function that takes the filename and returns a string.
region'us-east-1'May not actually matter for some services, refer to your documentation. This can be a function that takes the filename and returns a string.
secretKeyrequired
useSSLFrom endPointOverride whether the connection is secure or not. By default is parsed from the endPoint URL (https is secure, otherwise not).

Keywords

parse-server

FAQs

Package last updated on 01 May 2020

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