Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@edsdk/file-uploader-microservice

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@edsdk/file-uploader-microservice

Microservice which handles file uploads with using File uploader SDK and Express.

  • 1.0.5
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

File Uploader microservice

Handle uploaded files on separate server instance

File Uploader microservice is Express-based webserver application which will save file uploads to your server storage.

This package is simple to use wrap for File Uploader library.

Install

With npm installed, run

$ npm install @edsdk/file-uploader-microservice

Usage

require("@edsdk/file-uploader-microservice").startFileUploaderMicroservice({
    host: 'localhost',
    port: 8080,
    urlUploader: '/uploader',
    dirRoot: './www',
    dirFiles: './www/images'
});

The code above will:

  • Listen http://localhost/8080/uploader and wait for files uploaded by file uploader compatible clients (like ImgPen).
  • Save uploaded files to ./www/images directory
  • Serve ./www directory as public in order to allow accessing uploaded files by there URLs.

If you do not wish to share uploaded files with File Uploader microservice you can set dirRoot: null. This can be useful if you handle uploads with File Uploader but want to share them using another webserver which has access to the same storage.

See sample of usage of File Uploader microservice together with ImgPen image editor.

See Also

License

Double licensing with EdSDK licenses family. Free usage is available. File Uploader now comes in bundle with ImgPen image editor and uses the same license you choose for ImgPen.

Keywords

FAQs

Package last updated on 15 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc