# mkdir-recursive

> make/remove (asynchronous/synchronous) directories recursively

Latest version **0.4.0** (published 2017-12-30) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install mkdir-recursive
pnpm add mkdir-recursive
yarn add mkdir-recursive
bun add mkdir-recursive
```

## 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.4.0 |
| Published | 2017-12-30 |
| First published | 2015-02-25 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | hex7c0 |
| Maintainers | hex7c0 |
| Keywords | mkdir, rmdir, recursive |

## Links

- npm: https://www.npmjs.com/package/mkdir-recursive
- Repository: https://github.com/hex7c0/mkdir-recursive
- Issues: https://github.com/hex7c0/mkdir-recursive/issues
- npm.io page: https://npm.io/package/mkdir-recursive

## Alternatives

- [@mdxeditor/editor](https://npm.io/package/@mdxeditor/editor.md) — 962.4K weekly downloads
- [mmdb-lib](https://npm.io/package/mmdb-lib.md) — 680.9K weekly downloads
- [playcanvas](https://npm.io/package/playcanvas.md) — 36.2K weekly downloads
- [@glw907/cairn-cms](https://npm.io/package/@glw907/cairn-cms.md) — 967 weekly downloads
- [markdown-to-confluence](https://npm.io/package/markdown-to-confluence.md) — 103 weekly downloads

## Recent versions

- 0.4.0 (latest) — 2017-12-30
- 0.3.0 — 2017-03-05
- 0.2.3 — 2016-09-12
- 0.2.2 — 2016-07-12
- 0.2.1 — 2015-11-09
- 0.2.0 — 2015-09-11
- 0.1.0 — 2015-08-10
- 0.0.2 — 2015-02-26
- 0.0.1 — 2015-02-25

## README

# [mkdir-recursive](https://github.com/hex7c0/mkdir-recursive)

[![NPM version](https://img.shields.io/npm/v/mkdir-recursive.svg)](https://www.npmjs.com/package/mkdir-recursive)
[![Linux Status](https://img.shields.io/travis/hex7c0/mkdir-recursive.svg?label=linux)](https://travis-ci.org/hex7c0/mkdir-recursive)
[![Windows Status](https://img.shields.io/appveyor/ci/hex7c0/mkdir-recursive.svg?label=windows)](https://ci.appveyor.com/project/hex7c0/mkdir-recursive)
[![Dependency Status](https://img.shields.io/david/hex7c0/mkdir-recursive.svg)](https://david-dm.org/hex7c0/mkdir-recursive)
[![Coveralls](https://img.shields.io/coveralls/hex7c0/mkdir-recursive.svg)](https://coveralls.io/r/hex7c0/mkdir-recursive)

make/remove (asynchronous/synchronous) directories recursively

## Installation

Install through NPM

```bash
npm install mkdir-recursive
```
or
```bash
git clone git://github.com/hex7c0/mkdir-recursive.git
```

## API

make 3 directories asynchronous recursively
```js
var fx = require('mkdir-recursive');

fx.mkdir('foo/bar/1', function(err) {

  console.log('done');
});
```

### mkdir(path [, mode], callback) [Node Doc](http://nodejs.org/api/fs.html#fs_fs_mkdir_path_mode_callback)

 - `path` - **String** Dir pathname *(default "required")*
 - `[mode]`- **Number** Scrivi *(default "0777")*
 - `callback` - **Function** Next callback when task is complete *(default "required")*

### mkdirSync(path [, mode]) [Node Doc](http://nodejs.org/api/fs.html#fs_fs_mkdirsync_path_mode)

 - `path` - **String** Dir pathname *(default "required")*
 - `[mode]`- **Number** Scrivi *(default "0777")*

### rmdir(path, callback) [Node Doc](http://nodejs.org/api/fs.html#fs_fs_rmdir_path_callback)

 - `path` - **String** Dir pathname *(default "required")*
 - `callback` - **Function** Next callback when task is complete *(default "required")*

### rmdirSync(path) [Node Doc](http://nodejs.org/api/fs.html#fs_fs_rmdirsync_path)

 - `path` - **String** Dir pathname *(default "required")*

## Examples

Take a look at my [examples](examples)

### [License GPLv3](LICENSE)

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