next-s3-uploader
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

Next.js S3 Uploader

npm npm GitHub example workflow

Next S3 Uploader is a utility package for handling file uploads to Amazon S3 or compatible services like MinIO in a Next.js application. It simplifies the process of integrating secure and scalable cloud storage for your Next.js projects.

Features

  • Easy Integration: Seamlessly integrate file upload functionality into your Next.js applications.
  • Custom Hook: Provides a custom hook, useS3FileUpload, to manage file uploads and track progress.
  • Pre-Signed URLs: Generates pre-signed URLs for secure file uploads directly to Amazon S3 or compatible services.
  • Estimate Time Left: Calculates and displays estimated time left for ongoing file uploads.
  • Configurable: Supports flexible configuration for both S3 and MinIO services.

Warning: This package is currently in beta and is not recommended for production use and currently only supports uploading files to public buckets.

Installation

Install the package using your preferred package manager:

# Using npm
npm install next-s3-uploader
# Using yarn
yarn add next-s3-uploader
# Using pnpm
pnpm add next-s3-uploader

Full Documentation

For full documentation, please visit next-s3-uploader.abhayramesh.com.

Package Sidebar

Install

npm i next-s3-uploader

Weekly Downloads

11

Version

0.2.1

License

MIT

Unpacked Size

11.8 kB

Total Files

6

Last publish

Collaborators

  • abhay-ramesh