# unfolder

> Tiny tool to move files from nested directories to the root directory.

Latest version **1.0.7** (published 2023-03-30) · ISC license · 0 weekly downloads

## Install

```sh
npm install unfolder
pnpm add unfolder
yarn add unfolder
bun add unfolder
```

Provides the command `unfolder`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2023-03-30 |
| First published | 2023-03-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | asmanumbetov |
| Keywords | cli, utility, js, Node |

## Links

- npm: https://www.npmjs.com/package/unfolder
- npm.io page: https://npm.io/package/unfolder

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.7 (latest) — 2023-03-30
- 1.0.6 — 2023-03-30
- 1.0.5 — 2023-03-29
- 1.0.0 — 2023-03-28

## README

# Unfolder
   This is a simple command-line interface (CLI) tool that moves all files from subdirectories to the top level of a directory.
   ## Installation
   To use this tool, you'll need to have Node.js and NPM installed on your system. You can download it from the official website: https://nodejs.org/
    Once you have Node.js (NPM comes bundled with Node) installed, you will be able to use this tool via npx command. To install the tool on your system run:
```
npm i unfolder -g
```

   
   If you don't want the tool installed globally on your system you can also download the tool by cloning this repository or downloading the source code as a ZIP file.
## Usage
To use the tool, open a terminal and run the following command:
```
npx unfolder [directoryPath]
```
    
    
  Replace `[directoryPath]` with the path to the directory you want to move files from. If you don't provide a directory path, the tool will use the current directory.
    The tool will move all files from subdirectories to the top level of the directory. It will output a message for each file that is moved.

   To use the tool without installing globally, open a terminal or command prompt and navigate to the directory where the tool is installed. Then, run the following command:
    ```
    ./unfolder.js [directoryPath]
    ```

## License
This tool is licensed under the MIT License

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