JSPM

uppy-activestorage-upload

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 114
  • Score
    100M100P100Q76258F
  • License MIT

Rails ActiveStorage DirectUpload engine for Uppy

Package Exports

  • uppy-activestorage-upload

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-activestorage-upload) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.