This loopback storage component is an extension to loopback-component-storage to support security features related to file uploads described below.
As per this article, when an image is uploaded to the server it is subject to cross site vector attacks, therefore we must recreate images on the server before saving them.
This component uses 3rd party image processing library Sharp for recreating images which is licensed under Apache 2.0 License.
I'd love to get contributions from you! For a quick guide to getting your system setup for developing, take a look at our Quickstart Guide. Once you are up and running, take a look at the Contribution Documents to see how to get your changes merged in.
See LICENSE file.
- Tests for different configuration options.