2.0.0 • Published 7 years ago

mead-plugin-source-fs v2.0.0

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

mead-plugin-source-fs

npm versionBuild StatusCoverage StatusDependency status

Filesystem source for the Mead image transformer service.
Loads images from the filesystem, plain and simple!

Installation

# Bundled with mead by default, but if you're feeling frisky
npm install --save mead-plugin-source-fs

Usage

Note: Bundled with Mead and enabled by default

Your mead configuration file (mead --config <path-to-config.js>)

module.exports = {
  // Load the plugin
  plugins: [
    require('mead-plugin-source-fs')
  ],

  sources: [{
    name: 'mylocalsource',
    adapter: {
      type: 'fs',
      config: {
        basePath: '/home/rexxars/Dropbox/Photos'
      }
    }
  }]
}

License

MIT-licensed. See LICENSE.