{"_id":"@wrote/rm","_rev":"300348","name":"@wrote/rm","description":"A package to remove files and directories.","dist-tags":{"latest":"1.1.5"},"maintainers":[{"name":"zvr","email":""}],"time":{"modified":"2024-01-31T16:08:14.000Z","created":"2018-09-14T22:28:29.745Z","1.1.5":"2019-04-22T11:22:23.996Z","1.1.4":"2019-04-18T04:28:46.580Z","1.1.3":"2019-04-02T18:17:00.001Z","1.1.2":"2019-01-14T22:25:04.063Z","1.1.1":"2019-01-14T14:06:46.810Z","1.1.0":"2018-09-27T19:47:29.298Z","1.0.0":"2018-09-14T22:28:29.745Z"},"users":{},"author":{"name":"Anton","email":"anton@adc.sh"},"repository":{"type":"git","url":"git://github.com/wrote/rm.git"},"versions":{"1.1.5":{"name":"@wrote/rm","version":"1.1.5","description":"A package to remove files and directories.","main":"build/index.js","module":"src/index.js","scripts":{"t":"zoroaster -a","test":"yarn t test/spec test/mask","spec":"yarn t test/spec","mask":"yarn t test/mask","test-build":"ALAMODE_ENV=test-build yarn test","test-all":"yarn-s test test-build","test-watch":"yarn test -w","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","b":"alamode src -o build -s","d":"NODE_DEBUG=doc doc src/index.js -g","build":"yarn-s d b doc","rec":"NODE_DEBUG=appshot appshot -T 23 -a Terminal -y 150 -f","e":"alanode","example/":"yarn e example/example"},"repository":{"type":"git","url":"git://github.com/wrote/rm.git"},"keywords":["rm","wrote","filesystem","fs","files","file","directory","directories","dir","dirs","rimraf","erase","trash","bin","remove"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/wrote/rm/issues"},"homepage":"https://github.com/wrote/rm#readme","devDependencies":{"@wrote/clone":"^1.2.1","@wrote/ensure-path":"^1.0.8","alamode":"^1.9.3","documentary":"^1.24.1","eslint-config-artdeco":"1.0.1","temp-context":"^2.1.3","yarn-s":"1.1.0","zoroaster":"^3.11.6"},"dependencies":{"@wrote/read-dir-structure":"^1.2.0","makepromise":"^3.1.0"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@wrote/rm@1.1.5","dist":{"shasum":"8044b45fd599554f653a447f386a658ff1259f52","size":3367,"noattachment":false,"key":"/@wrote/rm/-/@wrote/rm-1.1.5.tgz","tarball":"http://name.csiicloud.com:7001/@wrote/rm/download/@wrote/rm-1.1.5.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rm_1.1.5_1555932143899_0.14481857648127594"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T19:18:20.682Z","publish_time":1555932143996,"_cnpm_publish_time":1555932143996},"1.1.4":{"name":"@wrote/rm","version":"1.1.4","description":"A package to remove files and directories.","main":"build/index.js","module":"src/index.js","scripts":{"t":"zoroaster -a","test":"yarn t test/spec test/mask","spec":"yarn t test/spec","mask":"yarn t test/mask","test-build":"ALAMODE_ENV=test-build yarn test","test-all":"yarn-s test test-build","test-watch":"yarn test -w","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","b":"alamode src -o build -s","d":"NODE_DEBUG=doc doc src/index.js -g","build":"yarn-s d b doc","rec":"NODE_DEBUG=appshot appshot -T 23 -a Terminal -y 150 -f","e":"alanode","example/":"yarn e example/example"},"repository":{"type":"git","url":"git://github.com/wrote/rm.git"},"keywords":["rm","wrote","filesystem","fs","files","file","directory","directories","dir","dirs","rimraf","erase","trash","bin","remove"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/wrote/rm/issues"},"homepage":"https://github.com/wrote/rm#readme","devDependencies":{"@wrote/clone":"^1.1.1","@wrote/ensure-path":"^1.0.7","alamode":"^1.9.3","documentary":"^1.23.4","eslint-config-artdeco":"1.0.1","temp-context":"^2.1.3","yarn-s":"1.1.0","zoroaster":"^3.11.6"},"dependencies":{"@wrote/read-dir-structure":"^1.2.0","makepromise":"^3.1.0"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@wrote/rm@1.1.4","dist":{"shasum":"f7ba271bc39b150a2961a67b09f71259157c3d84","size":3248,"noattachment":false,"key":"/@wrote/rm/-/@wrote/rm-1.1.4.tgz","tarball":"http://name.csiicloud.com:7001/@wrote/rm/download/@wrote/rm-1.1.4.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rm_1.1.4_1555561726472_0.5218587136444748"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T19:18:19.594Z","publish_time":1555561726580,"_cnpm_publish_time":1555561726580},"1.1.3":{"name":"@wrote/rm","version":"1.1.3","description":"A package to remove files and directories.","main":"build/index.js","module":"src/index.js","scripts":{"t":"zoroaster -a","test":"yarn t test/spec test/mask","spec":"yarn t test/spec","mask":"yarn t test/mask","test-build":"ALAMODE_ENV=test-build yarn test","test-all":"yarn-s test test-build","test-watch":"yarn test -w","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","b":"alamode src -o build -s","d":"NODE_DEBUG=doc doc src/index.js -g","build":"yarn-s d b doc","rec":"NODE_DEBUG=appshot appshot -T 23 -a Terminal -y 150 -f","e":"alanode","example/":"yarn e example/example"},"repository":{"type":"git","url":"git://github.com/wrote/rm.git"},"keywords":["rm","wrote","filesystem","fs","files","file","directory","directories","dir","dirs","rimraf","erase","trash","bin","remove"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/wrote/rm/issues"},"homepage":"https://github.com/wrote/rm#readme","devDependencies":{"@wrote/clone":"1.1.0","@wrote/ensure-path":"1.0.6","alamode":"1.9.0","documentary":"1.23.2","eslint-config-artdeco":"1.0.1","temp-context":"2.1.2","yarn-s":"1.1.0","zoroaster":"3.11.2"},"dependencies":{"@wrote/read-dir-structure":"1.0.3","makepromise":"3.0.3"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@wrote/rm@1.1.3","dist":{"shasum":"f7448585b36b1952d97bac2e0d2ed1bbec84a1ed","size":3205,"noattachment":false,"key":"/@wrote/rm/-/@wrote/rm-1.1.3.tgz","tarball":"http://name.csiicloud.com:7001/@wrote/rm/download/@wrote/rm-1.1.3.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rm_1.1.3_1554229019851_0.7763193632742049"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T19:18:17.960Z","publish_time":1554229020001,"_cnpm_publish_time":1554229020001},"1.1.2":{"name":"@wrote/rm","version":"1.1.2","description":"A package to remove files and directories.","main":"build","module":"src/index.js","scripts":{"t":"zoroaster -a","test":"yarn t test/spec test/mask","spec":"yarn t test/spec","mask":"yarn t test/mask","test-build":"ALAMODE_ENV=test-build yarn test","test-all":"yarn-s test test-build","test-watch":"yarn test -w","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","b":"alamode src -o build -s","d":"NODE_DEBUG=doc doc src/index.js -g","build":"yarn-s d b doc","rec":"NODE_DEBUG=appshot appshot -T 23 -a Terminal -y 150 -f","e":"node example","example/":"yarn e example/example.js"},"repository":{"type":"git","url":"git://github.com/wrote/rm.git"},"keywords":["rm","wrote","filesystem","fs","files","file","directory","directories","dir","dirs","rimraf","erase","trash","bin","remove"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/wrote/rm/issues"},"homepage":"https://github.com/wrote/rm#readme","devDependencies":{"@wrote/clone":"1.1.0","@wrote/ensure-path":"1.0.4","alamode":"1.6.1","documentary":"1.20.1","eslint-config-artdeco":"1.0.1","temp-context":"2.1.0","yarn-s":"1.1.0","zoroaster":"3.6.6"},"dependencies":{"@wrote/read-dir-structure":"1.0.2","makepromise":"3.0.2"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@wrote/rm@1.1.2","dist":{"shasum":"98b0fa0c9eebe6f82b5dc75ce872441639f6cdd4","size":2939,"noattachment":false,"key":"/@wrote/rm/-/@wrote/rm-1.1.2.tgz","tarball":"http://name.csiicloud.com:7001/@wrote/rm/download/@wrote/rm-1.1.2.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rm_1.1.2_1547504703980_0.9522807672792324"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T19:18:16.325Z","publish_time":1547504704063,"_cnpm_publish_time":1547504704063},"1.1.1":{"name":"@wrote/rm","version":"1.1.1","description":"A package to remove files and directories.","main":"build","module":"src/index.js","scripts":{"t":"zoroaster -a","test":"yarn t test/spec test/mask","spec":"yarn t test/spec","mask":"yarn t test/mask","test-build":"ALAMODE_ENV=test-build yarn test","test-all":"yarn-s test test-build","test-watch":"yarn test -w","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","b":"alamode src -o build -s","d":"NODE_DEBUG=doc doc src/index.js -g","build":"yarn-s d b doc","rec":"NODE_DEBUG=appshot appshot -T 23 -a Terminal -y 150 -f","e":"node example","example/":"yarn e example/example.js"},"repository":{"type":"git","url":"git://github.com/wrote/rm.git"},"keywords":["rm","wrote","filesystem","fs","files","file","directory","directories","dir","dirs","rimraf","erase","trash","bin","remove"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/wrote/rm/issues"},"homepage":"https://github.com/wrote/rm#readme","devDependencies":{"@wrote/clone":"1.1.0","@wrote/ensure-path":"1.0.4","alamode":"1.6.1","documentary":"1.20.1","eslint-config-artdeco":"1.0.1","temp-context":"2.1.0","yarn-s":"1.1.0","zoroaster":"3.6.6"},"dependencies":{"@wrote/read-dir-structure":"1.0.1","makepromise":"3.0.1"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@wrote/rm@1.1.1","dist":{"shasum":"09acfc39071f3fe2347c1d4344eea3d810f9a8d3","size":2902,"noattachment":false,"key":"/@wrote/rm/-/@wrote/rm-1.1.1.tgz","tarball":"http://name.csiicloud.com:7001/@wrote/rm/download/@wrote/rm-1.1.1.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rm_1.1.1_1547474806663_0.26879174610254686"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T19:18:14.686Z","publish_time":1547474806810,"_cnpm_publish_time":1547474806810},"1.1.0":{"name":"@wrote/rm","version":"1.1.0","description":"A package to remove files and directories.","main":"build","scripts":{"t":"zoroaster -a","test":"yarn t test/spec test/mask","spec":"yarn t test/spec","mask":"yarn t test/mask","test-build":"ALAMODE_ENV=test-build yarn test","test-all":"yarn-s test test-build","test-watch":"yarn test -w","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","b":"alamode src -o build","d":"NODE_DEBUG=doc doc src/index.js -g","build":"yarn-s d b doc","rec":"NODE_DEBUG=appshot appshot -T 23 -a Terminal -y 150 -f","e":"node example","example/":"yarn e example/example.js"},"repository":{"type":"git","url":"git://github.com/wrote/rm.git"},"keywords":["rm","wrote","filesystem","fs","files","file","directory","directories","dir","dirs","rimraf","erase","trash","bin","remove"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/wrote/rm/issues"},"homepage":"https://github.com/wrote/rm#readme","devDependencies":{"@wrote/clone":"1.1.0","@wrote/ensure-path":"1.0.3","alamode":"1.5.1","documentary":"1.20.1","eslint-config-artdeco":"1.0.1","temp-context":"1.1.0","yarn-s":"1.1.0","zoroaster":"3.5.1"},"dependencies":{"@wrote/read-dir-structure":"1.0.1","makepromise":"3.0.1"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@wrote/rm@1.1.0","dist":{"shasum":"6dd14b164e9ac11e9c5c90b569ca7a987bea5b52","size":3442,"noattachment":false,"key":"/@wrote/rm/-/@wrote/rm-1.1.0.tgz","tarball":"http://name.csiicloud.com:7001/@wrote/rm/download/@wrote/rm-1.1.0.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rm_1.1.0_1538077649151_0.043523632005644686"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T19:18:13.050Z","publish_time":1538077649298,"_cnpm_publish_time":1538077649298},"1.0.0":{"name":"@wrote/rm","version":"1.0.0","description":"A package to remove files and directories.","main":"build","scripts":{"t":"zoroaster -a","test":"yarn t test/spec test/mask","spec":"yarn t test/spec","mask":"yarn t test/mask","test-build":"ALAMODE_ENV=test-build yarn test","test-all":"yarn-s test test-build","test-watch":"yarn test -w","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","b":"alamode src -o build","d":"NODE_DEBUG=doc doc src/index.js -g","build":"yarn-s d b doc","rec":"NODE_DEBUG=appshot appshot -T 23 -a Terminal -y 150 -f","e":"node example","example/":"yarn e example/example.js"},"repository":{"type":"git","url":"git://github.com/wrote/rm.git"},"keywords":["rm","wrote","filesystem","fs","files","file","directory","directories","dir","dirs","rimraf","erase","trash","bin","remove"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/wrote/rm/issues"},"homepage":"https://github.com/wrote/rm#readme","devDependencies":{"@wrote/ensure-path":"1.0.2","alamode":"1.4.0","documentary":"1.15.2","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"3.1.2"},"dependencies":{"@wrote/read-dir-structure":"1.0.1","makepromise":"3.0.1"},"licenseText":"MIT License\n\nCopyright (c) 2018 Art Deco Code Limited\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@wrote/rm@1.0.0","dist":{"shasum":"d7e95c4296b346370d313e383397e1eaf02d8eb8","size":3357,"noattachment":false,"key":"/@wrote/rm/-/@wrote/rm-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/@wrote/rm/download/@wrote/rm-1.0.0.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rm_1.0.0_1536964109659_0.2275192163500881"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T19:18:11.419Z","publish_time":1536964109745,"_cnpm_publish_time":1536964109745}},"readme":"# @wrote/rm\n\n[![npm version](https://badge.fury.io/js/%40wrote%2Frm.svg)](https://npmjs.org/package/@wrote/rm)\n\n`@wrote/rm` is a package to remove files and directories.\n\n```sh\nyarn add -E @wrote/rm\n```\n\n## Table Of Contents\n\n- [Table Of Contents](#table-of-contents)\n- [API](#api)\n- [`rm(path: string)`](#rmpath-string-void)\n- [Copyright](#copyright)\n\n## API\n\nThe package is available by importing its default function:\n\n```js\nimport rm from '@wrote/rm'\n```\n\n## `rm(`<br/>&nbsp;&nbsp;`path: string,`<br/>`): void`\n\nRemoves a path to either a file or directory.\n\n```js\n/* yarn example/ */\nimport rm from '@wrote/rm'\nimport clone from '@wrote/clone'\nimport readDirStructure from '@wrote/read-dir-structure'\n\nconst printContent = async (p) => {\n  const { content } = await readDirStructure(p)\n  console.log(JSON.stringify(content, null, 2))\n}\n\n(async () => {\n  // 0. SETUP: create a temp directory to remove.\n  await clone('example/dir', 'example/temp')\n  console.log('Content before:')\n  await printContent('example/temp')\n\n  // 1. REMOVE the directory.\n  await rm('example/temp/dir')\n\n  // 2. VALIDATE the removal.\n  console.log('Content after:')\n  await printContent('example/temp')\n})()\n```\n\n```\nContent before:\n{\n  \"dir\": {\n    \"content\": {\n      \"example.txt\": {\n        \"type\": \"File\"\n      }\n    },\n    \"type\": \"Directory\"\n  }\n}\nContent after:\n{}\n```\n\n## Copyright\n\n<table>\n  <tr>\n    <th>\n      <a href=\"https://artd.eco\">\n        <img src=\"https://raw.githubusercontent.com/wrote/wrote/master/images/artdeco.png\" alt=\"Art Deco\" />\n      </a>\n    </th>\n    <th>© <a href=\"https://artd.eco\">Art Deco</a> for <a href=\"https://wrote.cc\">Wrote</a> 2019</th>\n    <th>\n      <a href=\"https://wrote.cc\">\n        <img src=\"https://avatars3.githubusercontent.com/u/40831417?s=100\" width=\"100\" alt=\"Wrote\" />\n      </a>\n    </th>\n    <th>\n      <a href=\"https://www.technation.sucks\" title=\"Tech Nation Visa\">\n        <img src=\"https://raw.githubusercontent.com/artdecoweb/www.technation.sucks/master/anim.gif\"\n          alt=\"Tech Nation Visa\" />\n      </a>\n    </th>\n    <th><a href=\"https://www.technation.sucks\">Tech Nation Visa Sucks</a></th>\n  </tr>\n</table>","_attachments":{},"homepage":"https://github.com/wrote/rm#readme","bugs":{"url":"https://github.com/wrote/rm/issues"},"license":"MIT"}