3 Install with `npm install rimraf`, or just drop rimraf.js somewhere.
9 The callback will be called with an error if there is one. Certain
10 errors are handled for you:
12 * Windows: `EBUSY` and `ENOTEMPTY` - rimraf will back off a maximum of
13 `opts.maxBusyTries` times before giving up.
14 * `ENOENT` - If the file doesn't exist, rimraf will return
15 successfully, since your desired outcome is already the case.
19 It can remove stuff synchronously, too. But that's not so good. Use
20 the async API. It's better.
24 If installed with `npm install rimraf -g` it can be used as a global
25 command `rimraf <path>` which is useful for cross platform support.
29 If you need to create a directory recursively, check out
30 [mkdirp](https://github.com/substack/node-mkdirp).