JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 19
  • Score
    100M100P100Q43902F
  • License MIT

A custom loopback component to manage storage more secure way

Package Exports

  • component-storage

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (component-storage) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

component-storage

This loopback storage component is an extension to loopback-component-storage to support security features related to file uploads described below.

Enforce Security

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.

Developing and Contributing

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.

License

See LICENSE file.

Todo

  • Tests are not working as expected when file uploads are required.