# create-empty-folders

> minimal library to create empty folder structures

Latest version **0.2.1** (published 2017-11-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install create-empty-folders
pnpm add create-empty-folders
yarn add create-empty-folders
bun add create-empty-folders
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2017-11-20 |
| First published | 2017-11-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Nivesh Singh |
| Maintainers | nivesh2 |
| Keywords | folders, create folders, empty folders |

## Links

- npm: https://www.npmjs.com/package/create-empty-folders
- Repository: https://github.com/nivesh2/create-empty-folders
- Homepage: https://github.com/nivesh2/create-empty-folders#readme
- Issues: https://github.com/nivesh2/create-empty-folders/issues
- npm.io page: https://npm.io/package/create-empty-folders

## Recent versions

- 0.2.1 (latest) — 2017-11-20
- 0.2.0 — 2017-11-20
- 0.1.0 — 2017-11-20

## README

# Create Empty Folders

[![JavaScript Style Guide](https://cdn.rawgit.com/standard/standard/master/badge.svg)](https://github.com/standard/standard)

It is simple enough to just load the .env files into process.env .
Features:
- Zero-dependency,
- Simple and clean,
- less than 35 lines,
- Easy enough to add your own customizations in to it.

## Install

```bash
npm install create-empty-folders --save
```

## Usage
Require it in your entry file, and use it as a startup script:
```javascript
var createFolders = require('create-empty-folders')

// for creating multiple folders at root
createFolders(['folder1','folder2'])

// for creating nested folders
// Note: folder1 is created first as parent folder should be present before creating child folders
createFolders(['folder1','folder1/folder2','folder1/folder3'])
```

It will only create folders once, if folder already exist then will bypass it.

### Development Setup steps:
* clone the repo
* npm install standard --save-dev
* npm install

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