{"_id":"sander","_rev":"141954","name":"sander","description":"Promise-based power tool for common filesystem tasks","dist-tags":{"latest":"0.6.0"},"maintainers":[{"name":"rich_harris","email":""}],"time":{"modified":"2021-06-03T11:27:31.000Z","created":"2014-09-13T21:58:04.256Z","0.6.0":"2016-11-27T03:44:38.223Z","0.5.1":"2016-05-07T16:48:01.781Z","0.5.0":"2016-04-17T06:05:28.517Z","0.4.0":"2015-10-23T03:14:09.354Z","0.3.8":"2015-10-01T18:24:11.015Z","0.3.7":"2015-09-25T16:39:22.532Z","0.3.6":"2015-09-24T21:20:04.869Z","0.3.5":"2015-08-18T22:50:11.087Z","0.3.4":"2015-05-21T15:35:54.026Z","0.3.3":"2015-05-06T22:24:59.307Z","0.3.2":"2015-05-06T15:54:19.700Z","0.3.1":"2015-05-05T17:45:57.513Z","0.3.0":"2015-05-04T22:27:04.620Z","0.2.4":"2015-04-28T01:53:11.849Z","0.2.3":"2015-04-18T15:16:52.907Z","0.2.2":"2015-01-11T18:03:27.849Z","0.2.1":"2014-11-10T17:13:01.370Z","0.2.0":"2014-10-23T19:54:24.021Z","0.1.6":"2014-10-12T16:31:50.655Z","0.1.5":"2014-09-28T01:26:57.522Z","0.1.3":"2014-09-26T20:50:16.037Z","0.1.2":"2014-09-26T19:28:47.736Z","0.1.1":"2014-09-14T02:14:42.351Z","0.1.0":"2014-09-13T21:58:04.256Z"},"users":{"marsch":true,"pdedkov":true,"scottfreecode":true,"lucasmotta":true,"nichoth":true,"zoser":true},"author":{"name":"Rich Harris"},"repository":{"type":"git","url":"git+https://github.com/rich-harris/sander.git"},"versions":{"0.6.0":{"name":"sander","description":"Promise-based power tool for common filesystem tasks","author":{"name":"Rich Harris"},"version":"0.6.0","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rich-harris/sander.git"},"dependencies":{"mkdirp":"^0.5.1","rimraf":"^2.5.2","graceful-fs":"^4.1.3"},"main":"dist/sander.cjs.js","jsnext:main":"dist/sander.es.js","devDependencies":{"buffer-crc32":"^0.2.5","mocha":"^3.2.0","rollup":"^0.36.4","rollup-plugin-buble":"^0.14.0"},"scripts":{"test":"mocha","pretest":"npm run build","build":"rollup -c","prepublish":"npm test"},"files":["dist","README.md"],"gitHead":"000590a0a4a954e0488c028fad4b7ca801023aee","bugs":{"url":"https://github.com/rich-harris/sander/issues"},"homepage":"https://github.com/rich-harris/sander#readme","_id":"sander@0.6.0","_shasum":"af1624cd7fb6dfad98ebef565319f920078da925","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"af1624cd7fb6dfad98ebef565319f920078da925","size":21201,"noattachment":false,"key":"/sander/-/sander-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/sander/download/sander-0.6.0.tgz"},"maintainers":[{"name":"rich_harris","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sander-0.6.0.tgz_1480218277598_0.5377683152910322"},"directories":{},"publish_time":1480218278223,"_cnpm_publish_time":1480218278223,"_hasShrinkwrap":false},"0.5.1":{"name":"sander","description":"Promise-based power tool for common filesystem tasks","author":{"name":"Rich Harris"},"version":"0.5.1","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rich-harris/sander.git"},"dependencies":{"es6-promise":"^3.1.2","mkdirp":"^0.5.1","rimraf":"^2.5.2","graceful-fs":"^4.1.3"},"main":"dist/sander.cjs.js","jsnext:main":"dist/sander.es.js","devDependencies":{"buffer-crc32":"^0.2.5","mocha":"^2.4.5","rollup":"^0.26.2","rollup-plugin-buble":"^0.7.0"},"scripts":{"test":"mocha","pretest":"npm run build:cjs","build":"npm run build:cjs && npm run build:es","build:cjs":"rollup -c -f cjs -o dist/sander.cjs.js","build:es":"rollup -c -f es6 -o dist/sander.es.js","prepublish":"npm test && npm run build:es"},"files":["src","dist","README.md"],"gitHead":"5138b0f6303c2136680f1d615a2b3e0b72156e23","bugs":{"url":"https://github.com/rich-harris/sander/issues"},"homepage":"https://github.com/rich-harris/sander#readme","_id":"sander@0.5.1","_shasum":"741e245e231f07cafb6fdf0f133adfa216a502ad","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"741e245e231f07cafb6fdf0f133adfa216a502ad","size":29879,"noattachment":false,"key":"/sander/-/sander-0.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/sander/download/sander-0.5.1.tgz"},"maintainers":[{"name":"rich_harris","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/sander-0.5.1.tgz_1462639680608_0.8267310468945652"},"directories":{},"publish_time":1462639681781,"_cnpm_publish_time":1462639681781,"_hasShrinkwrap":false},"0.5.0":{"name":"sander","description":"Promise-based power tool for common filesystem tasks","author":{"name":"Rich Harris"},"version":"0.5.0","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rich-harris/sander.git"},"dependencies":{"es6-promise":"^3.1.2","mkdirp":"^0.5.1","rimraf":"^2.5.2","graceful-fs":"^4.1.3"},"main":"dist/sander.cjs.js","jsnext:main":"dist/sander.es.js","devDependencies":{"buffer-crc32":"^0.2.5","mocha":"^2.4.5","rollup-plugin-buble":"^0.5.0"},"scripts":{"test":"mocha","pretest":"npm run build:cjs","build":"npm run build:cjs && npm run build:es","build:cjs":"rollup -c -f cjs -o dist/sander.cjs.js","build:es":"rollup -c -f es6 -o dist/sander.es.js","prepublish":"npm test && npm run build:es"},"files":["src","dist","README.md"],"gitHead":"a3dbe0c95fa27314e26c48f1c4a6eb684f5eee7c","bugs":{"url":"https://github.com/rich-harris/sander/issues"},"homepage":"https://github.com/rich-harris/sander#readme","_id":"sander@0.5.0","_shasum":"918b90a7da7691047bb42963336b281a78d60d2c","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"918b90a7da7691047bb42963336b281a78d60d2c","size":32443,"noattachment":false,"key":"/sander/-/sander-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/sander/download/sander-0.5.0.tgz"},"maintainers":[{"name":"rich_harris","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sander-0.5.0.tgz_1460873125794_0.019061391474679112"},"directories":{},"publish_time":1460873128517,"_cnpm_publish_time":1460873128517,"_hasShrinkwrap":false},"0.4.0":{"name":"sander","description":"Promise-based power tool for common filesystem tasks","author":{"name":"Rich Harris"},"version":"0.4.0","license":"MIT","repository":{"type":"git","url":"https://github.com/rich-harris/sander"},"dependencies":{"es6-promise":"^2.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8","graceful-fs":"^3.0.4"},"main":"dist/sander.cjs.js","jsnext:main":"dist/sander.es6.js","devDependencies":{"buffer-crc32":"^0.2.3","gobble":"^0.9.2","gobble-babel":"^5.1.0","gobble-cli":"^0.4.1","gobble-esperanto-bundle":"^0.1.7","mocha":"^2.2.4"},"scripts":{"test":"mocha","pretest":"npm run build","build":"gobble build -f dist","prepublish":"npm run build && npm test"},"files":["src","dist","README.md"],"gitHead":"e74820f572871966dba44a17dac61eda8df93254","bugs":{"url":"https://github.com/rich-harris/sander/issues"},"homepage":"https://github.com/rich-harris/sander","_id":"sander@0.4.0","_shasum":"75bfbf9b48059282bf8b0e9a3fdb2828c9a13269","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"maintainers":[{"name":"rich_harris","email":""}],"dist":{"shasum":"75bfbf9b48059282bf8b0e9a3fdb2828c9a13269","size":24037,"noattachment":false,"key":"/sander/-/sander-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/sander/download/sander-0.4.0.tgz"},"directories":{},"publish_time":1445570049354,"_cnpm_publish_time":1445570049354,"_hasShrinkwrap":false},"0.3.8":{"name":"sander","description":"Promise-based power tool for common filesystem tasks","author":{"name":"Rich Harris"},"version":"0.3.8","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rich-harris/sander.git"},"dependencies":{"es6-promise":"^2.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8","graceful-fs":"^3.0.4"},"main":"dist/sander.js","jsnext:main":"src/sander.js","devDependencies":{"buffer-crc32":"^0.2.3","gobble":"^0.9.2","gobble-babel":"^5.1.0","gobble-cli":"^0.4.1","gobble-esperanto-bundle":"^0.1.7","mocha":"^2.2.4"},"scripts":{"test":"mocha","pretest":"npm run build","build":"gobble build -f dist","prepublish":"npm run build && npm test"},"files":["src","dist","README.md"],"gitHead":"e06d4c06ca2ed2b2997b7938f7ef03d15dd41cb6","bugs":{"url":"https://github.com/rich-harris/sander/issues"},"homepage":"https://github.com/rich-harris/sander#readme","_id":"sander@0.3.8","_shasum":"7297fde7396192fe9ddc81ec6558a3bcd35d24d5","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.2.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"7297fde7396192fe9ddc81ec6558a3bcd35d24d5","size":17614,"noattachment":false,"key":"/sander/-/sander-0.3.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/sander/download/sander-0.3.8.tgz"},"maintainers":[{"name":"rich_harris","email":""}],"directories":{},"publish_time":1443723851015,"_cnpm_publish_time":1443723851015,"_hasShrinkwrap":false},"0.3.7":{"name":"sander","description":"Promise-based power tool for common filesystem tasks","author":{"name":"Rich Harris"},"version":"0.3.7","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rich-harris/sander.git"},"dependencies":{"es6-promise":"^2.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8","graceful-fs":"^3.0.4"},"main":"dist/sander.js","jsnext:main":"src/sander.js","devDependencies":{"buffer-crc32":"^0.2.3","gobble":"^0.9.2","gobble-babel":"^5.1.0","gobble-cli":"^0.4.1","gobble-esperanto-bundle":"^0.1.7","mocha":"^2.2.4"},"scripts":{"test":"mocha","pretest":"npm run build","build":"gobble build -f dist","prepublish":"npm run build && npm test"},"files":["src","dist","README.md"],"gitHead":"540eaf8aab75066b1c3413a026c5fee3d04413fd","bugs":{"url":"https://github.com/rich-harris/sander/issues"},"homepage":"https://github.com/rich-harris/sander#readme","_id":"sander@0.3.7","_shasum":"8c9bfca42cb740020e38d5178dfe6f9a3a26a10f","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.2.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"8c9bfca42cb740020e38d5178dfe6f9a3a26a10f","size":17573,"noattachment":false,"key":"/sander/-/sander-0.3.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/sander/download/sander-0.3.7.tgz"},"maintainers":[{"name":"rich_harris","email":""}],"directories":{},"publish_time":1443199162532,"_cnpm_publish_time":1443199162532,"_hasShrinkwrap":false},"0.3.6":{"name":"sander","description":"Promise-based power tool for common filesystem tasks","author":{"name":"Rich Harris"},"version":"0.3.6","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rich-harris/sander.git"},"dependencies":{"es6-promise":"^2.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8","graceful-fs":"^3.0.4"},"main":"dist/sander.js","jsnext:main":"src/sander.js","devDependencies":{"buffer-crc32":"^0.2.3","gobble":"^0.9.2","gobble-babel":"^5.1.0","gobble-cli":"^0.4.1","gobble-esperanto-bundle":"^0.1.7","mocha":"^2.2.4"},"scripts":{"test":"mocha","pretest":"npm run build","build":"gobble build -f dist","prepublish":"npm run build && npm test"},"files":["src","dist","README.md"],"gitHead":"e96d6c5ee101f2b83505b2e31e4399ff0e136412","bugs":{"url":"https://github.com/rich-harris/sander/issues"},"homepage":"https://github.com/rich-harris/sander#readme","_id":"sander@0.3.6","_shasum":"d4db784cf3e391285b15843d67b83dd98b07d66c","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.2.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"d4db784cf3e391285b15843d67b83dd98b07d66c","size":17529,"noattachment":false,"key":"/sander/-/sander-0.3.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/sander/download/sander-0.3.6.tgz"},"maintainers":[{"name":"rich_harris","email":""}],"directories":{},"publish_time":1443129604869,"_cnpm_publish_time":1443129604869,"_hasShrinkwrap":false},"0.3.5":{"name":"sander","description":"Promise-based power tool for common filesystem tasks","author":{"name":"Rich Harris"},"version":"0.3.5","license":"MIT","repository":{"type":"git","url":"https://github.com/rich-harris/sander"},"dependencies":{"es6-promise":"^2.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8","graceful-fs":"^3.0.4"},"main":"dist/sander.js","jsnext:main":"src/sander.js","devDependencies":{"buffer-crc32":"^0.2.3","gobble":"^0.9.2","gobble-babel":"^5.1.0","gobble-cli":"^0.4.1","gobble-esperanto-bundle":"^0.1.7","mocha":"^2.2.4"},"scripts":{"test":"mocha","pretest":"npm run build","build":"gobble build -f dist","prepublish":"npm run build && npm test"},"files":["src","dist","README.md"],"gitHead":"3c2c2207dc3135d451b3f48a8f00c37c522fd27a","bugs":{"url":"https://github.com/rich-harris/sander/issues"},"homepage":"https://github.com/rich-harris/sander","_id":"sander@0.3.5","_shasum":"4e8aae042cdc664eeaeb545b16f2a17183600f1e","_from":".","_npmVersion":"2.5.1","_nodeVersion":"1.2.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"maintainers":[{"name":"rich_harris","email":""}],"dist":{"shasum":"4e8aae042cdc664eeaeb545b16f2a17183600f1e","size":17431,"noattachment":false,"key":"/sander/-/sander-0.3.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/sander/download/sander-0.3.5.tgz"},"directories":{},"publish_time":1439938211087,"_cnpm_publish_time":1439938211087,"_hasShrinkwrap":false},"0.3.4":{"name":"sander","description":"Promise-based power tool for common filesystem tasks","author":{"name":"Rich Harris"},"version":"0.3.4","license":"MIT","repository":{"type":"git","url":"https://github.com/rich-harris/sander"},"dependencies":{"es6-promise":"^2.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8","graceful-fs":"^3.0.4"},"main":"dist/sander.js","jsnext:main":"src/sander.js","devDependencies":{"buffer-crc32":"^0.2.3","gobble":"^0.9.2","gobble-babel":"^5.1.0","gobble-cli":"^0.4.1","gobble-esperanto-bundle":"^0.1.7","mocha":"^2.2.4"},"scripts":{"test":"mocha","pretest":"npm run build","build":"gobble build -f dist","prepublish":"npm run build && npm test"},"files":["src","dist","README.md"],"gitHead":"33b49062701adf7df3f32f964185fed01fd58854","bugs":{"url":"https://github.com/rich-harris/sander/issues"},"homepage":"https://github.com/rich-harris/sander","_id":"sander@0.3.4","_shasum":"86f24ecf043066dac891fad61b59261e98cb6de6","_from":".","_npmVersion":"2.5.1","_nodeVersion":"1.2.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"maintainers":[{"name":"rich_harris","email":""}],"dist":{"shasum":"86f24ecf043066dac891fad61b59261e98cb6de6","size":17158,"noattachment":false,"key":"/sander/-/sander-0.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/sander/download/sander-0.3.4.tgz"},"directories":{},"publish_time":1432222554026,"_cnpm_publish_time":1432222554026,"_hasShrinkwrap":false},"0.3.3":{"name":"sander","description":"Promise-based power tool for common filesystem tasks","author":{"name":"Rich Harris"},"version":"0.3.3","license":"MIT","repository":{"type":"git","url":"https://github.com/rich-harris/sander"},"dependencies":{"es6-promise":"^2.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8","graceful-fs":"^3.0.4"},"main":"dist/sander.js","jsnext:main":"src/sander.js","devDependencies":{"buffer-crc32":"^0.2.3","gobble":"^0.9.2","gobble-babel":"^5.1.0","gobble-cli":"^0.4.1","gobble-esperanto-bundle":"^0.1.7","mocha":"^2.2.4"},"scripts":{"test":"mocha","build":"gobble build -f dist","prepublish":"npm run build; npm test"},"files":["src","dist","README.md"],"gitHead":"d6d4fb663f8c6847a72a9841cd1e3ef808753562","bugs":{"url":"https://github.com/rich-harris/sander/issues"},"homepage":"https://github.com/rich-harris/sander","_id":"sander@0.3.3","_shasum":"21cd3e87ad570c18791af60d207237a5a254f0d3","_from":".","_npmVersion":"2.5.1","_nodeVersion":"1.2.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"maintainers":[{"name":"rich_harris","email":""}],"dist":{"shasum":"21cd3e87ad570c18791af60d207237a5a254f0d3","size":16892,"noattachment":false,"key":"/sander/-/sander-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/sander/download/sander-0.3.3.tgz"},"directories":{},"publish_time":1430951099307,"_cnpm_publish_time":1430951099307,"_hasShrinkwrap":false},"0.3.2":{"name":"sander","description":"Promise-based power tool for common filesystem tasks","author":{"name":"Rich Harris"},"version":"0.3.2","license":"MIT","repository":{"type":"git","url":"https://github.com/rich-harris/sander"},"dependencies":{"es6-promise":"^2.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8","graceful-fs":"^3.0.4"},"main":"dist/sander.js","jsnext:main":"src/sander.js","devDependencies":{"buffer-crc32":"^0.2.3","gobble":"^0.9.2","gobble-babel":"^5.1.0","gobble-cli":"^0.4.1","gobble-esperanto-bundle":"^0.1.7","mocha":"^2.2.4"},"scripts":{"test":"mocha","build":"gobble build -f dist","prepublish":"npm run build; npm test"},"files":["src","dist","README.md"],"gitHead":"4df3c021997c89a25a6f4a17fe2e8ff09a88cd4a","bugs":{"url":"https://github.com/rich-harris/sander/issues"},"homepage":"https://github.com/rich-harris/sander","_id":"sander@0.3.2","_shasum":"c61785da9e465f67d245e74ef05885df58549d01","_from":".","_npmVersion":"2.5.1","_nodeVersion":"1.2.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"maintainers":[{"name":"rich_harris","email":""}],"dist":{"shasum":"c61785da9e465f67d245e74ef05885df58549d01","size":16656,"noattachment":false,"key":"/sander/-/sander-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/sander/download/sander-0.3.2.tgz"},"directories":{},"publish_time":1430927659700,"_cnpm_publish_time":1430927659700,"_hasShrinkwrap":false},"0.3.1":{"name":"sander","description":"Promise-based power tool for common filesystem tasks","author":{"name":"Rich Harris"},"version":"0.3.1","license":"MIT","repository":{"type":"git","url":"https://github.com/rich-harris/sander"},"dependencies":{"es6-promise":"^2.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8","graceful-fs":"^3.0.4"},"main":"dist/sander.js","jsnext:main":"src/sander.js","devDependencies":{"buffer-crc32":"^0.2.3","gobble":"^0.9.2","gobble-babel":"^5.1.0","gobble-cli":"^0.4.1","gobble-esperanto-bundle":"^0.1.7","mocha":"^2.2.4"},"scripts":{"test":"mocha","build":"gobble build -f dist","prepublish":"npm run build; npm test"},"files":["src","dist","README.md"],"gitHead":"4d04cea36a2d9b3ed7ad0d8b24c3924dbf7732a9","bugs":{"url":"https://github.com/rich-harris/sander/issues"},"homepage":"https://github.com/rich-harris/sander","_id":"sander@0.3.1","_shasum":"34951c921d8309c9c4639e4e263f24a76aaeae46","_from":".","_npmVersion":"2.5.1","_nodeVersion":"1.2.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"maintainers":[{"name":"rich_harris","email":""}],"dist":{"shasum":"34951c921d8309c9c4639e4e263f24a76aaeae46","size":16576,"noattachment":false,"key":"/sander/-/sander-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/sander/download/sander-0.3.1.tgz"},"directories":{},"publish_time":1430847957513,"_cnpm_publish_time":1430847957513,"_hasShrinkwrap":false},"0.3.0":{"name":"sander","description":"Promise-based power tool for common filesystem tasks","author":{"name":"Rich Harris"},"version":"0.3.0","license":"MIT","repository":{"type":"git","url":"https://github.com/rich-harris/sander"},"dependencies":{"es6-promise":"^2.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8","graceful-fs":"^3.0.4"},"main":"dist/sander.js","jsnext:main":"src/sander.js","devDependencies":{"buffer-crc32":"^0.2.3","gobble":"^0.9.2","gobble-babel":"^5.1.0","gobble-cli":"^0.4.1","gobble-esperanto-bundle":"^0.1.7","mocha":"^2.2.4"},"scripts":{"test":"mocha","build":"gobble build -f dist","prepublish":"npm run build; npm test"},"gitHead":"be9e7347e881d2bbd73d3e2b2e2af33c22f2e11e","bugs":{"url":"https://github.com/rich-harris/sander/issues"},"homepage":"https://github.com/rich-harris/sander","_id":"sander@0.3.0","_shasum":"3de21bdfac6556c5cc9f14d50e54602d9110d0ec","_from":".","_npmVersion":"2.5.1","_nodeVersion":"1.2.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"maintainers":[{"name":"rich_harris","email":""}],"dist":{"shasum":"3de21bdfac6556c5cc9f14d50e54602d9110d0ec","size":8446,"noattachment":false,"key":"/sander/-/sander-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/sander/download/sander-0.3.0.tgz"},"directories":{},"publish_time":1430778424620,"_cnpm_publish_time":1430778424620,"_hasShrinkwrap":false},"0.2.4":{"name":"sander","description":"Promise-based power tool for common filesystem tasks","author":{"name":"Rich Harris"},"version":"0.2.4","license":"MIT","repository":{"type":"git","url":"https://github.com/rich-harris/sander"},"dependencies":{"es6-promise":"^2.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8","graceful-fs":"^3.0.4"},"main":"lib/index.js","devDependencies":{"buffer-crc32":"^0.2.3"},"scripts":{"test":"node test/index.js"},"gitHead":"3c3b4e9ca036c2cd181860b581aeae0d03ee4786","bugs":{"url":"https://github.com/rich-harris/sander/issues"},"homepage":"https://github.com/rich-harris/sander","_id":"sander@0.2.4","_shasum":"1dc6ba6acf7969a4304ef7f1349081a57fe3502f","_from":".","_npmVersion":"2.5.1","_nodeVersion":"1.2.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"maintainers":[{"name":"rich_harris","email":""}],"dist":{"shasum":"1dc6ba6acf7969a4304ef7f1349081a57fe3502f","size":6531,"noattachment":false,"key":"/sander/-/sander-0.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/sander/download/sander-0.2.4.tgz"},"directories":{},"publish_time":1430185991849,"_cnpm_publish_time":1430185991849,"_hasShrinkwrap":false},"0.2.3":{"name":"sander","description":"Promise-based power tool for common filesystem tasks","author":{"name":"Rich Harris"},"version":"0.2.3","license":"MIT","repository":{"type":"git","url":"https://github.com/rich-harris/sander"},"dependencies":{"es6-promise":"^2.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8","graceful-fs":"^3.0.4"},"main":"lib/index.js","devDependencies":{"buffer-crc32":"^0.2.3"},"scripts":{"test":"node test/index.js"},"gitHead":"f3429a9c7ad1915be0127f6306a8edce8439b29e","bugs":{"url":"https://github.com/rich-harris/sander/issues"},"homepage":"https://github.com/rich-harris/sander","_id":"sander@0.2.3","_shasum":"ea90c78ccd0b1b9bfb22aedd8da02ae2f33d30c0","_from":".","_npmVersion":"2.5.1","_nodeVersion":"1.2.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"maintainers":[{"name":"rich_harris","email":""}],"dist":{"shasum":"ea90c78ccd0b1b9bfb22aedd8da02ae2f33d30c0","size":6378,"noattachment":false,"key":"/sander/-/sander-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/sander/download/sander-0.2.3.tgz"},"directories":{},"publish_time":1429370212907,"_cnpm_publish_time":1429370212907,"_hasShrinkwrap":false},"0.2.2":{"name":"sander","description":"Promise-based power tool for common filesystem tasks","author":{"name":"Rich Harris"},"version":"0.2.2","dependencies":{"es6-promise":"^2.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8","graceful-fs":"^3.0.4"},"main":"lib/index.js","devDependencies":{"buffer-crc32":"^0.2.3"},"gitHead":"51b8b9ba4ccf145d0de74cf989014f9dca6c039c","_id":"sander@0.2.2","scripts":{},"_shasum":"bb4a7d91fa98247fce464c065231573799bbc432","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"maintainers":[{"name":"rich_harris","email":""}],"dist":{"shasum":"bb4a7d91fa98247fce464c065231573799bbc432","size":6331,"noattachment":false,"key":"/sander/-/sander-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/sander/download/sander-0.2.2.tgz"},"directories":{},"publish_time":1420999407849,"_cnpm_publish_time":1420999407849,"_hasShrinkwrap":false},"0.2.1":{"name":"sander","description":"Promise-based power tool for common filesystem tasks","author":{"name":"Rich Harris"},"version":"0.2.1","dependencies":{"es6-promise":"^1.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8","graceful-fs":"^3.0.4"},"main":"lib/index.js","devDependencies":{"buffer-crc32":"^0.2.3"},"gitHead":"03ac2e857944866145895d9cf9e67a69e5006357","_id":"sander@0.2.1","scripts":{},"_shasum":"32610dd7999eb369335ab0f7b12590643f86529a","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"maintainers":[{"name":"rich_harris","email":""}],"dist":{"shasum":"32610dd7999eb369335ab0f7b12590643f86529a","size":6364,"noattachment":false,"key":"/sander/-/sander-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/sander/download/sander-0.2.1.tgz"},"directories":{},"publish_time":1415639581370,"_cnpm_publish_time":1415639581370,"_hasShrinkwrap":false},"0.2.0":{"name":"sander","description":"Promise-based power tool for common filesystem tasks","author":{"name":"Rich Harris"},"version":"0.2.0","dependencies":{"es6-promise":"^1.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8","graceful-fs":"^3.0.4"},"main":"lib/index.js","devDependencies":{"buffer-crc32":"^0.2.3"},"_id":"sander@0.2.0","dist":{"shasum":"25398989b835fae427c97998917536a64655ba1b","size":6176,"noattachment":false,"key":"/sander/-/sander-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/sander/download/sander-0.2.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"maintainers":[{"name":"rich_harris","email":""}],"directories":{},"publish_time":1414094064021,"_cnpm_publish_time":1414094064021,"_hasShrinkwrap":false},"0.1.6":{"name":"sander","description":"Promise-based power tool for common filesystem tasks","author":{"name":"Rich Harris"},"version":"0.1.6","dependencies":{"es6-promise":"^1.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8"},"main":"lib/index.js","devDependencies":{"buffer-crc32":"^0.2.3"},"gitHead":"6ff4ddacd14f96b765ee81995c8138355c75857a","_id":"sander@0.1.6","scripts":{},"_shasum":"4398e0a1177a3ae8d56268c0f64f70a043d61408","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"maintainers":[{"name":"rich_harris","email":""}],"dist":{"shasum":"4398e0a1177a3ae8d56268c0f64f70a043d61408","size":5993,"noattachment":false,"key":"/sander/-/sander-0.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/sander/download/sander-0.1.6.tgz"},"directories":{},"publish_time":1413131510655,"_cnpm_publish_time":1413131510655,"_hasShrinkwrap":false},"0.1.5":{"name":"sander","description":"Promise-based power tool for common filesystem tasks","author":{"name":"Rich Harris"},"version":"0.1.5","dependencies":{"es6-promise":"^1.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8"},"main":"lib/index.js","devDependencies":{"buffer-crc32":"^0.2.3"},"gitHead":"d0183b1a82085921d86e93bf5527b733bfdab2f8","_id":"sander@0.1.5","scripts":{},"_shasum":"9f9f603dadd54752c6881e6a08f8df14e1df4375","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"maintainers":[{"name":"rich_harris","email":""}],"dist":{"shasum":"9f9f603dadd54752c6881e6a08f8df14e1df4375","size":5936,"noattachment":false,"key":"/sander/-/sander-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/sander/download/sander-0.1.5.tgz"},"directories":{},"publish_time":1411867617522,"_cnpm_publish_time":1411867617522,"_hasShrinkwrap":false},"0.1.3":{"name":"sander","description":"Promise-based power tool for common filesystem tasks","author":{"name":"Rich Harris"},"version":"0.1.3","dependencies":{"es6-promise":"^1.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8"},"main":"lib/index.js","devDependencies":{"buffer-crc32":"^0.2.3"},"_id":"sander@0.1.3","dist":{"shasum":"f3422824039c4e12f99563b88f4ae8c4d77de227","size":5902,"noattachment":false,"key":"/sander/-/sander-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/sander/download/sander-0.1.3.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"maintainers":[{"name":"rich_harris","email":""}],"directories":{},"publish_time":1411764616037,"_cnpm_publish_time":1411764616037,"_hasShrinkwrap":false},"0.1.2":{"name":"sander","description":"Promise-based power tool for common filesystem tasks","author":{"name":"Rich Harris"},"version":"0.1.2","dependencies":{"es6-promise":"^1.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8"},"main":"lib/index.js","_id":"sander@0.1.2","dist":{"shasum":"f0dbc3ade26831656dcf8660fc369d5b4e0097b9","size":4887,"noattachment":false,"key":"/sander/-/sander-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/sander/download/sander-0.1.2.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"maintainers":[{"name":"rich_harris","email":""}],"directories":{},"publish_time":1411759727736,"_cnpm_publish_time":1411759727736,"_hasShrinkwrap":false},"0.1.1":{"name":"sander","description":"Promise-based power tool for common filesystem tasks","author":{"name":"Rich Harris"},"version":"0.1.1","dependencies":{"es6-promise":"^1.0.0","mkdirp":"^0.5.0"},"main":"lib/index.js","gitHead":"0c703a686a997b811b5c0806ad8d5a06f965cf92","_id":"sander@0.1.1","scripts":{},"_shasum":"a33c0523047dc8a232065acde680b51ca30141ec","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"maintainers":[{"name":"rich_harris","email":""}],"dist":{"shasum":"a33c0523047dc8a232065acde680b51ca30141ec","size":4820,"noattachment":false,"key":"/sander/-/sander-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/sander/download/sander-0.1.1.tgz"},"directories":{},"publish_time":1410660882351,"_cnpm_publish_time":1410660882351,"_hasShrinkwrap":false},"0.1.0":{"name":"sander","description":"Promise-based power tool for common filesystem tasks","author":{"name":"Rich Harris"},"version":"0.1.0","dependencies":{"es6-promise":"^1.0.0","mkdirp":"^0.5.0"},"main":"lib/index.js","gitHead":"8b8253883576607e7abddf098381c70947501c51","_id":"sander@0.1.0","scripts":{},"_shasum":"8bb90054d1353232b486b7b772555b9e5a20764e","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"maintainers":[{"name":"rich_harris","email":""}],"dist":{"shasum":"8bb90054d1353232b486b7b772555b9e5a20764e","size":4475,"noattachment":false,"key":"/sander/-/sander-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/sander/download/sander-0.1.0.tgz"},"directories":{},"publish_time":1410645484256,"_cnpm_publish_time":1410645484256,"_hasShrinkwrap":false}},"readme":"# sander\n\nA Promise-based power tool for common filesystem tasks in node.js.\n\n## Installation\n\n```bash\nnpm install sander\n```\n\n## Another wrapper around `fs`? Really?\n\nYup. Working with the low-level `fs` API is the fastest road to callback hell, and while a lot of the existing `fs` wrappers add a whole load of missing features, they don't really mitigate the fundamental suckiness of working with the filesystem in a painful, imperative way, which forces you to handle errors at every step of the journey towards the centre of the node.js [pyramid of doom](http://stackoverflow.com/search?q=pyramid+of+doom).\n\n**Enough! Manual filing is tedious - you need a power tool.** Instead of writing this...\n\n```js\nvar path = require( 'path' ),\n    fs = require( 'fs' ),\n    mkdirp = require( 'mkdirp' );\n\nvar dest = path.resolve( basedir, filename );\n\nmkdirp( path.dirname( dest ), function ( err ) {\n  if ( err ) throw err;\n\n  fs.writeFile( dest, data, function ( err ) {\n    if ( err ) throw err;\n    doTheNextThing();\n  });\n});\n```\n\n...write this:\n\n```js\nvar sander = require( 'sander' );\nsander.writeFile( basedir, filename, data ).then( doTheNextThing );\n```\n\nIt uses [graceful-fs](https://github.com/isaacs/node-graceful-fs) rather than the built-in `fs` module, to eliminate [EMFILE](http://blog.izs.me/post/56827866110/wtf-is-emfile-and-why-does-it-happen-to-me) from the list of things you have to worry about.\n\n\n## Conventions\n\n### Promises\n\nAll async methods (those whose `fs` equivalents would take a callback, e.g. `sander.readFile`) return a Promise. If you're not familiar with Promises, [read up on them on MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) - they're coming in ES6 and are already supported in many browsers, and I guarantee they'll make your life easier.\n\n(Node doesn't natively support promises yet - we're using [es6-promise](https://github.com/jakearchibald/es6-promise) for maximum compatibility. For convenience, the `Promise` constructor is exposed as `sander.Promise`.)\n\n### Intermediate folder creation\n\nWhen writing files and folders, intermediate folders are automatically created as necessary. (I've never encountered a situation where I wanted an `ENOENT` error instead of having this be done for me.)\n\n### Automatic path resolution\n\nWherever appropriate, method arguments are joined together with `path.resolve()` - so the following are equivalent:\n\n```js\nsander.readFile( 'foo', 'bar', 'baz' );\nsander.readFile( path.resolve( 'foo', 'bar', 'baz' ) );\nsander.readFile( 'foo/bar/baz' ); // or 'foo\\bar\\baz' on Windows\n```\n\n### Methods that involve two paths\n\nSome operations, such as renaming files, require two paths to be specified. The convention for handling this in sander is as follows:\n\n```js\nsander.rename( basedir, oldname ).to( basedir, newname );\n```\n\n\n\n## Methods\n\n### `fs` methods\n\nIn addition to the extra methods (listed below), all `fs` methods have `sander` equivalents. The synchronous methods (those ending `Sync`) are the same as the `fs` originals except that path resolution and intermediate folder creation are automatically handled (see [conventions](#conventions), above). All async methods return a promise.\n\nFor more information about what these methods do, consult the [node documentation](http://nodejs.org/api/fs.html).\n\nIn the list below, `...paths` indicates you can use one or more strings in sequence, as per the [automatic path resolution](#automatic-path-resolution) convention. An `fd` argument refers to a file descriptor, which you'd generate with `sander.open()` or `sander.openSync()`. Arguments wrapped in `[]` characters are optional.\n\n```js\nsander.appendFile(...paths, data, [options])\nsander.appendFileSync(...paths, data, [options])\nsander.chmod(...paths, {mode: mode})\nsander.chmodSync(...paths, {mode: mode})\nsander.chown(...paths, uid, gid)\nsander.chownSync(...paths, uid, gid)\nsander.close(fd)\nsander.closeSync(fd)\nsander.createReadStream(...paths, [options])\nsander.createWriteStream(...paths, [options])\nsander.exists(...paths)\nsander.existsSync(...paths)\nsander.fchmod(fd, {mode: mode})\nsander.fchmodSync(fd, {mode: mode})\nsander.fchown(fd, uid, gid)\nsander.fchownSync(fd, uid, gid)\nsander.fstat(fd)\nsander.fstatSync(fd)\nsander.fsync(fd)\nsander.fsyncSync(fd)\nsander.ftruncate(fd, len)\nsander.ftruncateSync(fd, len)\nsander.futimes(fd, atime, mtime)\nsander.futimesSync(fd, atime, mtime)\nsander.lchmod(...paths, {mode: mode})\nsander.lchmodSync(...paths, {mode: mode})\nsander.lchown(...paths, uid, gid)\nsander.lchownSync(...paths, uid, gid)\nsander.link(...paths).to(...paths)\nsander.linkSync(...paths).to(...paths)\nsander.lstat(...paths)\nsander.lstatSync(...paths)\nsander.mkdir(...paths, [{mode: mode}])\nsander.mkdirSync(...paths, [{mode: mode}])\nsander.open(...paths, flags, [{mode: mode}])\nsander.openSync(...paths, flags, [{mode: mode}])\nsander.read(fd, buffer, offset, length, position)\nsander.readSync(fd, buffer, offset, length, position)\nsander.readdir(...paths)\nsander.readdirSync(...paths)\nsander.readFile(...paths, [options])\nsander.readFileSync(...paths, [options])\nsander.readlink(...paths)\nsander.readlinkSync(...paths)\nsander.realpath(...paths, [cache])\nsander.realpathSync(...paths, [cache])\nsander.rename(...paths).to(...paths)\nsander.renameSync(...paths).to(...paths)\nsander.rmdir(...paths)\nsander.rmdirSync(...paths)\nsander.stat(...paths)\nsander.statSync(...paths)\nsander.symlink(...paths).to(...paths, [{type: type}])\nsander.symlinkSync(...paths).to(...paths, [{type: type}])\nsander.truncate(...paths, len)\nsander.truncateSync(...paths, len)\nsander.unlink(...paths)\nsander.unlinkSync(...paths)\nsander.utimes(...paths, atime, mtime)\nsander.utimesSync(...paths, atime, mtime)\nsander.unwatchFile(...paths, [listener])\nsander.watch(...paths, [options], [listener])\nsander.watchFile(...paths, [options], listener)\nsander.write(fd, buffer, offset, length, position)\nsander.writeSync(fd, buffer, offset, length, position)\nsander.writeFile(...paths, data, [options])\nsander.writeFileSync(...paths, data, [options])\n```\n\nNote that with the `chmod`/`fchmod`/`lchmod`/`symlink`/`mkdir`/`open` methods (and their synchronous equivalents), the `mode` and `type` arguments must be passed as objects with a `mode` or `type` property. This is so that sander knows which arguments should be treated as parts of a path (because they're strings) and which shouldn't.\n\nThe same is true for methods like `readFile` - whereas in node you can do `fs.readFile('path/to/file.txt', 'utf-8')` if you want to specify utf-8 encoding, with sander the final argument should be a `{encoding: 'utf-8'}` object.\n\n\n### Extra methods\n\n```js\n// Copy a file using streams. `readOptions` is passed to `fs.createReadStream`,\n// while `writeOptions` is passed to `fs.createWriteStream`\nsander.copyFile(...paths, [readOptions]).to(...paths, [writeOptions])\n\n// Copy a file synchronously. `readOptions`, is passed to `fs.readFileSync`,\n// while `writeOptions` is passed to `fs.writeFileSync`\nsander.copyFileSync(...paths, [readOptions]).to(...paths, [writeOptions])\n\n// Copy a directory, recursively. `readOptions` and `writeOptions` are\n// treated as per `sander.copyFile[Sync]`\nsander.copydir(...paths, [readOptions]).to(...paths, [writeOptions])\nsander.copydirSync(...paths, [readOptions]).to(...paths, [writeOptions])\n\n// List contents of a directory, recursively\nsander.lsr(...paths)\nsander.lsrSync(...paths)\n\n// Remove a directory and its contents\nsander.rimraf(...paths)\nsander.rimrafSync(...paths)\n\n// Symlink a file or directory, unless we're on Windows in which\n// case fall back to copying to avoid permissions issues\nsander.symlinkOrCopy(...paths).to(...paths);\nsander.symlinkOrCopySync(...paths).to(...paths);\n```\n\n\n### License\n\nMIT\n\n","_attachments":{},"homepage":"https://github.com/rich-harris/sander#readme","bugs":{"url":"https://github.com/rich-harris/sander/issues"},"license":"MIT"}