{
"_from": "gentle-fs@2.3.1",
"_id": "gentle-fs@2.3.1",
"_inBundle": false,
"_integrity": "sha512-OlwBBwqCFPcjm33rF2BjW+Pr6/ll2741l+xooiwTCeaX2CA1ZuclavyMBe0/KlR21/XGsgY6hzEQZ15BdNa13Q==",
"_location": "/npm/gentle-fs",
"_phantomChildren": {},
"_requested": {
"escapedName": "gentle-fs",
"fetchSpec": "2.3.1",
"name": "gentle-fs",
"raw": "gentle-fs@2.3.1",
"rawSpec": "2.3.1",
"registry": true,
"saveSpec": null,
"type": "version"
},
"_requiredBy": [
"#USER",
"/npm",
"/npm/bin-links"
],
"_resolved": "https://registry.npmjs.org/gentle-fs/-/gentle-fs-2.3.1.tgz",
"_shasum": "11201bf66c18f930ddca72cf69460bdfa05727b1",
"_shrinkwrap": null,
"_spec": "gentle-fs@2.3.1",
"_where": "/Users/claudiahdz/npm/cli",
"author": {
"name": "Mike Sherov"
},
"bugs": {
"url": "https://github.com/npm/gentle-fs/issues"
},
"bundleDependencies": false,
"dependencies": {
"aproba": "^1.1.2",
"chownr": "^1.1.2",
"cmd-shim": "^3.0.3",
"fs-vacuum": "^1.2.10",
"graceful-fs": "^4.1.11",
"iferr": "^0.1.5",
"infer-owner": "^1.0.4",
"mkdirp": "^0.5.1",
"path-is-inside": "^1.0.2",
"read-cmd-shim": "^1.0.1",
"slide": "^1.1.6"
},
"deprecated": false,
"description": "Gentle Filesystem operations",
"devDependencies": {
"dezalgo": "^1.0.3",
"nyc": "^11.1.0",
"require-inject": "^1.4.2",
"standard": "^10.0.3",
"standard-version": "^4.2.0",
"tap": "^10.7.2"
},
"files": [
"index.js",
"lib"
],
"homepage": "https://github.com/npm/gentle-fs#readme",
"keywords": [
"fs",
"gentle",
"npm"
],
"license": "Artistic-2.0",
"main": "index.js",
"name": "gentle-fs",
"optionalDependencies": {},
"readme": "# gentle-fs [](https://npm.im/gentle-fs) [](https://npm.im/gentle-fs) [](https://travis-ci.org/npm/gentle-fs) [](https://ci.appveyor.com/project/npm/gentle-fs) [](https://coveralls.io/github/npm/gentle-fs?branch=latest)\n\n[`gentle-fs`](https://github.com/npm/gentle-fs) is a standalone library for\n\"gently\" remove or link directories.\n\n## Install\n\n`$ npm install gentle-fs`\n\n## Table of Contents\n\n* [Example](#example)\n* [Features](#features)\n* [API](#api)\n * [`rm`](#rm)\n * [`link`](#link)\n * [`linkIfExists`](#linkIfExists)\n\n### Example\n\n```javascript\n// todo\n```\n\n### Features\n\n* Performs filesystem operations \"gently\". Please see details in the API specs below\nfor a more precise definition of \"gently\".\n\n### API\n\n#### <a name=\"rm\"></a> `> rm(target, opts, cb)`\n\nWill delete all directories between `target` and `opts.base`, as long as they are empty.\nThat is, if `target` is `/a/b/c/d/e` and `base` is `/a/b`, but `/a/b/c` has other files\nbesides the `d` directory inside of it, `/a/b/c` will remain.\n\n##### Example\n\n```javascript\nrm(target, opts, cb)\n```\n\n#### <a name=\"link\"></a> `> link(from, to, opts, cb)`\n\nIf `from` is a real directory, and `from` is not the same directory as `to`, will\nsymlink `from` to `to`, while also gently [`rm`](#rm)ing the `to` directory,\nand then call the callback. Otherwise, will call callback with an `Error`.\n\n##### Example\n\n```javascript\nlink(from, to, opts, cb)\n```\n\n#### <a name=\"linkIfExists\"></a> `> linkIfExists(from, to, opts, cb)`\n\nPerforms the same operation as [`link`](#link), except does nothing when `from` is the\nsame as `to`, and calls the callback.\n\n##### Example\n\n```javascript\nlinkIfExists(from, to, opts, cb)\n```\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/npm/gentle-fs.git"
},
"scripts": {
"postrelease": "npm publish && git push --follow-tags",
"posttest": "standard",
"prerelease": "npm t",
"release": "standard-version -s",
"test": "tap -J --nyc-arg=--all --coverage test"
},
"version": "2.3.1"
}