{"_id":"clearr","_rev":"300028","name":"clearr","description":"Updates The String To Remove R (Carriage Return) Just Like The Terminal Would Do.","dist-tags":{"latest":"1.1.0"},"maintainers":[{"name":"zvr","email":""}],"time":{"modified":"2024-01-31T16:06:09.000Z","created":"2019-04-01T13:20:54.199Z","1.1.0":"2020-04-08T18:37:45.063Z","1.0.0":"2019-04-01T13:20:54.199Z"},"users":{},"author":{"name":"Anton","email":"anton@adc.sh"},"repository":{"type":"git","url":"https://gitlab.com/artdeco/clearr.git"},"versions":{"1.1.0":{"name":"clearr","version":"1.1.0","description":"Updates The String To Remove R (Carriage Return) Just Like The Terminal Would Do.","main":"build/index.js","module":"src/index.js","scripts":{"scripts":"scripts"},"repository":{"type":"git","url":"https://gitlab.com/artdeco/clearr.git"},"keywords":["clearr","carriage return","return","remove","terminal"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"AGPL-3.0","bugs":{"url":"https://gitlab.com/artdeco/issues/-/issues/","email":"incoming+artdeco-issues-17934443-issue-@incoming.gitlab.com"},"homepage":"https://www.artd.eco/","devDependencies":{"@artdeco/scripts.json":"^1.0.1","alamode":"3.7.1","documentary":"1.38.1","eslint-config-artdeco":"1.0.1","yarn-s":"1.2.3","zoroaster":"4.4.0"},"publishConfig":{"registry":"https://registry.npmjs.com"},"licenseText":"MIT License\n\nCopyright (c) 2019 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":"clearr@1.1.0","dist":{"shasum":"6e52bfcdb97fbc6c111e9f6b85b4dab6da78fe49","size":2604,"noattachment":false,"key":"/clearr/-/clearr-1.1.0.tgz","tarball":"http://name.csiicloud.com:7001/clearr/download/clearr-1.1.0.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clearr_1.1.0_1586371064923_0.46950516664978137"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T19:33:10.811Z","publish_time":1586371065063,"_cnpm_publish_time":1586371065063},"1.0.0":{"name":"clearr","version":"1.0.0","description":"Updates The String To Remove R (Carriage Return) Just Like The Terminal Would Do.","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","lint":"eslint .","doc":"NODE_DEBUG=doc doc documentary -o README.md","b":"alamode src -o build -s","d":"yarn-s d1","d1":"NODE_DEBUG=doc doc src/index.js -g","build":"yarn-s d b doc","e":"alanode"},"repository":{"type":"git","url":"git://github.com/artdecocode/clearr.git"},"keywords":["clearr","carriage return","return","remove","terminal"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/artdecocode/clearr/issues"},"homepage":"https://github.com/artdecocode/clearr#readme","devDependencies":{"alamode":"1.9.0","documentary":"1.23.2","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"3.11.2"},"licenseText":"MIT License\n\nCopyright (c) 2019 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":"clearr@1.0.0","dist":{"shasum":"47f2a0a24aa910ef6b54e998732b825e3b4f90a0","size":2334,"noattachment":false,"key":"/clearr/-/clearr-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/clearr/download/clearr-1.0.0.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clearr_1.0.0_1554124854091_0.24925794198348106"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T19:33:09.937Z","publish_time":1554124854199,"_cnpm_publish_time":1554124854199}},"readme":"<div align=\"center\">\n\n# Clearr\n\n[![npm version](https://badge.fury.io/js/clearr.svg)](https://www.npmjs.com/package/clearr)\n<a href=\"https://gitlab.com/artdeco/clearr/-/commits/master\">\n  <img src=\"https://gitlab.com/artdeco/clearr/badges/master/pipeline.svg\" alt=\"Pipeline Badge\">\n</a>\n</div>\n\n`clearr` Updates The String To Remove `\\r` (Carriage Return) Just Like The Terminal Would Do.\n\n```sh\nyarn add clearr\nnpm i clearr\n```\n\n## Table Of Contents\n\n- [Table Of Contents](#table-of-contents)\n- [API](#api)\n- [`clearr(string: string): string`](#clearrstring-string-string)\n- [Copyright & License](#copyright--license)\n\n<div align=\"center\"><a href=\"#table-of-contents\">\n  <img src=\"/.documentary/section-breaks/0.svg?sanitize=true\">\n</a></div>\n\n## API\n\nThe package is available by importing its default function:\n\n```js\nimport clearr from 'clearr'\n```\n\n<div align=\"center\"><a href=\"#table-of-contents\">\n  <img src=\"/.documentary/section-breaks/1.svg?sanitize=true\">\n</a></div>\n\n## <code><ins>clearr</ins>(</code><sub><br/>&nbsp;&nbsp;`string: string,`<br/></sub><code>): <i>string</i></code>\n\nClears the carriage return like the terminal would.\n\n```js\n/* alanode example/ */\nimport clearR from 'clearr'\n\nconst res = clearR('...\\r..?\\r.!')\nconsole.log(res)\n```\n```\n.!?\n```\n\n<div align=\"center\"><a href=\"#table-of-contents\">\n  <img src=\"/.documentary/section-breaks/2.svg?sanitize=true\">\n</a></div>\n\n## Copyright & License\n\nGNU Affero General Public License v3.0\n\n<table>\n  <tr>\n    <th>\n      <a href=\"https://www.artd.eco\">\n        <img width=\"100\" src=\"https://gitlab.com/uploads/-/system/group/avatar/7454762/artdeco.png\"\n          alt=\"Art Deco\">\n      </a>\n    </th>\n    <th>© <a href=\"https://www.artd.eco\">Art Deco™</a>   2020</th>\n    <th><a href=\"LICENSE\"><img src=\".documentary/agpl-3.0.svg\" alt=\"AGPL-3.0\"></a></th>\n  </tr>\n</table>\n\n<div align=\"center\"><a href=\"#table-of-contents\">\n  <img src=\"/.documentary/section-breaks/-1.svg?sanitize=true\">\n</a></div>","_attachments":{},"homepage":"https://www.artd.eco/","bugs":{"url":"https://gitlab.com/artdeco/issues/-/issues/","email":"incoming+artdeco-issues-17934443-issue-@incoming.gitlab.com"},"license":"AGPL-3.0"}