mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-23 02:08:30 +00:00
If we can't determine the file type, use the generic 'application/octet-stream' type. This way `file.type` will always be defined and uploaders don't have to worry about it being `null` or whatever. |
||
|---|---|---|
| .. | ||
| src | ||
| types | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
@uppy/utils
Shared utility functions for Uppy Core and the "official" plugins maintained by the Uppy team.
Uppy is being developed by the folks at Transloadit, a versatile file encoding service.
Installation
Unless you are creating a custom plugin, you should not need to install this manually.
$ npm install @uppy/utils --save