Socket
Socket
Sign inDemoInstall

strapi-provider-upload-local

Package Overview
Dependencies
0
Maintainers
7
Versions
212
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    strapi-provider-upload-local

Local provider for strapi upload


Version published
Weekly downloads
48K
decreased by-11.77%
Maintainers
7
Install size
5.50 kB
Created
Weekly downloads
 

Readme

Source

strapi-provider-upload-local


Deprecation Warning :warning:

Hello! We have some news to share,

We’ve decided it’ll soon be time to end the support for strapi-provider-upload-local.

After years of iterations, Strapi is going to V4 and we won’t maintain V3 packages when it’ll reach its end-of-support milestone (~end of Q3 2022).

If you’ve been using strapi-provider-upload-local and have migrated to V4 (or if you want to), you can find the equivalent and updated version of this package at this URL and with the following name on NPM: @strapi/provider-upload-local.

If you’ve contributed to the development of this package, thank you again for that! We hope to see you on the V4 soon.

The Strapi team


Configurations

This provider has only one parameter: sizeLimit.

Example

./extensions/upload/config/settings.json

{
  "provider": "local",
  "providerOptions": {
    "sizeLimit": 100000
  }
}

The sizeLimit parameter must be a number. Be aware that the unit is in bytes, and the default is 1000000. When setting this value high, you should make sure to also configure the body parser middleware maxFileSize so the file can be sent and processed. Read more here

Resources

  • License

Keywords

FAQs

Last updated on 22 Nov 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc