JSPM

  • Created
  • Published
  • Downloads 384550
  • Score
    100M100P100Q195501F
  • License MIT

View library for Uppy remote provider plugins.

Package Exports

  • @uppy/provider-views

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@uppy/provider-views) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@uppy/provider-views

Uppy logo: a superman puppy in a pink suit

Build Status

View library for Uppy remote provider plugins.

Uppy is being developed by the folks at Transloadit, a versatile file encoding service.

Example

const Plugin = require('@uppy/core/lib/plugin')
const { ProviderViews } = require('@uppy/provider-views')

class GoogleDrive extends Plugin {
  constructor () { /* snip */ }
  install () {
    this.view = new ProviderViews(this)
    // snip
  }

  onFirstRender () {
    return this.view.getFolder('root', '/')
  }

  render (state) {
    return this.view.render(state)
  }
}

Installation

Unless you are creating a custom provider plugin, you do not need to install this.

$ npm install @uppy/provider-views

License

The MIT License.