{"_id":"ansi-wordwrap","_rev":"3-389b1ea4ef136d1b3193e32f31315ea0","name":"ansi-wordwrap","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"ansi-wordwrap","version":"1.0.0","description":"Word wraps text while ignoring ANSI codes","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Tom Dinchak","email":"dinchak@gmail.com"},"keywords":["ansi","wordwrap"],"repository":{"type":"git","url":"git+https://github.com/dinchak/node-ansi-wordwrap.git"},"license":"ISC","gitHead":"8d1ca4f20a5dd675f31b61d392b37590db77a691","bugs":{"url":"https://github.com/dinchak/node-ansi-wordwrap/issues"},"homepage":"https://github.com/dinchak/node-ansi-wordwrap#readme","_id":"ansi-wordwrap@1.0.0","_npmVersion":"6.3.0","_nodeVersion":"8.11.1","_npmUser":{"name":"dinchak","email":"dinchak@gmail.com"},"dist":{"integrity":"sha512-vicOSaijttEMtZk94uEavz/mT2mf+rf4cVrBDSUchqrAwVWXXe8abZNx/uEpC0+WNZJ/LN9wd/gBI+t+lcYutg==","shasum":"a4773dc6e19d08c4f56176d89dc42f060e3137c9","tarball":"https://registry.npmjs.org/ansi-wordwrap/-/ansi-wordwrap-1.0.0.tgz","fileCount":5,"unpackedSize":3674,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2PNkCRA9TVsSAnZWagAAz48P+weooCZGHo7oZWxmDr7A\nj8onLrIb+m3aKtkpM2DvNcpaWL9JIiekJ8Sb+8FAdAptlHh7HnnmMrIPoQv2\nHZIyfoplfcUF4wJZ1o42WpNM+TO/X4tQamdf+zMmCTyjckZuxBl5XwuXInaH\nkBCuxtQM4hfY1T9+7/Cr5SRfJWXyEq4ouI25nvQeyXG+Ew5+/FZt43iHrIdg\nT77m6vzT8dtrcipYCQKeysF39oZT0JOMNAWnAtoDCeyZdKzxzZPNmq8nGLNf\nXIK/C2p9Vbh+hn/4vo9TzXsfwi8DTS/xLRPbDeVloneb3FzYmynCPGXpgd31\nO1I5rnequbFW4KPpEwyhncKeJLSoRUxOPFxBCXkja3IQ/PKPKzSdsweq2Xrw\nrKPYss0pNlTxT7dMnSKLAIpM0LJ//Kh0a1uV3ojcRQw692T3sqLunuojFTQF\n3CQs22JgbeMB79duDiY6NRASMWuPnPMS7/L/XpXZMz3/CuJLSvHGdYCTdn/H\nUCpQk2k30sIKZQHjH/1diN173JuN392DbEjvHJ2pxRnpmYDbq5Fns61NhIbU\n+hjNrtlw2E8b9zTpfd3XtFr5/SNmQ89iEZhoyPzRqhLJZ1weH7vqEB9bE1SM\nn3VoF3j+finWOlcW7yO1r7zmBCNlxfwVvl64dyJBZ4IZG+cEUFVt20ctS3ZS\nMYQV\r\n=dme+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHEEXx8WiIabD/MhTTlJUaWUqNP358dA0mlYq7izFQXQIgN2iwGrqdLz9zMF2dCpC/pyPh9gbU2pVpMH6DE/J85sw="}]},"maintainers":[{"name":"dinchak","email":"dinchak@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ansi-wordwrap_1.0.0_1540944739428_0.5483133675341287"},"_hasShrinkwrap":false},"1.0.1":{"name":"ansi-wordwrap","version":"1.0.1","description":"Word wraps text while ignoring ANSI codes","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Tom Dinchak","email":"dinchak@gmail.com"},"keywords":["ansi","wordwrap"],"repository":{"type":"git","url":"git+https://github.com/dinchak/node-ansi-wordwrap.git"},"license":"ISC","gitHead":"3578a58344ad3bc42984d02a187112a395249bce","bugs":{"url":"https://github.com/dinchak/node-ansi-wordwrap/issues"},"homepage":"https://github.com/dinchak/node-ansi-wordwrap#readme","_id":"ansi-wordwrap@1.0.1","_npmVersion":"6.3.0","_nodeVersion":"8.11.1","_npmUser":{"name":"dinchak","email":"dinchak@gmail.com"},"dist":{"integrity":"sha512-bGTmqOyfKyNEYL/Wuv7rhRHbKxCnSmePjQep7X7L8IGAahsHa+/FQXUCDMcLKeLkRIs1dAmfjfVBGRtOmWZVPA==","shasum":"0cc3f77f8b1abe9f98a668cbf27e462ae72ebb2b","tarball":"https://registry.npmjs.org/ansi-wordwrap/-/ansi-wordwrap-1.0.1.tgz","fileCount":4,"unpackedSize":3492,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2Q8ICRA9TVsSAnZWagAACBMQAITZGEf0b55usQNxNpE5\n+3iWEPsAMYsj/nyx+O07wWni/qVaBtVhgZIPsmXIPusnxbBjk3DK1Qj2wUrq\n+fgl0xQmxd0OliLqdJfl6Gy70zGaAJnzo210O6AS570xNMq7nen4Zj6bZLUr\nuDIOH66a/V7Rnr42ICJyreGG/kP9iV8bDlqLYqcrOe5e3NbjUlck1TMhC+04\n+ZJOpKDJ4d15BYs+u8RKZY3gYh21hwqrnyJ+wYBnpmEYRBm/s1NLBgpwQ+DX\nicU6NwkVAAJEGclzX2PUzKD4GK8VVYkubzPKEf46lBWugk4y7iNWfdkLiJf4\nnO9Dm42NlqiaShwVxQ9PzFklEE2uM7gsWaiUm8g4PfDnIUv6u2h+emvQf2lf\nVE5NiGZCo/qxSuFRx/LkG62qtReEURX+wp6n2llZDp5/jR8B2V1XAXkxDzGQ\nL3uUuVb19+eTO4lVj52JUl9ZgP8qBqb7tBwbQmPehd+NrqIGy+XviiaNEaKh\nTK0tMxGCybeseaN7YHzKRkzleZf7nquW4kQQFrJ7mdSLpFoUEwWFcjFXqf9A\nO+3D5Y1ZsQUn0ryaxBW2u4eR/O8bloVul+7GH5zc+bAPgD/2mVgAvFGMD4+w\nIVAwGlt5nAmAwXGctpu3qPMT4svNDQDLi3LuIJPcPaYFG4Hzy7TKGJAv3vGj\nFSL6\r\n=mvkh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDn7NBGbZPdfa1lqMY79Mop4FIZmvgzLrhhzMbROuSD5wIhAIRPraaLkkGvhssLEEYvMfunVwZIJ5/I5qC7DugwJB6W"}]},"maintainers":[{"name":"dinchak","email":"dinchak@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ansi-wordwrap_1.0.1_1540951815589_0.9081150599447365"},"_hasShrinkwrap":false},"1.0.2":{"name":"ansi-wordwrap","version":"1.0.2","description":"Word wraps text while ignoring ANSI codes","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Tom Dinchak","email":"dinchak@gmail.com"},"keywords":["ansi","wordwrap"],"repository":{"type":"git","url":"git+https://github.com/dinchak/node-ansi-wordwrap.git"},"license":"ISC","gitHead":"812d95c242f573e1110e3e3193e9a9d662468983","bugs":{"url":"https://github.com/dinchak/node-ansi-wordwrap/issues"},"homepage":"https://github.com/dinchak/node-ansi-wordwrap#readme","_id":"ansi-wordwrap@1.0.2","_npmVersion":"6.3.0","_nodeVersion":"8.11.1","_npmUser":{"name":"dinchak","email":"dinchak@gmail.com"},"dist":{"integrity":"sha512-kpF1wxavNq9oWFepGI+VDdA1h+NQW0gUfNZFBw6Ukujz6L5f0GGUqnTRgoY0//0D8cYIcpR93+deF/IX0ORcmA==","shasum":"0195cc379ec07ce9bc263500efaa8a13dbb93fd7","tarball":"https://registry.npmjs.org/ansi-wordwrap/-/ansi-wordwrap-1.0.2.tgz","fileCount":4,"unpackedSize":3614,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2RFgCRA9TVsSAnZWagAAiaYP/jNEAKWEiPQ8w1oMtPIc\nv3ECv2baEQiX+JMXJ6sjouIjpyWSKZ7nKBybFp8iSnb8Fcm5a1anIcG9CIbk\nCA4p85K5qPGflYEiem9usTrcQaPzjIq4qmMfSoef2Lu1xW5YQSfqA4/39Gri\nhxetyMdnh9qZ02lrPD/Gu3JzO+Rnue/n1WBeJBpAWF8qcKiVUlQMK7th63dK\nwXuuzQjXBE5HoGWtpaN/FSp32wGDMAwsFcHKdX6SHdKulwg/zcmxjCzGM1jW\n4ze9KaYTAosm8whdkqRABgqJArjqpFPk/KeDRWnXnMCCVs96MfjFUsFra5N9\narfGs1MRVmBK1cPrd3bwa9UAmafy1TaQ542tLN+OnCLwH/vvKEfMCwFSSqCD\nTCbJWGICVRc1Fi+mCcufuViPT0vrKlpA2si+QVFcewH534VgGITC3TkfPoWu\n8qQWcdGCG4nyFDWjfPoxlN0aqoaXy04GKGlgAYDMUMqYvfWe8z526L1hNF4O\nLK+yzYErmEq1HLnowfDAIXTwY0j2wDMYk+BNzGpMAoBZfFjB3BZFYia1cP4t\nKFlIpqv/nBnbsxX0iHhSVLDwhX5VoKuSacqctia+gDXtXFOa4/1Ov7ZBfsap\n9IS7vAgbHT1AMLWn7aZu8IGbPQDzSop26wmu1LS4DE+OCx0dYP7jqQVivXEm\n2JJR\r\n=cwPW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGRzRRS842eI9YD+RKrgu6cJoIoCnBhtXUEih7YNJri6AiEA0nlBtiSjblPWdlf1lQR2uF4LuB1uC8+qmCp/JxwKWcA="}]},"maintainers":[{"name":"dinchak","email":"dinchak@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ansi-wordwrap_1.0.2_1540952415913_0.18198160461284796"},"_hasShrinkwrap":false}},"time":{"created":"2018-10-31T00:12:19.428Z","1.0.0":"2018-10-31T00:12:19.538Z","modified":"2022-04-11T14:18:52.710Z","1.0.1":"2018-10-31T02:10:15.760Z","1.0.2":"2018-10-31T02:20:16.085Z"},"maintainers":[{"name":"dinchak","email":"dinchak@gmail.com"}],"description":"Word wraps text while ignoring ANSI codes","homepage":"https://github.com/dinchak/node-ansi-wordwrap#readme","keywords":["ansi","wordwrap"],"repository":{"type":"git","url":"git+https://github.com/dinchak/node-ansi-wordwrap.git"},"author":{"name":"Tom Dinchak","email":"dinchak@gmail.com"},"bugs":{"url":"https://github.com/dinchak/node-ansi-wordwrap/issues"},"license":"ISC","readme":"# ansi-wordwrap\nHave you ever needed to word wrap text that had ANSI color codes in it? Did you want to ignore the ANSI color codes? If you answered \"heck yeah\" to any of those questions then you've come to the right web site.\n\n## Installation\n`npm install ansi-wordwrap`\n\n## Examples\n```javascript\nconst wrap = require('ansi-wordwrap')\n\n// use default options\nwrap(someLongString)\n\n// specify options\nwrap(someLongString, {width: 80, patterns: [/@[A-Z]+@/g]})\n```\n\n## Options\nThe optional second argument is an options object.\n\n### width\nThe width to wrap each line to, defaults to `80`.\n\n### ignoreAnsi\nWhen set to `false` this will disable the default pattern for matching ANSI codes, which is `/\\u001b.*?m/g`  Defaults to `true`.  Useful if I've done a terrible job of defining this regex.\n\n### patterns\nAn array of regexes representing the patterns that should be ignored.  For example, to ignore tokens of the form `@TOKEN@`, you could do:\n\n```javascript\nwrap(str, {patterns: [/@[A-Z]+@/g]})\n```\n","readmeFilename":"README.md"}