Gulp - Delete empty folders recursively
<p>I want to delete all folders and subfolders inside of a given directory if they only contain folders and no files. Is there an easy way to do that?</p>

<p>What I found until now:</p>

<ul>
<li><a href="https://www.npmjs.com/package/gulp-recursive-folder" rel="nofollow">https://www.npmjs.com/package/gulp-recursive-folder</a></li>
<li><a href="https://www.npmjs.com/package/gulp-count" rel="nofollow">https://www.npmjs.com/package/gulp-count</a></li>
<li><a href="https://www.npmjs.com/package/gulp-path" rel="nofollow">https://www.npmjs.com/package/gulp-path</a></li>
</ul>