<commit_before># bluebird-mkdirp [![Build Status](https://secure.travis-ci.org/ds82/tiny-di.svg)](http://travis-ci.org/ds82/tiny-di) [![version](https://img.shields.io/npm/v/bluebird-mkdirp.svg)](https://www.npmjs.com/package/bluebird-mkdirp)

promisify'd version of mkdirp using bluebird and mkdirp as `peerDependencies`.

# Install

// You don't need to install bluebord if your projects already uses a bluebird >= v2

```npm install --save mkdirp bluebird bluebird-mkdirp```

# Usage

```
const mkdirp = require('bluebird-mkdirp');

mkdirp(dir, opts)
  .then(() => { /* done */ })
  .catch((err) => { /* ooops */ })<commit_msg>chore(README): some corrections in README<commit_after># bluebird-mkdirp [![Build Status](https://secure.travis-ci.org/ds82/tiny-di.svg)](http://travis-ci.org/ds82/tiny-di) [![version](https://img.shields.io/npm/v/bluebird-mkdirp.svg)](https://www.npmjs.com/package/bluebird-mkdirp)

promisify'd version of mkdirp using bluebird and mkdirp as `peerDependencies`.

# Install

```
// mkdirp and bluebird are peerDependencies. You don't need to install them if you already use them in your projects

npm install --save mkdirp bluebird bluebird-mkdirp
```

# Usage

```
const mkdirp = require('bluebird-mkdirp');

mkdirp(dir, opts)
  .then(() => { /* done */ })
  .catch((err) => { /* ooops */ })
{'fraction_non_alphanumeric': 0.1800302571860817, 'fraction_numerical': 0.00680786686838124, 'mean_word_length': 4.334677419354839, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6140803', 'n_tokens_mistral': 503, 'n_tokens_neox': 461, 'n_words': 101}