multicolour-storage-s3

0.1.2 • Public • Published

multicolour-storage-S3

Build Status Coverage Status bitHound Score

S3 Storage provider plugin for Multicolour, upload files to and retrieve files from Amazon's S3 service.

You can login manually; like below, we don't recommend hardcoding values in scripts and highly recommend setting AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in your environment instead.

// Configure our service.
const my_service = require("multicolour")
  // Configure the service core and scan for content. 
  .new_from_config_file_path("./config.js")
  .scan()

// Register the server plugin.
my_service.start.use(require("multicolour-storage-s3"))
  .request("storage")
    .login({
      accessKeyId: "",
      secretAccessKey: ""
    })

// Start the service.
my_service.start()

MIT License

Dependencies (2)

Dev Dependencies (4)

Package Sidebar

Install

npm i multicolour-storage-s3

Weekly Downloads

0

Version

0.1.2

License

MIT

Last publish

Collaborators

  • newworldcode