@buon18/strapi-provider-upload-uploadthing
v1.0.5
Published
Strapi upload provider that uses UploadThing.
Maintainers
Readme
strapi-provider-upload-uploadthing
Strapi upload provider that uses UploadThing.
Usage
- Install
npm install strapi-provider-upload-uploadthing
- Configure in Strapi
module.exports = ({ env }) => ({ defaultConnection: 'default', // ... other settings upload: { provider: 'uploadthing', providerOptions: { token: env('UPLOADTHING_TOKEN'), }, }, });
API
The provider exposes the standard Strapi upload provider methods: init, upload, uploadStream, and delete.
Build
This package is written in TypeScript. Build with:
npm run build
