uppy-activestorage-upload
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

uppy-activestorage-upload

Uppy logo: a superman puppy in a pink suit

The ActiveStorage Upload plugin handles Ruby on Rails ActiveStorage direct uploads with Uppy.

Example

const Uppy = require('@uppy/core')
const ActiveStorageUpload = require('uppy-activestorage-upload')
 
const uppy = Uppy()
uppy.use(ActiveStorageUpload, {
  directUploadUrl: ... // Rails' active storage direct upload path obtained i.e. via `Rails.app.routes.url_helpers.rails_direct_uploads_path`
})

Installation

$ npm install uppy-activestorage-upload --save

We recommend installing from npm and then using a module bundler such as Webpack, Browserify or Rollup.js.

License

The MIT License.

Package Sidebar

Install

npm i uppy-activestorage-upload

Weekly Downloads

15

Version

0.1.0

License

MIT

Unpacked Size

9.12 kB

Total Files

5

Last publish

Collaborators

  • ljachymczyk