Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-dropzone-esm

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-dropzone-esm

Simple HTML5 drag-drop zone with React.js

  • 15.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
85K
increased by8.37%
Maintainers
0
Weekly downloads
 
Created
Source

react-dropzone-esm

react-dropzone-esm is a fork of react-dropzone. The purpose of the fork is to provide a version of react-dropzone that is compatible with modern frameworks which use ES modules (Remix v2, newer versions of Next.js, Vite).

The package provides esm and cjs bundles. It is compatible both with modern build tools like Remix v2 and with older tools like Webpack 4.

Installation

With yarn:

yarn add react-dropzone-esm

With npm:

npm install react-dropzone-esm

Differences from react-dropzone

  • ESM and CJS bundles
  • Properly configured package.json exports
  • ESM bundle is shipped with .mjs extension
  • Unused files are removed from the published package (docs, logos, etc.)

Note that it is not planned to fix any bugs or add new features to this package. The only purpose of this package is to provide a version of react-dropzone that is compatible with modern frameworks. Source code of react-dropzone library is not modified in any way.

Documentation

Documentation was removed from the forked package to simplify maintenance. Please refer to the original package for documentation.

Keywords

FAQs

Package last updated on 19 Nov 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc