{"_id":"@cthru/console-writer","_rev":"7-3b2cf2707e188618adceeb7028975d2a","name":"@cthru/console-writer","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.0":{"name":"@cthru/console-writer","version":"1.0.0","description":"A small utility to make writing multiline output to the console a lot more visually appealing and easier to work with","main":"src/writer-factory","scripts":{"test":"examples/formatting-output.js"},"keywords":[],"author":"","license":"ISC","gitHead":"23dd66451a5d39f51dbc86597201decc0c8a0740","_id":"@cthru/console-writer@1.0.0","_nodeVersion":"10.10.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-qjrtA+JN0Gr4yd6NGUGUicJdx7LFqNzrN9vcWAfpWs1N0oBbuu0f2bwpNVHshHkb3budvgTW+h7MhcWNSe5aOg==","shasum":"502fdc898f548eb30bdee51ad2384b081111e439","tarball":"https://registry.npmjs.org/@cthru/console-writer/-/console-writer-1.0.0.tgz","fileCount":8,"unpackedSize":28029,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8SmsCRA9TVsSAnZWagAAGacP/22jKx5dXdRFM3SK16ea\nu9D295qjUa23ra3zg9ZLl3ZW1EkkdbMsQwHxiFE2rxwrnwY1f8nMLRyC6NW6\nVNdLe7XxmotUitFmH5NukkKCdnYlP1IKvPjtfebt5cEj83qEgV5r/CEdqHA3\nAmBEh9zJ1jHwWm0HXNokB3in+6hJK95yr338g13g9gaufaVyiYv6lFSxauaI\nE1gR4S3WTq2xThW6ywHH+9dRYE18HP9D1iaeKBZmHNOfLeRoN63gJQCS5By/\nqZHoyclUkKWRKU/CSrdHfX8hWP0SGS/wb9EoH+2Slbdq2HgoR9vqRoWUVMxc\niO2+aGLr3qHH+vnX//GDaRqoqvMOWRlHgVrrkJnyx5a6LiTuy0nstidTriQh\nqm6m+w4jtZ6jizNpWqqMjI4FBFGLxKzgaIp6MiquhaxoVBjVFLEBPJEvpCmC\n0pGy4dWOKgywM9iqDsqZ2XapWg9cczbhglRCrA4qDkN02Qrf5bMlWjjPWbta\nrOxpMVG6/v5+7lvKhkJquCLdj9yC7a/SChB9cAweViJ72C4SLD9AwsoTEJG5\nXmtMu/0JURxegK/xSmT40+ZOIIoVeFbhTxmvZ6jiCRr7HyZhGsNghMiJUS//\nWTZjpIRrawWvmlCkZqhyuAiMkgtVV5nQz13nMtnnBe3cMHv+H+Y1B6rJ7+Ql\nW6gD\r\n=Tyzz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG0xCEx9nR2QIP3AKwh+qT/ZzQxJjGurTAf38ttiZaLpAiEA9LTR2mlo+0l0ZuXqx4TbOZItIVikrujahbWOAEbiz9I="}]},"maintainers":[{"name":"mark.h","email":"nemesarial@gmail.com"}],"_npmUser":{"name":"mark.h","email":"nemesarial@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/console-writer_1.0.0_1559308715741_0.925343798741312"},"_hasShrinkwrap":false},"1.0.1":{"name":"@cthru/console-writer","version":"1.0.1","description":"A small utility to make writing multiline output to the console a lot more visually appealing and easier to work with","main":"src/writer-factory","scripts":{"test":"examples/formatting-output.js"},"keywords":["console","output","string","manipulation","wrap","format"],"author":"","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Nemesarial/console-writer.git"},"gitHead":"423319cbe3c48557abfa07836ad17f86b0b54e4f","bugs":{"url":"https://github.com/Nemesarial/console-writer/issues"},"homepage":"https://github.com/Nemesarial/console-writer#readme","_id":"@cthru/console-writer@1.0.1","_nodeVersion":"10.10.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-+EOlgBWiApbRDhLX1yhjZmC5rEoDCd8GwD3Dq2wyhy594sKhw/rGFTUIgnNEyt10J7XXByCPFr2zqUZAU7jsJQ==","shasum":"a22ca2fc159b42855905f36c8da051b1f3cb58f5","tarball":"https://registry.npmjs.org/@cthru/console-writer/-/console-writer-1.0.1.tgz","fileCount":8,"unpackedSize":28155,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8SpACRA9TVsSAnZWagAAb0gP/3DaKi99HF71rOZ3mswX\nACBSYHVj5jL5J7gQn31mhesqiXiwXHIIGU0+ETMmqI0+Y6GPubsBbpP4TvP3\nEMm2kCKRfrov9ZxY8eLUrcfHgRIFSdrHfC570uoceF5PuLZz7vWvm/Wn4hdt\nFy5d/jS85XdCcLJac+hyro40B6xiS+C+mCzIwq4Pl+T5nls3EsjX4by+soub\nZTkPynvt+hyJYPZDeuDUNNW3TmNUkV/M+6RweMIo+QkuUOk9RGkpRBhR+qJB\nM7VrB6/QxjDJRTxegQ4IR5QHOyOujj41FeCFXKtbJMxs7AgHIrBtlw5tWb0g\nOtfbTRW0+fj844YcalGlyIsZPtFpD1/50TTQ6W7txjsVQxVT5IAznZx79S6X\ngZc9KlwId/dIsQgdAubLz/ojgDREwgSki7DyxuuyU6hbFPK7gVS2GXqN3Gey\nNvmqD106B2z+QuFvVnDXypKH4h8rnlaq1bMPOvt6/pjNvLZ1j2xwp+5b+Wni\nokztwm68tLqV0bK+hZaLMAGOPoH4kr+XGPVzc0TCDrnvbbRCViz8TrOOi+vB\n7OqfTdnjXjk9C9JCRUT47rZDeqsizQit1FVJRaJJtRxCXZKI4l8is0wcgcOt\nNqirAhCYyIuu9YX7poRAPoxIGd/Rl0eJlZWE9/iOG9IjESi3F9tto+2M1Qhb\nvxy0\r\n=t/jz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0OGwOOqZeCdzKBsf7wj3DhXqubajEI//zjVmBIDp0qgIhAKHVihcmOzg3Uc9N5CN3kbjOU7X5C7VXbRTU0VgyWllG"}]},"maintainers":[{"name":"mark.h","email":"nemesarial@gmail.com"}],"_npmUser":{"name":"mark.h","email":"nemesarial@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/console-writer_1.0.1_1559308863240_0.9979380991952242"},"_hasShrinkwrap":false},"1.0.2":{"name":"@cthru/console-writer","version":"1.0.2","description":"A small utility to make writing multiline output to the console a lot more visually appealing and easier to work with","main":"src/writer-factory","scripts":{"test":"examples/formatting-output.js"},"keywords":["console","output","string","manipulation","wrap","format"],"author":"","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Nemesarial/console-writer.git"},"gitHead":"2d8f586a1e2bf175038ac53b707ce37052126ccd","bugs":{"url":"https://github.com/Nemesarial/console-writer/issues"},"homepage":"https://github.com/Nemesarial/console-writer#readme","_id":"@cthru/console-writer@1.0.2","_nodeVersion":"10.10.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-8Q4tCMWySZ85zLIbHfQYKiayM1lLBpirJLn7oHKBD0cLchtJhAle9i/28avTwmWOziz5K0KjMdxf3O5bQMzroA==","shasum":"502b71a0aa44cbe91abd33433a078c20b2d0129b","tarball":"https://registry.npmjs.org/@cthru/console-writer/-/console-writer-1.0.2.tgz","fileCount":8,"unpackedSize":30305,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8SyOCRA9TVsSAnZWagAAcpgP/3mnRGPYQDvzeC9ilXPS\n8as2nZOZTXrTQTxdUHRHPq7u6KkDiYt3jIpaZX8SJzx3fEkSbX5fbbRMB5K9\nH28WBO4Pe4Hf4VZPtbMwc1oO8pMcUOLbgRMyO6DqM3+St1eLwd9dLWUTSjuT\n8XLjB18hXQwBPSSU0B1Yv4fIiAaVppiyJkNvIki9As38CygbciuK2hWeFxn5\npBN/hm8KfK7CoxM9KwHGiZCE6hukJJhukCEJ8Ws1Fpih5dRWWCpoSnCUh4g4\nbznNXB7MKS0VSsGJdOsad+AlbQayeE4ZpMdxOEvITk0MgZrjHS3GAz5zcwX9\nwvNHZYL+0qiVy5apN7PLg3Q4JhRX2xMtJNRTCFNL409Ecbng1R+ch/ULr1PM\nK0qWo4hm7C2OwKf0pzzVXCIUobTekTI3acu0jPueGewY7EJs83THadj5gEpB\nqe9MopCeAhvs4oKqkzJRNexKTXlodBWpFuajwIGZLn7UsOtQ2jAVentWpC7M\n3YAWh8VXCBsyI1j8/naw2muPw6wQN7bIPnQp6s3us/cZBBtgxO3G32hiD2Pd\nAeC0uIDloxT/aPpMc1mBgdlMNI6e4sMa7h2IwBqlWFSePoktVtwwExlCEgH0\n4ESjyHf4M5Z5eGLiBP8jneiZ5xPd6qjhalg8cl3vOd2nljyE2pMgQeXrwID1\nyEou\r\n=unk4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCs5ssyJUj0Hs7rqiflLfhddqb7hVLeqd8RqQxZ2wkkOwIhANfXCD6KO9nCQrcAP2lLpmvsLVCFJsiVNTAXKuOU93J8"}]},"maintainers":[{"name":"mark.h","email":"nemesarial@gmail.com"}],"_npmUser":{"name":"mark.h","email":"nemesarial@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/console-writer_1.0.2_1559309453555_0.2670418885336465"},"_hasShrinkwrap":false},"1.0.3":{"name":"@cthru/console-writer","version":"1.0.3","description":"A small utility to make writing multiline output to the console a lot more visually appealing and easier to work with","main":"src/writer-factory","scripts":{"test":"examples/formatting-output.js"},"keywords":["console","output","string","manipulation","wrap","format"],"author":"","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Nemesarial/console-writer.git"},"gitHead":"ea40d40e60fecd40835f67bc45194cce812a467d","bugs":{"url":"https://github.com/Nemesarial/console-writer/issues"},"homepage":"https://github.com/Nemesarial/console-writer#readme","_id":"@cthru/console-writer@1.0.3","_nodeVersion":"10.10.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-wGnOSLwbQlKPhgnNztMwe3/RF/IS7SlTP/ZJZRSHDiXkljZJuHzYhc3t/KL6Juw8uASFIG1O5b34pYjPeto1Ig==","shasum":"889023e49538028f01f8c04d64157a326de52ec3","tarball":"https://registry.npmjs.org/@cthru/console-writer/-/console-writer-1.0.3.tgz","fileCount":8,"unpackedSize":30190,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8S1LCRA9TVsSAnZWagAAlWcQAJsw9LIg2sTpPekAiFHI\nR/HfFsBQZqwkrqqx6o5tRHwJCikIjye9lBPTXJJhg4F6Gii2Wc0P+aWKt+gp\nAc9niKc452sYgqBLGMMLOOwG5YFMDnk4Cyuxz7o+0gZHNhC6zyo7M5yRKOGy\n145aS4XB6W4ZwpWCYBhkNwsu+CQwuzEWuIwqdzOeWkg7hXnqItBpBIC0b4sG\nc2WyvhZnbLvfKudmdwlfA8Lnccbm9FxR3LyJfQ3X7AzNg7RVNfHB6hAkEKi+\nxtlCYq4OpVhSv1QFtaFXvMCCkhMrRje2HGPOsA53z5T+g3A8LghU9tBrUSGK\nK3a2MHiRcGYSkHJ+4eYC9KIV0E+j9GIWHxW9mNgveq2Sl+ngt2jDpBWnh1G4\n2QMwyRwVKhCHuCVfFILGwHKArEwIef85yFZQ1BCAiY1SYSRny5COoaibOYGw\n9dhpyFzXyH2sDygP2tk+LbAkvxObBjqd+5dKdD8hs6/QmtqQXYTApi/RWMHg\nCdEifeISXYXIc+AiUSBZ1FkHhdsmG9NNbXiQRFXIJXlMYRRCO+H0H7vp/aqq\nL7bbJQgnJNVALUji8IK13bqgIlsS9pi48GDVWZLNktLs0jYnVqRu+LhFvTLC\nVDaK9nfc2Oh8P4UML86S9vpdEN3rf1pZebszeT/M3Bg6frveUzenqmnhRent\nXvnw\r\n=QtU4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWxXuIZQ+XdKT4fkYQJ6kZscOxpPgNXKA0PDTf1BmLxAIgMJnR6NRM5DQpfNBnbT1/TX8Xk+dGZWQymlSTSAQQhxQ="}]},"maintainers":[{"name":"mark.h","email":"nemesarial@gmail.com"}],"_npmUser":{"name":"mark.h","email":"nemesarial@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/console-writer_1.0.3_1559309642662_0.5641166956024197"},"_hasShrinkwrap":false},"1.0.4":{"name":"@cthru/console-writer","version":"1.0.4","description":"A small utility to make writing multiline output to the console a lot more visually appealing and easier to work with","main":"src/writer-factory","scripts":{"test":"examples/formatting-output.js"},"keywords":["console","output","string","manipulation","wrap","format"],"author":"","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Nemesarial/console-writer.git"},"gitHead":"967cb490073bcf6b771e3f14b02a7cffacf1833e","bugs":{"url":"https://github.com/Nemesarial/console-writer/issues"},"homepage":"https://github.com/Nemesarial/console-writer#readme","_id":"@cthru/console-writer@1.0.4","_nodeVersion":"10.10.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-G4nLrKQ7fT5wiExEZNZkhVBNn4MvD8AtOaxyfWKLH8rdl1PQIb01e2cdYBz3Ou3LttRq61efT3pHHn3j7RmeDg==","shasum":"51bbfa0ec5d2794da5dfae3a1aaffdf90ccbb26c","tarball":"https://registry.npmjs.org/@cthru/console-writer/-/console-writer-1.0.4.tgz","fileCount":9,"unpackedSize":31799,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8UjbCRA9TVsSAnZWagAAHPIP/R63sTJk03lpc9hkGyK3\nr4AJSNxRVxuxo2vDgyGQpcNIuwbcXpcrB+CJCcCBKQDntWKzkKzhlm8mvUKQ\n1BY38w/wd7hIx2AIQdlZruXsnl7HlUWSBveqGyq49wHRYw1YYbZlp7dF5bO7\n1IiOJgCuFKrM6pFHz8VQJxjLCbBnXbu5xsIfRw+2GEH0Z6gYyMSe1649908Z\nME8sIs2Tzb/m/7ZSMaVsfEG75FEuRWqvID91G4d37WcAfQswgBaV4+C78P67\nS5MjVjfA9m0Kt16hmIdebvrzifePdWY7JLZ0m4CSN8mCm5gSvhkqcP1lqAIa\nuIWGIt5q/whEgTw1j0LNj0JnHsT9Q4HM1p/7YDjTyXbYD/rPMFcW1Z3AmMdD\nSa9Pv1CJUoOz9liq1R40aiYBGiW1ERGFcKQsaHg0yCeYs1mc/H1RPiAP/AA0\nTFBcXNyOO+fWKRsWUiR0i5Vc0aXyVZ+f5b+DtJPTPv8/Rw7AYllVDsXSgBYD\nhrM8Udu+09EPaQPAl1asAWnJyvWh9UqHBGWYqR1FeD6+S11AFth5aA1gMO5W\nFjMVXNcrRV61QOOgPZ3DqE+MxSKR6JJSpbn9o5Vynz6nnzO30CjCS02nXED8\nanOOPSClKwjqwykqDT43bXVuVl2hhcASwPnylc8xqn+fxf9ZMxBq+Hs9zl42\nUL7y\r\n=/Fsm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEoTJje4uj4VSNltzBCbW2BwOKqp9iW1SKt5L/vQmmdPAiBncdM5fr4Lyjrsx/b4Pc5TKzunaU0TR4338fULHiHNYw=="}]},"maintainers":[{"name":"mark.h","email":"nemesarial@gmail.com"}],"_npmUser":{"name":"mark.h","email":"nemesarial@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/console-writer_1.0.4_1559316699078_0.7456627891940821"},"_hasShrinkwrap":false},"1.1.0":{"name":"@cthru/console-writer","version":"1.1.0","description":"A small utility to make writing multiline output to the console a lot more visually appealing and easier to work with","main":"src/writer-factory","scripts":{"test":"examples/formatting-output.js"},"keywords":["console","output","string","manipulation","wrap","format"],"author":"","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Nemesarial/console-writer.git"},"gitHead":"92d09cc6c5759c20166b4bef56cecff5d5ccae56","bugs":{"url":"https://github.com/Nemesarial/console-writer/issues"},"homepage":"https://github.com/Nemesarial/console-writer#readme","_id":"@cthru/console-writer@1.1.0","_nodeVersion":"10.10.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-S8JgpO58YN0jc35jA6pSDIMQL8m59xhmIbSw20pxFB2giGM/QUjTa0CjGaLXIjEqy9qkuTbQgjGYNqYTozWWkA==","shasum":"2f5d3b52fa72eef2f899ee2a3dbe4fd46864093b","tarball":"https://registry.npmjs.org/@cthru/console-writer/-/console-writer-1.1.0.tgz","fileCount":10,"unpackedSize":32672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc/PICCRA9TVsSAnZWagAAw/kP/1Blj6DQ2Rl8+wpFqHe8\n/FRbXOUVRtVjuvHzSWiRZveopCZCIieJK1X6C+Voh3++ZpdhttBp+tzFNl+u\nM3CZVUvxy8svcusJYhoMn0J9k20HY2h35Y7/hh7P+cT8ZtEb1kZI/hn15zQr\nzIaM5hPQRpU+paRaQYHn+TlAVZVxGohogFgO4oPO97ZnWTII/LqNFmkP/YuG\nyzvy1C1qbSM9Ybab5VAkgeGVnjv7mxhkYdVd02i2jJCv9Sya3Z9i+XNUznP9\n0KZhmJ/mNJXYJjn986teynGBUIiYuHn31/fMAlo2vS2hcoIPGEBYrzq1yt5y\nyrj0MnmyVH1UkNcyD2sMkNXYOhjwXqtZPHom1GCNxia6SzYa6rl6JRc2jXdq\nnFmdLXu/8PkoD4S6U+RC11jngumoNiQnDOJZ12ONI98Yl9o+wXEdPzKKKD3G\nFf2khKFopDuKpxb0pbKeDIGTpEsTAwA9Jcv9ZW9Gt3tQ+1bhuYyaZI+zopts\nmCQYaL3h8gvXKxEqlUjPUCJMTCoDAjcaqcmHgPpxvr6of88bPr5WKoHYqJKI\n00XteSI4r/1V2xDtg/hhGrbVvERpe8TqpyZug3wQ35Dr3dqqORxZ+lxNeKyV\ndR4eNnGpaWxkVgLn+lxSjWC6DQOjicc25tAie4UYc07rBdzJNLi1dHIoubhv\nciCI\r\n=EqBB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDNDOCUsRU79x3sj9AyQp2e7ElAx7srEdKMstOuSiTz0AiBtehIZzd4GHJmiy9OZ9lGY1PMinXbxtBSFK108FobSEQ=="}]},"maintainers":[{"name":"mark.h","email":"nemesarial@gmail.com"}],"_npmUser":{"name":"mark.h","email":"nemesarial@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/console-writer_1.1.0_1560080898217_0.04615263816874604"},"_hasShrinkwrap":false},"1.1.1":{"name":"@cthru/console-writer","version":"1.1.1","description":"A small utility to make writing multiline output to the console a lot more visually appealing and easier to work with","main":"src/writer-factory","scripts":{"test":"examples/formatting-output.js"},"keywords":["console","output","string","manipulation","wrap","format"],"author":"","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Nemesarial/console-writer.git"},"gitHead":"049a06b6807de8799ecc04a9c8eaa8450035601d","bugs":{"url":"https://github.com/Nemesarial/console-writer/issues"},"homepage":"https://github.com/Nemesarial/console-writer#readme","_id":"@cthru/console-writer@1.1.1","_nodeVersion":"10.10.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Sosy18HnxYukqp0DUpi5kI3xmX+OK1saMRuCoFbhhjGXRTyvAMyoi2q2NcBmQYtwEv658+eidtbJWNQN2tjcVA==","shasum":"fb5478a192adcc6175768e85e22682038ebd0554","tarball":"https://registry.npmjs.org/@cthru/console-writer/-/console-writer-1.1.1.tgz","fileCount":10,"unpackedSize":32682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc/POBCRA9TVsSAnZWagAAXWwP+wT/Lh7nyqloRlzmNJ54\nYutJKgoYZ1idpw8/rV8HH7bIXrUQOtVhE3Wak5alogDUrgL1aMvHj6+/EZ3+\nGrefnfPUtztQ1yc7oXbzt8IkGesFqCZHEYFlGN+R0WwQKUuOtF6hfDRLJkby\npR4w8jHG/Vr2xvXkiyXk74V/U4gZvBk0yh8BysXm80jpkUrGLA2Yk82Ezq55\nkxa57HxNj+iSKFpWb4j1gFKge/Tv+5u+4eYlAm+zcZfvR/ORh96JBd6CiNmZ\nLvGJQbsJginJQXX6U91aGiyZVs9MVdPqRJ3LXTmy12ZfCjYKqqXmLMCkgqDr\n+8otJ+Xiou/RsRWP9vjubH/A5mDmL0ktGy35a7j7jiulDkBDz81VpaIje/JQ\n/5goq02WAfTvzmIprJd7oTLiMuLdbOmeiYJHIccFhs+9EgIdUVnQSFonq46Q\n4LPONYmax8GNKEkI/tAMvlQJAAxQYahXhX5ixkdIszX2QzupkSyQ0AFrVs+J\nLixZMcpnWLLMsxuH7sjShJcBL9nKjlOyRbXw/GZTRdtif8yWqcH1hYWDIkuk\nhbuBHOEnKBHeEAu/PMT6yXFRvNfyB7bsgqfxBGAIg6Y2M1gDP7TDr8PYcAKg\nerrfXxFD23Mm9JmdwVzuGS5r7IAQwzJ93TVQvW7U843o5BrgkS9tywkhr4rS\neiSm\r\n=9UnV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpplol6howJwaga4mHPb7bbycAINkXnBUNNvUwPbbMJQIgIbdghNkPeGF8qSaEcqKgtcBeTclZd4VWnqKyDhAYr0I="}]},"maintainers":[{"name":"mark.h","email":"nemesarial@gmail.com"}],"_npmUser":{"name":"mark.h","email":"nemesarial@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/console-writer_1.1.1_1560081280628_0.6401972055831082"},"_hasShrinkwrap":false}},"time":{"created":"2019-05-31T13:18:35.550Z","1.0.0":"2019-05-31T13:18:35.896Z","modified":"2022-04-05T02:03:59.770Z","1.0.1":"2019-05-31T13:21:03.408Z","1.0.2":"2019-05-31T13:30:53.728Z","1.0.3":"2019-05-31T13:34:02.757Z","1.0.4":"2019-05-31T15:31:39.235Z","1.1.0":"2019-06-09T11:48:18.351Z","1.1.1":"2019-06-09T11:54:40.756Z"},"maintainers":[{"name":"mark.h","email":"nemesarial@gmail.com"}],"description":"A small utility to make writing multiline output to the console a lot more visually appealing and easier to work with","keywords":["console","output","string","manipulation","wrap","format"],"license":"MIT","readme":"# @cthru/console-writer\n\nA simple utility to make it easier and more visually appealing to produce\ncomplex multiline console output in javascript. \n\n[![Version](https://img.shields.io/npm/v/@cthru/console-writer.svg)](https://npmjs.org/package/@cthru/console-writer)\n[![Downloads/week](https://img.shields.io/npm/dw/@cthru/console-writer.svg)](https://npmjs.org/package/@cthru/console-writer)\n[![License](https://img.shields.io/npm/l/@cthru/console-writer.svg)](https://github.com/nemesarial/cmdr/blob/master/package.json)\n[![More Tools](https://img.shields.io/badge/npm%20org-%40cthru-e6b603.svg)](https://www.npmjs.com/search?ranking=quality&q=%40cthru%2F)\n## Why\n\nMultiline string output in JavaScript has traditionally been a pain in the\nrear-end. It looks dismal. You have to manage wrapping yourself. You have to\nmake tons of edits if there is a change early on in the multiline to reformat\nthe stuff that goes below.\n\nI wanted something that would give me more flexibility in producing large\nmultiline strings in a way that is visually appealing inside the script as well\nas outside.\n\n### Examples\n\nThere are a bunch of examples in the `examples` folder. Here is the skinny\n\n**Old Style** \n```javascript\nvar multiStr = \"This is the first line\" + \n\t\"This is the second line\" + \n\t\"This is more...\";\n// or\nvar multiStr = \"This is the first line \\ \n\tThis is the second line \\\n\tThis is more...\"\n```\n\n**With console-writer**\n```javascript\nlet o = require('@cthru/console-writer').string()\nlet multiStr = o\n('This is the first line')\n('This is the sedond line')\n('This is more...')\n.toString()\n```\n\n**Pre-fomatted text works even better**\n```javascript\nlet o = require('@cthru/console-writer').string()\nlet multiStr = o(`\nThis is the first line\nThis is the second line\nThis is more...\n`).toString()\n```\n\nYou may say that we could just use template strings for this anyway, why wrap it\nin a function.. here's why:\n\n```javascript\n//                                               wrap:50 -- this is why\nlet o = require('@cthru/console-writer').string({wrap:50})\nlet multiStr = o.w(`\nQui manu quisquam si caeca [Lavinia centum\ncontendere](http://confusaque.com/facta.php) asello, foret. Ferrum sereno\nSisyphio: squamosos utque. Molem morte, avertitur angustis nobis cornua meos,\nnon glande adgreditur fontes quod alas tua egere in.\n`,true) // <- reflow breaks -- this is why\n// predictable line-breaks -- this is why\n('Some Heading')\n('============')\n(`\nQui manu quisquam si caeca [Lavinia centum\ncontendere](http://confusaque.com/facta.php) asello, foret. Ferrum sereno\nSisyphio: squamosos utque. Molem morte, avertitur angustis nobis cornua meos,\nnon glande adgreditur fontes quod alas tua egere in.\n`)\n.toString()\n```\n\n## Main Api\n\n### Factory function\n```javascript\nconst writerFactory = require('@cthru/console-writer')\n\nconst console80=writerFactory({wrap:80})\nconst console120=writerFactory({wrap:120})\n```\nIn this snippet, `console80` will write directly to the console, wrapping at 80\ncharacters. `console120` will write directly to the console, wrapping at 120\ncharacters.\n\n```javascript\nconsole80('This is the same as `console.log()` except that it will wrap at 80 characters')\n```\n### Chained Functions\nWhenever you execute the console writer, you get back the same console-writer\nfunction. This means you can write using chained function calls: \n\n```javascript\nconsole80('This will go on the first line')('This will go on the second line')\n\n// For the purpose of code legibility you probably want to adopt this form:\nconsole80\n('This will go on the first line')\n('This will go on the second line')\n```\n### Capturing the console\nIf you want to get a string back from the document rather than print it to the\nconsole directly:\n```javascript\nconst writerFactory = require('@cthru/console-writer')\nconst buffer=writerFactory.string({wrap:80})\n\nbuffer('do some stuff')\n\nconsole.log(buffer.toString())\n```\n\n## Additional Functionality\nIt quickly became aparent that there is a lot more we could do with this. So to\navoid making a module with 10 lines of code, I added some candy.\n\n---\n### [writer].w(str, noBr=false)\n*Joins successive calls as if there were no line-breaks.*\n\n||||\n|-----------|-----------|-|\n|str\t  \t|\t\t\t| the string to be printed.\n|noBr\t \t|[false] \t| if set, newlines in the call will also be ignored.\n\n\n---  \n### [writer].title = (t = '', char, space = 1) \n*Print a title.*\n\n||||\n|-----------|-----------|-|\n|t\t\t  \t|\t\t\t| the string to be printed.\n|char\t \t|[#]\t \t| the character used to decorate the title.\n|space\t    |[1]        | number of spaces between the docoration line and the                            actual title.\n\n\n---\n### [writer].title.full = (t = '', char, space = 1)\n*Print a full-width title, with centered text.*\n\n||||\n|-----------|-----------|-|\n|t\t\t  \t|\t\t\t| the string to be printed.\n|char\t \t|[#]\t \t| the character used to decorate the title.\n|space\t    |[1]        | number of spaces between the docoration line and the                            actual title.\n\n\n---\n### [writer].center = (str, w) \n*Print a centerd line.*\n\n||||\n|-----------|-----------|-|\n|str\t  \t|\t\t\t| the string to be printed.\n|w\t        |[cfg.wrap] | the width at which to wrap. Defaults to configured                              wrap width.\n\n\n---\n### [writer].right = (str, w, p) \n*Print a right-aligned string.*\n\n||||\n|-----------|-----------|-|\n|str\t  \t|\t\t\t| the string to be printed.\n|w\t        |[cfg.wrap] | the width at which to wrap. Defaults to configured                              wrap width.\n|p\t  \t\t|[0]\t\t| indented padding from the right.\n\n\n---\n### [writer].tab = (n = 1) \n*Print any number of tab characters. This will not produce a new line.*\n\n||||\n|-----------|-----------|-|\n|n\t\t  \t|[1]\t\t| The number of tabs to enter\n\n\n---\n### [writer].pad = (n = 1, char = ' ') \n*Print any number of characters. This will not produce a new line.*\n\n||||\n|-----------|-----------|-|\n|n\t\t  \t|[1]\t\t| The number of tabs to enter\n|char\t \t|[:space:] \t| if set, newlines in the call will also be ignored\n\n---\n### [writer].sep = (char = '-', n) \n*Print a separator*\n\n||||\n|-----------|-----------|-|\n|char\t  \t|[-]\t\t| The character to use for the separator\n|n\t        |[cfg.wrap] | The width of the separator, defaulting to the                                   configured wrap width\n\n\n---\n### [writer].space = (n) \n*Print any number of spaces. This does not produce a newline.*\n\n||||\n|-----------|-----------|-|\n|n\t\t \t|[false] \t| The number of spaces to print\n\n\n---\n### [writer].nl = (n = 1) \n*Print any number of newlines*\n\n||||\n|-----------|-----------|-|\n|n\t\t \t|[1]\t \t| The number of newlines to print\n\n\n---\n### [writer].h1 = (str = '') \n*Print an H1*\n\n||||\n|-----------|-----------|-|\n|str\t  \t|\t\t\t| the string to be printed  \n\n\n---\n### [writer].h2 = (str = '') \n*Print an H2*\n\n||||\n|-----------|-----------|-|\n|str\t  \t|\t\t\t| the string to be printed  \n\n\n---\n### [writer].h3 = (str = '') \n*Print an H3*\n\n||||\n|-----------|-----------|-|\n|str\t  \t|\t\t\t| the string to be printed  \n\n\n---\n### [writer].preformatted = (str = '') \n*Print a preformatted string as-is*\n\n||||\n|-----------|-----------|-|\n|str\t  \t|\t\t\t| the string to be printed  \n\n\n---\n### [writer].inspect = (obj, { showHidden: false, depth: 5, color: true }) \n*Print the inspected object*\n\n||||\n|-----------|-----------|-|\n|obj\t    \t|\t\t\t    | the object to inspect  \n|showHidden\t|\tfalse\t\t| Show hidden items  \n|depth\t  \t|\t5\t\t    | Recrurse to this depth  \n|color\t  \t|\ttrue\t\t| Include color in the output  \n\n\n## A final example\n```javascript\nconst out = require('../src/writer-factory')({ wrap: 70 })\n\nout\n.title.full('This is a standard Title','#',0)\n()\n.right('This is right-aligned')\n()\n.right('This is right-aligned and wrapped at 30 characters',30)\n()\n.right('This is right-aligned and wrapped at 35 characters and right-padded by 5 characters',35, 5)\n.sep()\n.nl(2)\n.h1('First Level Heading')\n.center('This is center-aligned that will only wrap when hitting the edges')\n()\n.h2('Second Level Heading')\n.center('This is center-aligned with content with a maximum width of 25 chars',25)\n()\n.h3('Third level Heading')\n.pad(4)('This is left-aligned text with a maximum of 35 chars, and the first line indented by 4',35)\n()\n('This is left-aligned text with a maximum of 50 chars, and the full string is indented by 4',50,4)\n```\nProduces this output: \n```\n######################################################################\n                       This is a standard Title\n######################################################################\n\n                                                 This is right-aligned\n\n                                             This is right-aligned and\n                                              wrapped at 30 characters\n\n                                This is right-aligned and wrapped\n                                at 35 characters and right-padded\n                                                  by 5 characters\n----------------------------------------------------------------------\n\n\nFirst Level Heading\n===================\n  This is center-aligned that will only wrap when hitting the edges\n\nSecond Level Heading\n--------------------\n\n                        This is center-aligned\n                         with content with a\n                      maximum width of 25 chars\n\n>>>>> Third level Heading\n\n    This is left-aligned text with a\nmaximum of 35 chars, and the first\nline indented by 4\n\n   This is left-aligned text with a maximum of 50\n   chars, and the full string is indented by 4\n```\n\n","readmeFilename":"Readme.md","homepage":"https://github.com/Nemesarial/console-writer#readme","repository":{"type":"git","url":"git+https://github.com/Nemesarial/console-writer.git"},"bugs":{"url":"https://github.com/Nemesarial/console-writer/issues"}}