{"_id":"paddys","_rev":"300389","name":"paddys","description":"Pad Strings To Equalise The Length Of Each Line.","dist-tags":{"latest":"1.2.0"},"maintainers":[{"name":"zvr","email":""}],"time":{"modified":"2024-01-31T16:08:29.000Z","created":"2018-10-15T21:40:50.044Z","1.2.0":"2019-04-25T07:49:33.209Z","1.1.0":"2019-04-02T16:16:04.243Z","1.0.1":"2018-10-15T22:03:39.363Z","1.0.0":"2018-10-15T21:40:50.044Z"},"users":{},"author":{"name":"Anton","email":"anton@adc.sh"},"repository":{"type":"git","url":"git://github.com/artdecocode/paddys.git"},"versions":{"1.2.0":{"name":"paddys","version":"1.2.0","description":"Pad Strings To Equalise The Length Of Each Line.","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 -o README.md","b":"alamode src -o build -s","d":"yarn-s d1 externs","d1":"typal src -c","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.js","externs":"typal externs.js -e"},"externs":"externs.js","repository":{"type":"git","url":"git://github.com/artdecocode/paddys.git"},"keywords":["paddys","pad","strings","string","length","width","equal","equalise"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/artdecocode/paddys/issues"},"homepage":"https://github.com/artdecocode/paddys#readme","devDependencies":{"alamode":"^2.0.0","documentary":"^1.26.0","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"^3.13.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":"paddys@1.2.0","dist":{"shasum":"984d61e0e7d96cc4c49fb5b5cfd6c9b7c080161d","size":3188,"noattachment":false,"key":"/paddys/-/paddys-1.2.0.tgz","tarball":"http://name.csiicloud.com:7001/paddys/download/paddys-1.2.0.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/paddys_1.2.0_1556178573111_0.6870488084853708"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T19:18:22.531Z","publish_time":1556178573209,"_cnpm_publish_time":1556178573209},"1.1.0":{"name":"paddys","version":"1.1.0","description":"Pad Strings To Equalise The Length Of Each Line.","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","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/artdecocode/paddys.git"},"keywords":["paddys","pad","strings","string","length","width","equal","equalise"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/artdecocode/paddys/issues"},"homepage":"https://github.com/artdecocode/paddys#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) 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":"paddys@1.1.0","dist":{"shasum":"38f23de14ea0e1af629710fab84f65b3215b3618","size":2810,"noattachment":false,"key":"/paddys/-/paddys-1.1.0.tgz","tarball":"http://name.csiicloud.com:7001/paddys/download/paddys-1.1.0.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/paddys_1.1.0_1554221764131_0.11538802599110531"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T19:18:21.683Z","publish_time":1554221764243,"_cnpm_publish_time":1554221764243},"1.0.1":{"name":"paddys","version":"1.0.1","description":"Pad Strings To Equalise The Length Of Each Line.","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","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","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/artdecocode/paddys.git"},"keywords":["paddys","pad","strings","string","length","width","equal","equalise"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/artdecocode/paddys/issues"},"homepage":"https://github.com/artdecocode/paddys#readme","devDependencies":{"alamode":"1.6.0","documentary":"1.20.1","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"3.6.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":"paddys@1.0.1","dist":{"shasum":"7ffc8ca89ffc7435b46932fe4d84dd2fd74e83b5","size":2664,"noattachment":false,"key":"/paddys/-/paddys-1.0.1.tgz","tarball":"http://name.csiicloud.com:7001/paddys/download/paddys-1.0.1.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/paddys_1.0.1_1539641019278_0.20884122520644222"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T19:18:20.816Z","publish_time":1539641019363,"_cnpm_publish_time":1539641019363},"1.0.0":{"name":"paddys","version":"1.0.0","description":"Pad Strings To Equalise The Length Of Each Line.","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","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","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/artdecocode/paddys.git"},"keywords":["paddys","pad","strings","string","length","width","equal","equalise"],"author":{"name":"Anton","email":"anton@adc.sh"},"license":"MIT","bugs":{"url":"https://github.com/artdecocode/paddys/issues"},"homepage":"https://github.com/artdecocode/paddys#readme","devDependencies":{"alamode":"1.6.0","documentary":"1.20.1","eslint-config-artdeco":"1.0.1","yarn-s":"1.1.0","zoroaster":"3.6.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":"paddys@1.0.0","dist":{"shasum":"67195157f54087dae8ada8c65e91531368036404","size":2648,"noattachment":false,"key":"/paddys/-/paddys-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/paddys/download/paddys-1.0.0.tgz"},"maintainers":[{"name":"zvr","email":""}],"_npmUser":{"name":"zvr","email":"anton@adc.sh"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/paddys_1.0.0_1539639649952_0.9623025788237323"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T19:18:19.915Z","publish_time":1539639650044,"_cnpm_publish_time":1539639650044}},"readme":"# paddys\n\n[![npm version](https://badge.fury.io/js/paddys.svg)](https://npmjs.org/package/paddys)\n\n`paddys` is a package that pads strings so that each line is of the width of the longest line. It can also pad to a specific length.\n\n```sh\nyarn add -E paddys\n```\n\n## Table Of Contents\n\n- [Table Of Contents](#table-of-contents)\n- [API](#api)\n- [`paddys(string: string, options?: Config): string`](#paddysstring-stringoptions-config-string)\n  * [`_paddys.Config`](#type-_paddysconfig)\n- [Copyright](#copyright)\n\n<p align=\"center\"><a href=\"#table-of-contents\"><img src=\".documentary/section-breaks/0.svg?sanitize=true\"></a></p>\n\n## API\n\nThe package is available by importing its default function:\n\n```js\nimport paddys from 'paddys'\n```\n\n<p align=\"center\"><a href=\"#table-of-contents\"><img src=\".documentary/section-breaks/1.svg?sanitize=true\"></a></p>\n\n## `paddys(`<br/>&nbsp;&nbsp;`string: string,`<br/>&nbsp;&nbsp;`options?: Config,`<br/>`): string`\n\nPads the string to the right to equalise the length of each line.\n\n__<a name=\"type-_paddysconfig\">`_paddys.Config`</a>__: Options for the program.\n\n| Name  |      Type       |           Description            |\n| ----- | --------------- | -------------------------------- |\n| width | <em>number</em> | The width to which to pad lines. |\n\n```js\n/* yarn example/ */\nimport paddys from 'paddys'\n\nconst res = paddys(\n  `Just stop your wandering,\nLook penetratingly into your inherent nature,\nAnd, concentrating your spiritual energy,\nSit in zazen\nAnd break through.`\n)\n```\n```\nJust stop your wandering,____________________\nLook penetratingly into your inherent nature,\nAnd, concentrating your spiritual energy,____\nSit in zazen_________________________________\nAnd break through.___________________________\n```\n\n<p align=\"center\"><a href=\"#table-of-contents\"><img src=\".documentary/section-breaks/2.svg?sanitize=true\"></a></p>\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>   2019</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>\n\n<p align=\"center\"><a href=\"#table-of-contents\"><img src=\".documentary/section-breaks/-1.svg?sanitize=true\"></a></p>","_attachments":{},"homepage":"https://github.com/artdecocode/paddys#readme","bugs":{"url":"https://github.com/artdecocode/paddys/issues"},"license":"MIT"}