# subfolders-too

> Helper for taking the dataTransfer of a drop event and returning all files (including out of subfolders).

Latest version **1.0.1** (published 2018-10-03) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install subfolders-too
pnpm add subfolders-too
yarn add subfolders-too
bun add subfolders-too
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-10-03 |
| First published | 2017-03-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | https://github.com/queicherius/ |
| Maintainers | queicherius |
| Keywords | drag, drop, helper, files |

## Links

- npm: https://www.npmjs.com/package/subfolders-too
- Repository: https://github.com/queicherius/subfolders-too
- Homepage: https://github.com/queicherius/subfolders-too#readme
- Issues: https://github.com/queicherius/subfolders-too/issues
- npm.io page: https://npm.io/package/subfolders-too

## Dependencies (1)

- [async](https://npm.io/package/async.md) ^2.1.5

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 1.0.1 (latest) — 2018-10-03
- 1.0.0 — 2017-03-22

## README

### :boom: Careful: This package is no longer maintained and is only here for historic reasons. This means you should very likely not use it. You have been warned. :boom:

---

# SubfoldersToo

Helper for taking the `dataTransfer` of a drop event and returning all files (including out of subfolders).

## Install

```sh
npm install subfolders-too
```

For reference see the [Browserify Handbook](https://github.com/substack/browserify-handbook#how-node_modules-works).

## Usage

```js
var subfoldersToo = require('subfolders-too')

// Bind the event and call the helper with the event
document.querySelector('#file-button').onDrop = function (event) {
  subfoldersToo(event, function (files) {
    // Files is now an array of files that were included in the drop event
    console.log(files)
  })
}
```

---
_Source: https://npm.io/package/subfolders-too · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
