Works with any backend npm install Zero dependencies

Directory Browse (webkitdirectory)

Enable the native folder picker dialog via the webkitdirectory option.

(function() {
 new MultipleUpload('#demo', {
 uploadUrl: '/api/upload',
 multiple: true,
 webkitdirectory: true,
 autoUpload: false,
 buttonText: 'Select Folder'
 });
})();