{"name":"gentle-fs","version":"2.0.0","keywords":["npm","gentle","fs"],"author":{"name":"Mike Sherov"},"license":"Artistic-2.0","_id":"gentle-fs@2.0.0","maintainers":[{"name":"iarna","email":"me@re-becca.org"},{"name":"zkat","email":"kat@sykosomatic.org"},{"name":"mikesherov","email":"mike.sherov@gmail.com"}],"homepage":"https://github.com/npm/gentle-fs#readme","bugs":{"url":"https://github.com/npm/gentle-fs/issues"},"dist":{"shasum":"d5c17d7f086cb8014b5635c7e7e173854f1d35bf","tarball":"http://registry-npm.ywwl.com/gentle-fs/download/gentle-fs-2.0.0.tgz","integrity":"sha512-9VGqvWWPG5OwcVzTYtfo0mHQ4HCaPEAr0VnbCYl2z0l891pYlIwQ7JxwyFr/nXfu0v7R4+oFgZL3bNiXz0D7tQ==","signatures":[{"sig":"MEUCIQC+WVNU00KfDxc3ak/YGayJAtuqgJ/hhtViC2sh/rrmwwIgbXKjEA0naGxpDb3CqmxbF4j8ubymJXvbDci+oTKvh1g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":8693,"noattachment":false,"key":"/gentle-fs/-/gentle-fs-2.0.0.tgz"},"main":"index.js","files":["index.js","lib"],"gitHead":"b988244e611cf7ece58296b2ceede48609aafd82","scripts":{"test":"tap -J --nyc-arg=--all --coverage test/*.js test/**/*.js","pretest":"standard","release":"standard-version -s","prerelease":"npm t","update-coc":"weallbehave -o . && git add CODE_OF_CONDUCT.md && git commit -m 'docs(coc): updated CODE_OF_CONDUCT.md'","postrelease":"npm publish && git push --follow-tags","update-contrib":"weallcontribute -o . && git add CONTRIBUTING.md && git commit -m 'docs(contributing): updated CONTRIBUTING.md'"},"_npmUser":{"name":"mikesherov","email":"mike.sherov@gmail.com"},"deprecated":"This package is deprecated and will not be receiving further updates","repository":{"url":"git://github.com/npm/gentle-fs.git","type":"git"},"_npmVersion":"5.4.2","description":"Gentle Filesystem operations","directories":{},"_nodeVersion":"8.5.0","dependencies":{"iferr":"^0.1.5","slide":"^1.1.6","aproba":"^1.1.2","mkdirp":"^0.5.1","fs-vacuum":"^1.2.10","graceful-fs":"^4.1.11","read-cmd-shim":"^1.0.1","path-is-inside":"^1.0.2"},"devDependencies":{"nyc":"^11.1.0","tap":"^10.7.2","dezalgo":"^1.0.3","standard":"^10.0.3","weallbehave":"^1.2.0","require-inject":"^1.4.2","weallcontribute":"^1.0.8","standard-version":"^4.2.0"},"_npmOperationalInternal":{"tmp":"tmp/gentle-fs-2.0.0.tgz_1507338720818_0.919053299818188","host":"s3://npm-registry-packages"},"readme":"# gentle-fs [![npm version](https://img.shields.io/npm/v/gentle-fs.svg)](https://npm.im/gentle-fs) [![license](https://img.shields.io/npm/l/gentle-fs.svg)](https://npm.im/gentle-fs) [![Travis](https://img.shields.io/travis/npm/gentle-fs.svg)](https://travis-ci.org/npm/gentle-fs) [![AppVeyor](https://ci.appveyor.com/api/projects/status/github/npm/gentle-fs?svg=true)](https://ci.appveyor.com/project/npm/gentle-fs) [![Coverage Status](https://coveralls.io/repos/github/npm/gentle-fs/badge.svg?branch=latest)](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","publish_time":1507338721802,"_cnpm_publish_time":1507338721802,"dist-tags":{"latest":"2.3.1"}}