https://github.com/austinfelipe/easy-upload
File/Video upload wrapper to ease bucket/storage/space/cdn integration 😛👊
https://github.com/austinfelipe/easy-upload
amazon-s3 azure-storage digitalocean-spaces file-uploader typescript video-uploader
Last synced: 9 days ago
JSON representation
File/Video upload wrapper to ease bucket/storage/space/cdn integration 😛👊
- Host: GitHub
- URL: https://github.com/austinfelipe/easy-upload
- Owner: AustinFelipe
- License: mit
- Created: 2020-02-28T01:59:43.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T08:37:30.000Z (over 2 years ago)
- Last Synced: 2024-08-10T11:17:55.346Z (10 months ago)
- Topics: amazon-s3, azure-storage, digitalocean-spaces, file-uploader, typescript, video-uploader
- Language: TypeScript
- Homepage:
- Size: 380 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EasyUpload

[](https://coveralls.io/github/AustinFelipe/easy-upload?branch=master)
[](https://codeclimate.com/github/AustinFelipe/easy-upload/maintainability)
[](https://codeclimate.com/github/AustinFelipe/easy-upload/test_coverage)File/Video upload wrapper to ease bucket/storage/space/cdn integration 😛👊
# TL;DR
EasyUpload provides an easy way to send files/videos to a server. It provides abstraction to uploaders given one way to communicate to mutiple providers.
# How to use it
You can install it using either Github or Npmjs.
```javascript
npm install @austinfelipe/easy-upload
```
The easiest way to use it is installing one of [available provides]() and get an _EasyUpload_ instance.
Example:
```javascript
const uploaderImpl = new SomeUploaderImplementation();
const newFile = new FileInfoImplementation();
const uploader = new EasyUpload(uploaderImpl);await uploader.sendFile(newFile);
```# Available providers
- Amazon S3
- Azure Storage
- Digital Ocean Spaces# How to build
```javascript
yarn
yarn run build```