{"_id":"@buitminh/provider-upload-local-custom","_rev":"5-25cccba6deff31106bc5755bef44374a","time":{"created":"2023-08-07T08:39:18.909Z","4.11.1":"2023-08-07T08:21:23.357Z","modified":"2023-08-07T12:52:43.737Z","4.11.2":"2023-08-07T08:39:19.147Z","4.11.3":"2023-08-07T08:50:06.672Z","4.11.4":"2023-08-07T12:52:43.619Z"},"name":"@buitminh/provider-upload-local-custom","dist-tags":{"latest":"4.11.4"},"versions":{"4.11.2":{"name":"@buitminh/provider-upload-local-custom","version":"4.11.2","description":"Custom Local provider for strapi upload","keywords":["upload","strapi"],"license":"SEE LICENSE IN LICENSE","author":{"name":"Minh"},"maintainers":[{"name":"buit_minh","email":"minh.vi@buit-solutions.com"}],"main":"./src/index.js","types":"./src/index.d.ts","scripts":{"build":"run -T tsc","build:ts":"run -T tsc","watch":"run -T tsc -w --preserveWatchOutput","clean":"run -T rimraf ./src","test:unit":"run -T jest","test:unit:watch":"run -T jest --watch","lint":"run -T eslint ."},"dependencies":{"@strapi/utils":"4.11.1","fs-extra":"10.0.0"},"devDependencies":{"@types/jest":"29.2.0"},"engines":{"node":">=14.19.1 <=18.x.x","npm":">=6.0.0"},"gitHead":"a11122ae20cebc975cb476934ae983da35eaa652","_id":"@buitminh/provider-upload-local-custom@4.11.2","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-pJQxcAa//vhLfAgoAFUnT3YrGxzT9UaAZ7vQi0N03HSixRWf0v65BH73SC8H5PEkt2TVRUcniZyjOEqa/G2UIA==","shasum":"62355dec84e7f46435f4bf5e1f843296d69979c2","tarball":"https://registry.npmjs.org/@buitminh/provider-upload-local-custom/-/provider-upload-local-custom-4.11.2.tgz","fileCount":3,"unpackedSize":3684,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeUjmHKervgoFttZvDNi50dgnyYglnz0Zih5zz6bqb9wIgGS5jad2MpIg/FzedcM/T46W3yP1G4CY0UQCyh7zYi2o="}]},"_npmUser":{"name":"buit_minh","email":"minh.vi@buit-solutions.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/provider-upload-local-custom_4.11.2_1691397558988_0.6045719764288837"},"_hasShrinkwrap":false},"4.11.3":{"name":"@buitminh/provider-upload-local-custom","version":"4.11.3","description":"Local provider for strapi upload","keywords":["upload","strapi"],"homepage":"https://strapi.io","bugs":{"url":"https://github.com/strapi/strapi/issues"},"repository":{"type":"git","url":"git://github.com/strapi/strapi.git"},"license":"SEE LICENSE IN LICENSE","author":{"name":"Strapi Solutions SAS","email":"hi@strapi.io","url":"https://strapi.io"},"maintainers":[{"name":"buit_minh","email":"minh.vi@buit-solutions.com"}],"main":"./src/index.js","types":"./src/index.d.ts","scripts":{"build":"run -T tsc","build:ts":"run -T tsc","watch":"run -T tsc -w --preserveWatchOutput","clean":"run -T rimraf ./src","test:unit":"run -T jest","test:unit:watch":"run -T jest --watch","lint":"run -T eslint ."},"dependencies":{"@strapi/utils":"4.11.1","fs-extra":"10.0.0"},"devDependencies":{"@types/jest":"29.2.0"},"engines":{"node":">=14.19.1 <=18.x.x","npm":">=6.0.0"},"gitHead":"6cdb5a7737495ca0c7179076ade5361e182ea169","_id":"@buitminh/provider-upload-local-custom@4.11.3","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-00/dHUxB+fX01k2jGxylzqlahrRx7Crbv37XtKq6jTbYaBT1/vIX6WTbVOYKCAnPFVbF7x8RWLTLb+FnIalJtw==","shasum":"1822d77a4ff11f4e237f2faf1a386eff34a2bbfc","tarball":"https://registry.npmjs.org/@buitminh/provider-upload-local-custom/-/provider-upload-local-custom-4.11.3.tgz","fileCount":6,"unpackedSize":13391,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsXSfzab2z+BWDsbnmP70oW9lYJ0XQW7vRNLhujM6szAIgRaEjerwa3INP4Zncrl01pEoFRuwwhptWzRXMexgpkts="}]},"_npmUser":{"name":"buit_minh","email":"minh.vi@buit-solutions.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/provider-upload-local-custom_4.11.3_1691398206528_0.4479956980130191"},"_hasShrinkwrap":false},"4.11.4":{"name":"@buitminh/provider-upload-local-custom","version":"4.11.4","description":"Custom Local provider for strapi upload","keywords":["upload","strapi"],"homepage":"https://strapi.io","bugs":{"url":"https://github.com/strapi/strapi/issues"},"repository":{"type":"git","url":"git://github.com/strapi/strapi.git"},"license":"SEE LICENSE IN LICENSE","author":{"name":"Strapi Solutions SAS","email":"hi@strapi.io","url":"https://strapi.io"},"maintainers":[{"name":"buit_minh","email":"minh.vi@buit-solutions.com"}],"main":"./src/index.js","types":"./src/index.d.ts","scripts":{"build":"run -T tsc","build:ts":"run -T tsc","watch":"run -T tsc -w --preserveWatchOutput","clean":"run -T rimraf ./src","test:unit":"run -T jest","test:unit:watch":"run -T jest --watch","lint":"run -T eslint ."},"dependencies":{"@strapi/utils":"4.11.1","fs-extra":"10.0.0"},"devDependencies":{"@types/jest":"29.2.0"},"engines":{"node":">=14.19.1 <=18.x.x","npm":">=6.0.0"},"gitHead":"6cdb5a7737495ca0c7179076ade5361e182ea169","_id":"@buitminh/provider-upload-local-custom@4.11.4","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-0qu8B4r4G53vEGQrI7+fdya04yxgsqJ4u7WWBRxnlk0LmmJFH9iQasHe0+2FygNRv/hV9vPfXtpm69ZQNW4h6Q==","shasum":"40d90cf963515eb990a33e3975ba1b2b335f53ec","tarball":"https://registry.npmjs.org/@buitminh/provider-upload-local-custom/-/provider-upload-local-custom-4.11.4.tgz","fileCount":7,"unpackedSize":19853,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHO55UKuFHSow8vumIvw2t2pu3yVCcqpgKRqE+2SxfIdAiBWwSKf7TOflvm5AkatA354JHIownWH8oIiev4t/5U3RA=="}]},"_npmUser":{"name":"buit_minh","email":"minh.vi@buit-solutions.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/provider-upload-local-custom_4.11.4_1691412763430_0.9340523516720984"},"_hasShrinkwrap":false}},"maintainers":[{"name":"buit_minh","email":"minh.vi@buit-solutions.com"}],"description":"Custom Local provider for strapi upload","keywords":["upload","strapi"],"author":{"name":"Strapi Solutions SAS","email":"hi@strapi.io","url":"https://strapi.io"},"license":"SEE LICENSE IN LICENSE","readme":"# @strapi/provider-upload-local\r\n\r\n## Resources\r\n\r\n- [LICENSE](LICENSE)\r\n\r\n## Links\r\n\r\n- [Strapi website](https://strapi.io/)\r\n- [Strapi documentation](https://docs.strapi.io)\r\n- [Strapi community on Discord](https://discord.strapi.io)\r\n- [Strapi news on Twitter](https://twitter.com/strapijs)\r\n\r\n## Installation\r\n\r\n```bash\r\n# using yarn\r\nyarn add @strapi/provider-upload-local\r\n\r\n# using npm\r\nnpm install @strapi/provider-upload-local --save\r\n```\r\n\r\n## Configurations\r\n\r\nThis provider has only one parameter: `sizeLimit`.\r\n\r\n### Provider Configuration\r\n\r\n`./config/plugins.js`\r\n\r\n```js\r\nmodule.exports = ({ env }) => ({\r\n  // ...\r\n  upload: {\r\n    config: {\r\n      provider: 'local',\r\n      providerOptions: {\r\n        sizeLimit: 100000,\r\n      },\r\n    },\r\n  },\r\n  // ...\r\n});\r\n```\r\n\r\nThe `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](https://docs.strapi.io/developer-docs/latest/plugins/upload.html#configuration)\r\n\r\n### Security Middleware Configuration\r\n\r\nSpecial configuration of the Strapi Security Middleware is not required on this provider since the default configuration allows loading images and media from `\"'self'\"`.\r\n","readmeFilename":"README.md","homepage":"https://strapi.io","repository":{"type":"git","url":"git://github.com/strapi/strapi.git"},"bugs":{"url":"https://github.com/strapi/strapi/issues"}}