@0x-lerna-fork/rimraf-dir

Run rimraf on a directory in a subprocess to hack around slowness

Usage no npm install needed!

<script type="module">
  import 0xLernaForkRimrafDir from 'https://cdn.skypack.dev/@0x-lerna-fork/rimraf-dir';
</script>

README

@0x-lerna-fork/rimraf-dir

Run rimraf on a directory in a subprocess to hack around slowness

Usage

const rimrafDir = require("@0x-lerna-fork/rimraf-dir");

rimrafDir("/path/to/directory").then(removedDir => {
  console.log("removed", removedDir);
});

Install lerna for access to the lerna CLI.