deps: upgrade to npm 2.14.4
[platform/upstream/nodejs.git] / deps / npm / node_modules / fs-vacuum / package.json
1 {
2   "name": "fs-vacuum",
3   "version": "1.2.7",
4   "description": "recursively remove empty directories -- to a point",
5   "main": "vacuum.js",
6   "scripts": {
7     "test": "tap test/*.js"
8   },
9   "repository": {
10     "type": "git",
11     "url": "git+https://github.com/npm/fs-vacuum.git"
12   },
13   "keywords": [
14     "rm",
15     "rimraf",
16     "clean"
17   ],
18   "author": {
19     "name": "Forrest L Norvell",
20     "email": "ogd@aoaioxxysz.net"
21   },
22   "license": "ISC",
23   "bugs": {
24     "url": "https://github.com/npm/fs-vacuum/issues"
25   },
26   "homepage": "https://github.com/npm/fs-vacuum",
27   "devDependencies": {
28     "mkdirp": "^0.5.0",
29     "tap": "^0.4.11",
30     "tmp": "0.0.24"
31   },
32   "dependencies": {
33     "graceful-fs": "^4.1.2",
34     "path-is-inside": "^1.0.1",
35     "rimraf": "^2.2.8"
36   },
37   "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",
38   "readmeFilename": "README.md",
39   "gitHead": "498a44d987ee11bc355fe1ec479d55a689fc37ef",
40   "_id": "fs-vacuum@1.2.7",
41   "_shasum": "75e501f9d2889ba2fe9fe12f936ba5dad50ca35a",
42   "_from": "fs-vacuum@1.2.7"
43 }