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

mono-drive

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mono-drive

Mono module to manage storage (fileSystem, S3)

latest
Source
npmnpm
Version
0.0.2
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

mono-drive

Mono module to manage storage (fileSystem, S3)

npm version Travis Coverage license

Installation

npm install --save mono-drive

Then, in your configuration file of your Mono application (example: conf/application.js):

module.exports = {
  mono: {
    modules: ['mono-drive']
  }
}

Configuration

mono-drive will use the mono.drive property of your configuration (example: conf/development.js):

module.exports = {
  mono: {
    drive: {
      fs: {
        root: '' //path of the root directory
      },
      s3: {
        key: // Access key id `accessKeyId`
        secret: // secret access key `secretAccessKey`
        region: // region
      }
    }
  }
}

Usage

In your src/ files of your Mono project, you can access exposed methods like this:

const { get, put, del } = require('mono-drive')

Development / Contribution

See the contribution guidelines of this project.

License

MIT © gaetansenn

Keywords

mono

FAQs

Package last updated on 20 Aug 2018

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