{"_id":"remove","_rev":"20-81653ea44b91ef92469e0b62131778e4","name":"remove","description":"Sync and async rm -r.","dist-tags":{"latest":"0.1.5"},"versions":{"0.1.0":{"name":"remove","version":"0.1.0","description":"Sync and async rm -r.","homepage":"http://dsc.github.com/node-remove/","keywords":["util","server","files","fs","rm"],"author":{"name":"David Schoonover","email":"dsc@less.ly","url":"http://less.ly"},"dependencies":{"seq":">= 0.3.5"},"devDependencies":{"coco":">= 0.7.0","expresso":">= 0.9.2"},"scripts":{"test":"expresso"},"repository":{"type":"git","url":"git://github.com/dsc/node-remove.git"},"bugs":{"url":"http://github.com/dsc/node-remove/issues"},"engine":{"node":">=0.6.2"},"license":"MIT","_npmUser":{"name":"dsc","email":"dsc@less.ly"},"_id":"remove@0.1.0","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.105","_nodeVersion":"v0.6.8","_defaultsLoaded":true,"dist":{"shasum":"d220d1ee1c481cb991ab852c5a24604e64c23e2e","tarball":"https://registry.npmjs.org/remove/-/remove-0.1.0.tgz","integrity":"sha512-V2HkGxvMLQwUtrzWFyIcsk1hALe9vg+QANwR0hHbDtJN572cVsUFZZ24Jwy4Pym8fa1PQoqagOce2ne4Oq1dyw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4RaoiFQOsGCdhStKLZTMIG3RrlvAO9yRqCb+LTpL2RQIhAIfR64+g4mp7/IMuW71Cdy+cu7ix2i7w0Asyzm9RkQwg"}]},"maintainers":[{"name":"dsc","email":"dsc@less.ly"}],"directories":{}},"0.1.1":{"name":"remove","version":"0.1.1","description":"Sync and async rm -r.","homepage":"http://github.com/dsc/node-remove","keywords":["util","server","files","fs","rm","remove","delete","recursive"],"author":{"name":"David Schoonover","email":"dsc@less.ly","url":"http://less.ly"},"dependencies":{"seq":">= 0.3.5"},"devDependencies":{"coco":">= 0.7.0","expresso":">= 0.9.2"},"scripts":{"test":"expresso"},"repository":{"type":"git","url":"git://github.com/dsc/node-remove.git"},"bugs":{"url":"http://github.com/dsc/node-remove/issues"},"engine":{"node":">=0.6.2"},"license":"MIT","_npmUser":{"name":"dsc","email":"dsc@less.ly"},"_id":"remove@0.1.1","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.105","_nodeVersion":"v0.6.8","_defaultsLoaded":true,"dist":{"shasum":"b831ac8429c3c07b415f524dd10c56187461b5f8","tarball":"https://registry.npmjs.org/remove/-/remove-0.1.1.tgz","integrity":"sha512-QFEtvrQK/TN+BIZBoO2Zbs4byaJbIh1cgQydCUPdFAP+C3yjo9+SvonM1tw1OC+zD0PZzbIkmRYlAJwIAZQ6Bg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBRoePb6ls9F1W5f8WRN4foDKjJ5grwP0lZ+AFH1cVdXAiBDtuPmhmQsuhvR2CK2XfXc7jSgLGU51ZWIRoozMz4CPw=="}]},"maintainers":[{"name":"dsc","email":"dsc@less.ly"}],"directories":{}},"0.1.2":{"name":"remove","version":"0.1.2","description":"Sync and async rm -r.","homepage":"http://github.com/dsc/node-remove","keywords":["util","server","files","fs","rm","remove","delete","recursive"],"author":{"name":"David Schoonover","email":"dsc@less.ly","url":"http://less.ly"},"dependencies":{"seq":">= 0.3.5"},"devDependencies":{"coco":">= 0.7.0","expresso":">= 0.9.2"},"scripts":{"test":"expresso"},"repository":{"type":"git","url":"git://github.com/dsc/node-remove.git"},"bugs":{"url":"http://github.com/dsc/node-remove/issues"},"engine":{"node":">=0.6.x"},"license":"MIT","_npmUser":{"name":"dsc","email":"dsc@less.ly"},"_id":"remove@0.1.2","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.105","_nodeVersion":"v0.6.8","_defaultsLoaded":true,"dist":{"shasum":"b1c580b2f4a651df29caac0b0a51b404c98a364f","tarball":"https://registry.npmjs.org/remove/-/remove-0.1.2.tgz","integrity":"sha512-aeJWiuUUSqSfJDeVrioHzX1zrCFjE/mps63OJ+zytBOPkB2lTgA2nRoq4diRlEwefEzKwekpymo7yx2Anp6yaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLVdKK1O38+giZHnN5L1C7HV7xNK8kW9aZQWQgaxPscwIgZ9VIIDMCaQ1pHPH7/fxpsjzTZECqDeEltJkyDzswthE="}]},"maintainers":[{"name":"dsc","email":"dsc@less.ly"}],"directories":{}},"0.1.5":{"name":"remove","version":"0.1.5","description":"Sync and async rm -r.","homepage":"http://github.com/dsc/node-remove","keywords":["util","server","files","fs","rm","remove","delete","recursive"],"author":{"name":"David Schoonover","email":"dsc@less.ly","url":"http://less.ly"},"dependencies":{"seq":">= 0.3.5"},"devDependencies":{"coco":">= 0.7.0","expresso":">= 0.9.2","mkdirp":">= 0.3.2"},"scripts":{"test":"expresso"},"repository":{"type":"git","url":"git://github.com/dsc/node-remove.git"},"bugs":{"url":"http://github.com/dsc/node-remove/issues"},"engine":{"node":">=0.6.2"},"license":"MIT","readme":"# node-remove\n\nSync and async versions of `rm -r`, handling both files and directories (something astonishingly missing from `fs`).\n\n````js\nvar remove = require('remove');\n\n// Asynchronous\nremove('/home/esr', function(err){\n    if (err) console.error(err);\n    else     console.log('success!');\n});\n\n// Synchronous\ntry {\n    remove.removeSync('/home/esr');\n    console.log('success!');\n} catch (err) {\n    console.error(err);\n}\n````\n\n\n## Installation\n\nVia [npm](http://npmjs.org/):\n\n````sh\nnpm install remove\n````\n\nOr if you want to hack on the source:\n\n````sh\ngit clone https://github.com/dsc/node-remove.git\ncd node-remove\nnpm link\n````\n\n\n## API\n\n### remove(paths, [options], cb) -> void\n### remove.removeAsync(paths, [options], cb) -> void\n\nAsynchronously and recursively remove files and/or directories.\n\n- **paths** *String | Array&lt;String&gt;* &mdash; Path or paths to remove.\n- **options** *Object* &mdash; Options object:\n    - **verbose** : `false` *Boolean* &mdash; Log all errors and print each path just before it's removed.\n    - **sequential** : `false` *Boolean* &mdash; If true, remove the supplied paths sequentially, such that an unsuppressed error would short-circuit further deletes.\n    - **ignoreErrors** : `false` *Boolean* &mdash; If false, halt as soon as possible after an error occurs and invoke the callback. When operating in `sequential` mode, this implies an error removing the first of several paths would halt before touching the rest. If set, `ignoreErrors` overrides `ignoreMissing`.\n    - **ignoreMissing** : `false` *Boolean* &mdash; Whether to treat missing paths as errors.\n- **callback** *Function* &mdash; Completion callback, invoked with null on success and the error on failure.\n\n\n### removeSync(paths, [options]) -> void\n\nSynchronously and recursively remove files and/or directories.\n\n- **paths** *String | Array&lt;String&gt;* &mdash; Path or paths to remove.\n- **options** *Object* &mdash; Options (all optional):\n    - **verbose** : `false` *Boolean* &mdash; Log all errors and print each path just before it's removed.\n    - **ignoreErrors** : `false` *Boolean* &mdash; If false, halt as soon as possible after an error occurs and invoke the callback. This implies an error removing the first of several paths would halt before touching the rest. If set, `ignoreErrors` overrides `ignoreMissing`.\n    - **ignoreMissing** : `false` *Boolean* &mdash; Whether to treat missing paths as errors.\n\n\n## Feedback\n\nFind a bug or want to contribute? Open a ticket on [github](http://github.com/dsc/node-remove).\nYou're also welcome to send me email at [dsc@less.ly](mailto:dsc@less.ly?subject=node-remove).\n\n","_id":"remove@0.1.5","dist":{"shasum":"095ffd827d65c9f41ad97d33e416a75811079955","tarball":"https://registry.npmjs.org/remove/-/remove-0.1.5.tgz","npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh25q0CRA9TVsSAnZWagAAAmoP/3/htzHI/nnWBSJu6GjQ\nHXNJMr1KLJszKejxlhxrADd45gXDXoMqFK1QhHUEXiJ8asONYYEHC2W33tNu\nzRKcelVi9ZNUJC2JKZN3kscCkQ3h8YCaQHKAPLXmfSIJglDu1uB0bhJlB0YH\neMZaD2xK0VONbfkdjq0mJv3HtQziimStVB3Wjc57gBDyIfHutb0LU+9rcezx\ne+VFN87VWvEpLeKSWm9rGjLoNGwGdSZF1fIt1fBIPhZyemokTilczLqx6ac6\nQjiru6B/Gv4eQt2nD0Ew1FudQHNULEia/ijX+BoQ1iXjsdEvzoHnQdgQNXuJ\nEFpCx3KftKuyVOR6li/GyJWiVd0mEjhxOfQ8F8WrBUCH6xuX5OxppNIIQQc3\nZYpvcLqpd7z7SD/xo8jdNzZHe1ykwgohnAix5NxSI13mnGjljbdPaWIRrVEP\nxJ8bWm+h+k67a1CyfUgT3+DbaaaMStn3bv844Q7EjUV79cAwcHO0AWWW1eqL\nppq7K40cRLYmGv1NIs+Xz+iytzQPy430I7iO9S/v7iZjgfHhcsfR7WaS3o7j\nev+6K8PeIcJabB3n+1lea5o60ZznEBO5EfwmFY0RVNleKVkFubQsbJJ3poHz\najQXf0VnjgpIEbLaQalTUoYepUvktwj73qcJwNDuvBUMSZzPErP1l66W8hfo\nb2E6\r\n=Bbs3\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-AJMA9oWvJzdTjwIGwSQZsjGQiRx73YTmiOWmfCp1fpLa/D4n7jKcpoA+CZiVLJqKcEKUuh1Suq80c5wF+L/qVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHahEIb4wqeltlAssGaJLxvkQ4a3U2gTxO4jdgZV4tb0AiEA3HaEw0pDoODxAin3xO01GxEcZng0U3anjtM9RAeEvEk="}]},"maintainers":[{"name":"dsc","email":"dsc@less.ly"}],"directories":{}}},"readme":"# node-remove\n\nSync and async versions of `rm -r`, handling both files and directories.\n","maintainers":[{"name":"dsc","email":"dsc@less.ly"}],"time":{"modified":"2022-06-26T11:09:35.903Z","created":"2012-03-20T00:46:50.825Z","0.1.0":"2012-03-20T00:46:51.979Z","0.1.1":"2012-04-09T18:26:51.217Z","0.1.2":"2012-04-09T20:02:15.053Z","0.1.5":"2012-07-10T12:35:32.744Z"},"author":{"name":"David Schoonover","email":"dsc@less.ly","url":"http://less.ly"},"repository":{"type":"git","url":"git://github.com/dsc/node-remove.git"},"users":{"brianc":true,"dsc":true,"igorissen":true}}