foo@bar:~$ npm install express-cloud-uploader
This package provides middleware for users who use the Cloud Web Service Manager to easily manage their files for users who use AWs, Google Drives, and OneDrive. If a user wants to upload any Content File to the user's Cloud Service, they can upload it at once by formatting it with a Json file and reducing the effort to upload it directly. Our project is middleware for the Express.js module.
<form action="/" method="post" enctype="multipart/form-data">
<input type="Upload wanting file type" name="just name" value="some text">
</form>
Suppose you have a webpage like this, which uploads file to the server.
The pagkage's supporting upload file type is multipart/form-data. You may do the rest as you wish.
let api = require("express").Router();
api.post("/", uploader({provider: "onedrive", path: ""}), (req, res) => {
});
module.exports=api;
-
- How to use Google-drive-api for Nodejs
-
google-api-nodejs (Github / NPM)
- nodeJS api using Google api2
- Client
-
OneDrive-Graph-api (Evernote)
- how to use onedrive
-
- Library to assist with multipart payload parsing of HTTP requests
-
s3-sdk-nodejs (Opentutorials)
- How to use s3-sdk for Nodejs
Expres-Cloud-Uploader is released under Apache License V2.0. See LICENSE for more information