{
  "name": "fs-vacuum",
  "version": "1.2.1",
  "description": "recursively remove empty directories -- to a point",
  "main": "vacuum.js",
  "scripts": {
    "test": "tap test/*.js"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/npm/fs-vacuum.git"
  },
  "keywords": [
    "rm",
    "rimraf",
    "clean"
  ],
  "author": {
    "name": "Forrest L Norvell",
    "email": "ogd@aoaioxxysz.net"
  },
  "license": "ISC",
  "bugs": {
    "url": "https://github.com/npm/fs-vacuum/issues"
  },
  "homepage": "https://github.com/npm/fs-vacuum",
  "devDependencies": {
    "mkdirp": "^0.5.0",
    "tap": "^0.4.11",
    "tmp": "0.0.23"
  },
  "dependencies": {
    "graceful-fs": "^3.0.2",
    "rimraf": "^2.2.8"
  },
  "readme": "# fs-vacuum\n\nRemove the empty branches of a directory tree, optionally up to (but not\nincluding) a specified base directory. Optionally nukes the leaf directory.\n\n## Usage\n\n```javascript\nvar logger = require(\"npmlog\");\nvar vacuum = require(\"fs-vacuum\");\n\nvar options = {\n  base  : \"/path/to/my/tree/root\",\n  purge : true,\n  log   : logger.silly.bind(logger, \"myCleanup\")\n};\n\n/* Assuming there are no other files or directories in \"out\", \"to\", or \"my\",\n * the final path will just be \"/path/to/my/tree/root\".\n */\nvacuum(\"/path/to/my/tree/root/out/to/my/files\", function (error) {\n  if (error) console.error(\"Unable to cleanly vacuum:\", error.message);\n});\n```\n# vacuum(directory, options, callback)\n\n* `directory` {String} Leaf node to remove. **Must be a directory, symlink, or file.**\n* `options` {Object}\n  * `base` {String} No directories at or above this level of the filesystem will be removed.\n  * `purge` {Boolean} If set, nuke the whole leaf directory, including its contents.\n  * `log` {Function} A logging function that takes `npmlog`-compatible argument lists.\n* `callback` {Function} Function to call once vacuuming is complete.\n  * `error` {Error} What went wrong along the way, if anything.\n",
  "readmeFilename": "README.md",
  "gitHead": "bad24b21c45d86b3da991f2c3d058ef03546d83e",
  "_id": "fs-vacuum@1.2.1",
  "_shasum": "1bc3c62da30d6272569b8b9089c9811abb0a600b",
  "_from": "fs-vacuum@>=1.2.1-0 <1.3.0-0"
}
