# pandabook

> A utility to create files in folders

Latest version **1.0.4** (published 2024-10-19) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 35/100 (D)** — status: maintenance-mode.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2024-10-19 |
| First published | 2024-10-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Runi Panda |
| Maintainers | runipanda |
| Keywords | file generator, foldergenerator, directory, file creation, folder creation, directory management, file system, nodejs, fs module, automation, file structure, directory creation, file management, recursive directories, file generator, directory generator, file systemtools, folder automation, file utilities, directory utilities, path management, file handling, directory handling, folders, files, file organizer, folder organizer, node file system, directory structure, file manipulation, folder management, file operations, directory operations, pandabook, npm, packages, install, panda, vs code |

## Links

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

## 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.4 (latest) — 2024-10-19
- 1.0.3 — 2024-10-19
- 1.0.2 — 2024-10-18
- 1.0.0 — 2024-10-18

## README

### How to Use the `pandabook` Package

This guide will help you install and use the `pandabook` package for bulk file and folder creation.

## 1. Install the Package in Your Project

```bash
npm install pandabook
```

# In JavaScript (ES Modules): Bulk File Generation

```bash
import pandabook from "pandabook";

// Path to the directory
const rootFolder = "../your-folder-name";

// Folders and files to create
const foldersAndFiles = [
  {
    folderName: "Folder1",
    fileNames: ["file1", "file2"],
    extension: ".txt",
  },
  {
    folderName: "Folder2",
    fileNames: ["file3", "file4"],
    extension: ".md",
  },
];

// Call the function
pandabook(foldersAndFiles, rootFolder);
```

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