README.md 345 B

@lerna/rimraf-dir

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

Usage

const { rimrafDir } = require("@lerna/rimraf-dir");

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

Install lerna for access to the lerna CLI.