0.0.5 • Published 2 years ago

filesrocket-amazons3 v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

filesrocket-amazons3

npm version JavaScript Style Guide

Filesrocket service to manage your files with Amazon S3

Install

npm i filesrocket-amazons3

Usage

To use the service add the following content.

import { Filesrocket } from "filesrocket";
import { AmazonS3FileService } from "filesrocket-amazons3";

// Initialize filesrocket
const filesrocket = new Filesrocket();

// Setting service
const amazons3 = new AmazonS3FileService({
  Pagination: { default: 15, max: 50 },
  Bucket: "<Your Bucket>",
  region: "<Your Region>",
  credentials: {
    accessKeyId: "<Your ACCESS_KEY>",
    secretAccessKey: "<Your SECRET_KEY>"
  }
});

// Register services
filesrocket.register("amazons3", amazons3)

// Recovering service
const service = filesrocket.service("amazons3")

// Recovering controller
const controller = filesrocket.controller("amazons3")

Note: To use this service, you need to have an account, enter here and follow the steps.

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago