mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-25 03:08:34 +00:00
* don’t store file.data on local files when we save to localStorage, add isGhost: true, additional event restore-confirmed Co-Authored-By: Renée Kooi <github@kooi.me> * Don’t double-emit upload-started for Golden Retriever-restored files that were already started Co-Authored-By: Renée Kooi <github@kooi.me> * removeFile: delete updatedUploads[uploadID] instead of calling _removeUpload to avoide excess state updates Co-Authored-By: Renée Kooi <github@kooi.me> * clear preview, throttle saving state * add service message and ghost icons * regenerate thumnails on restore properly * allow replacing duplicate files if it’s a ghost * re-generate thumbnails on componentDidUpdate * tweak styles for ghosts * Dashboard cleanup * refactor: load IndexedDBStore and ServiceWorkerStore together, add uninstall, handle file-edit-complete * recoveredState — show upload button as “restore”, hide progress pause/resume, handle abortRestore * tweak serviceMsg mobile styles * use i18n for strings * Handle aborting, complete and last file removal with MetaDataStore.cleanup(instanceID) * fix all the tests * import .eslintrc from master * autofix * add lodash.throttle * when re-selecting ghost files, only replace the blob, keeping progress, meta, etc * Delete package-lock.json * Update en_US locale * add golden retriever support to darkmode styles * add golden retriever to website example * Update package-lock.json Co-authored-by: Renée Kooi <github@kooi.me> |
||
|---|---|---|
| .. | ||
| src | ||
| types | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
@uppy/core
Uppy is a sleek, modular JavaScript file uploader that integrates seamlessly with any application. It’s fast, easy to use and lets you worry about more important problems than building a file uploader.
- Fetch files from local disk, remote urls, Google Drive, Dropbox, Instagram, or snap and record selfies with a camera;
- Preview and edit metadata with a nice interface;
- Upload to the final destination, optionally process/encode
Uppy is being developed by the folks at Transloadit, a versatile file encoding service.
Example
const Uppy = require('@uppy/core')
const uppy = new Uppy()
uppy.use(SomePlugin)
Installation
$ npm install @uppy/core
We recommend installing from npm and then using a module bundler such as Webpack, Browserify or Rollup.js.
Alternatively, you can also use this plugin in a pre-built bundle from Transloadit's CDN: Edgly. In that case Uppy will attach itself to the global window.Uppy object. See the main Uppy documentation for instructions.
Documentation
Documentation for this plugin can be found on the Uppy website.