@adamcikado/flydrive-s3
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

flydrive

Download Version License

flydrive is a framework-agnostic package which provides a powerful wrapper to manage file Storage in Node.js.

This package is the driver for Amazon S3 and other compatible services.


Getting Started

This package is available in the npm registry. It can easily be installed with npm or yarn.

$ npm i @slynova/flydrive-s3
# or
$ yarn add @slynova/flydrive-s3
const { AmazonWebServicesS3Storage } = require('@slynova/flydrive-s3');
const { StorageManager } = require('@slynova/flydrive');
const storage = new StorageManager({
  // ...

  s3: {
    driver: 's3',
    config: {
      key: process.env.S3_KEY,
      endpoint: process.env.S3_ENDPOINT,
      secret: process.env.S3_SECRET,
      bucket: process.env.S3_BUCKET,
      region: process.env.S3_REGION,
    },
  },
});

storage.registerDriver('s3', AmazonWebServicesS3Storage);

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.43latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.43
1.0.33

Package Sidebar

Install

npm i @adamcikado/flydrive-s3

Weekly Downloads

6

Version

1.0.4

License

MIT

Unpacked Size

21.5 kB

Total Files

11

Last publish

Collaborators

  • adamcikado