@starchive-uppy/provider-views
TypeScript icon, indicating that this package has built-in type declarations

1.8.5 • Public • Published

@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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.8.5
    13
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.8.5
    13
  • 1.8.4
    1
  • 1.8.2
    0
  • 1.8.1
    0

Package Sidebar

Install

npm i @starchive-uppy/provider-views

Homepage

uppy.io/

Weekly Downloads

12

Version

1.8.5

License

MIT

Unpacked Size

233 kB

Total Files

91

Last publish

Collaborators

  • chiefgui