{"versions":{"1.0.0":{"name":"ansi-style-parser","version":"1.0.0","description":"[![build status](https://secure.travis-ci.org/smallhelm/ansi-style-parser.png)](https://travis-ci.org/smallhelm/ansi-style-parser) [![dependency status](https://david-dm.org/smallhelm/ansi-style-parser.svg)](https://david-dm.org/smallhelm/ansi-style-parse","main":"index.js","scripts":{"test":"node tests.js"},"repository":{"type":"git","url":"git+https://github.com/smallhelm/ansi-style-parser.git"},"keywords":["ansi","styles","colors","parser"],"author":{"name":"farskipper"},"license":"MIT","bugs":{"url":"https://github.com/smallhelm/ansi-style-parser/issues"},"homepage":"https://github.com/smallhelm/ansi-style-parser#readme","devDependencies":{"chalk":"^1.1.3","tape":"^4.5.1"},"dependencies":{"ansi-regex":"^2.0.0"},"gitHead":"73b93e70f9879e108066b4c56f854b13cb434ee3","_id":"ansi-style-parser@1.0.0","_shasum":"b5f1d6e0f7401b8e309c1f6ddeb463e5f1b9770a","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"anonymous","email":"farskipper@smallhelm.com"},"dist":{"shasum":"b5f1d6e0f7401b8e309c1f6ddeb463e5f1b9770a","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/ansi-style-parser/-/ansi-style-parser-1.0.0.tgz","size":2653,"integrity":"sha512-GV8d0kXXknopOTjVwLZ0j5JGY2ix88Aoz1U6cndkdFF+F4iAxbs5vJf97zbYNsuFCUDSvDiY7tCUdXraqUY+NQ=="},"maintainers":[{"name":"anonymous","email":"farskipper@smallhelm.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ansi-style-parser-1.0.0.tgz_1461700334511_0.4588388928677887"},"directories":{},"_cnpmcore_publish_time":"2021-12-19T19:13:26.689Z","deprecated":"This package is no longer maintained.","contributors":[]},"1.0.1":{"name":"ansi-style-parser","version":"1.0.1","description":"Parse ansi colors and styles","main":"index.js","scripts":{"test":"node tests.js"},"repository":{"type":"git","url":"git+https://github.com/smallhelm/ansi-style-parser.git"},"keywords":["ansi","styles","colors","parser"],"author":{"name":"farskipper"},"license":"MIT","bugs":{"url":"https://github.com/smallhelm/ansi-style-parser/issues"},"homepage":"https://github.com/smallhelm/ansi-style-parser#readme","devDependencies":{"chalk":"^1.1.3","tape":"^4.5.1"},"dependencies":{"ansi-regex":"^2.0.0"},"gitHead":"6227257ead23eac5869514cf94a560f810e2d5b8","_id":"ansi-style-parser@1.0.1","_shasum":"67a94571f3f20e27de0665c7f2fca9f91200e1aa","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"anonymous","email":"farskipper@smallhelm.com"},"dist":{"shasum":"67a94571f3f20e27de0665c7f2fca9f91200e1aa","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/ansi-style-parser/-/ansi-style-parser-1.0.1.tgz","size":2797,"integrity":"sha512-ZpwSnXl+VXOwfXbT5vtUT/oTBg8q2OeqUubrAuwAJanvOK6XW11Rafvs0rkte1+DnGPcpmGQOhPQ8QmOHf10SQ=="},"maintainers":[{"name":"anonymous","email":"farskipper@smallhelm.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ansi-style-parser-1.0.1.tgz_1461701135701_0.6925927626434714"},"directories":{},"_cnpmcore_publish_time":"2021-12-19T19:13:27.560Z","deprecated":"This package is no longer maintained.","contributors":[]},"1.1.0":{"name":"ansi-style-parser","version":"1.1.0","description":"Parse ansi colors and styles","main":"index.js","scripts":{"test":"node tests.js"},"repository":{"type":"git","url":"git+https://github.com/smallhelm/ansi-style-parser.git"},"keywords":["ansi","styles","colors","parser"],"author":{"name":"farskipper"},"license":"MIT","bugs":{"url":"https://github.com/smallhelm/ansi-style-parser/issues"},"homepage":"https://github.com/smallhelm/ansi-style-parser#readme","devDependencies":{"chalk":"^1.1.3","tape":"^4.5.1"},"dependencies":{"ansi-regex":"^2.0.0"},"gitHead":"333cb0d8f8a82c2c555bba6e435b96d7bb322495","_id":"ansi-style-parser@1.1.0","_shasum":"70d24afdc78937b54b3077cb95a4e63863802146","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.1","_npmUser":{"name":"anonymous","email":"farskipper@smallhelm.com"},"dist":{"shasum":"70d24afdc78937b54b3077cb95a4e63863802146","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/ansi-style-parser/-/ansi-style-parser-1.1.0.tgz","size":2904,"integrity":"sha512-+/iZ/CRBPHalunWeWRVDhlUr3PPfgP3NoKlOx0z0WsYg07fk7oYS5SlRyIKOtkGoAuI5X0Egx9HDvb5kw0dd7g=="},"maintainers":[{"name":"anonymous","email":"farskipper@smallhelm.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/ansi-style-parser-1.1.0.tgz_1490411813781_0.8322464432567358"},"directories":{},"_cnpmcore_publish_time":"2021-12-19T19:13:28.415Z","deprecated":"This package is no longer maintained.","contributors":[]},"2.0.0":{"name":"ansi-style-parser","version":"2.0.0","description":"Parse ANSI colors and styles","main":"index.js","scripts":{"test":"node tests.js"},"repository":{"type":"git","url":"git+https://github.com/smallhelm/ansi-style-parser.git"},"keywords":["ansi","styles","colors","parser"],"author":{"name":"farskipper"},"license":"MIT","bugs":{"url":"https://github.com/smallhelm/ansi-style-parser/issues"},"homepage":"https://github.com/smallhelm/ansi-style-parser#readme","devDependencies":{"chalk":"^2.3.1","tape":"^4.8.0"},"dependencies":{"ansi-regex":"^3.0.0"},"gitHead":"fc32f1b030a45af41c4f32defb14e342211ac0fc","_id":"ansi-style-parser@2.0.0","_shasum":"aa7d4d4bd3a19beb499616feda01bd90cea6dac6","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"anonymous","email":"farskipper@smallhelm.com"},"dist":{"shasum":"aa7d4d4bd3a19beb499616feda01bd90cea6dac6","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/ansi-style-parser/-/ansi-style-parser-2.0.0.tgz","fileCount":8,"unpackedSize":18614,"size":6028,"integrity":"sha512-PNk9VlUjFfdPIsttwhAoNQqbOmxuxsObH2gPsVZBgT6urlRFQhm1wrg2MCyWGk1DiHN3Cce72ol7TBkFc2qt8Q=="},"maintainers":[{"name":"anonymous","email":"farskipper@smallhelm.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ansi-style-parser_2.0.0_1518447792846_0.26740593238676214"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T19:13:28.516Z","deprecated":"This package is no longer maintained.","contributors":[]},"3.0.0":{"name":"ansi-style-parser","version":"3.0.0","description":"Parse ANSI colors and styles","main":"index.js","scripts":{"test":"node tests.js"},"repository":{"type":"git","url":"git+https://github.com/smallhelm/ansi-style-parser.git"},"keywords":["ansi","styles","colors","parser"],"author":{"name":"farskipper"},"license":"MIT","bugs":{"url":"https://github.com/smallhelm/ansi-style-parser/issues"},"homepage":"https://github.com/smallhelm/ansi-style-parser#readme","devDependencies":{"chalk":"^4.1.0","tape":"^5.0.1"},"dependencies":{"ansi-regex":"^5.0.0"},"gitHead":"cf54781b482c8adfeb11caeaee952c16e7c89187","_id":"ansi-style-parser@3.0.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","_npmUser":{"name":"anonymous","email":"farskipper@smallhelm.com"},"dist":{"integrity":"sha512-dIrAK6vp4J61qIqWK9gulJhRtWUoIO9YD40I8UGKcW/H23CIUQv7c4ZDyj93FtBZa8YwhFMrWx4JvjgDM/G6Yw==","shasum":"2a44a75039032c07f41d7ed04f9b414c45c6fa89","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/ansi-style-parser/-/ansi-style-parser-3.0.0.tgz","fileCount":6,"unpackedSize":6878,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfLrcNCRA9TVsSAnZWagAAGU4P/3AYoohcq2/0Ny2GtafV\nHSykptwx2QxiLEdzafAXtp1VRzWu9X8SyxYEdm2SI2ebaOby9BOQW9uO2K8V\nDj7Jc4VXWVpJg3wy32R0RMR7YmB/It699tzAN0SduZ3bHz9IjNoEOWCO3Sb2\ngYBmULv+NhyigwyhjOI8+rTdCWkwB8L12A2jmeG3ikWDR8zqhbEqsd0v7TH8\nrf+e3J3RNlybSY9Ksn/hXRb/W5b+IA7UQgljU3SlMxfCZb0mb+bTmNPL75JN\nJ1r4eScvv4J5ZTBZmlbC73DImq5SIMG/kO1+PkxnKDxZdxHGyj+ZF+fy+h08\nqp6P6hNUxgd4qbqbaDMHk/dzkrL9ANZBs4epE8Odrya0vu8t45TavHeKPrD7\n3b38BBKdFe8H2nHNkuRsKmE/NlicQtpuPAoD6dzj0ju6g2PREQvtVu2ziufQ\no9QmO1VKKGH+TvYE6Cs8Wv+VyxwEclhJxy3kndeE32tPcS18D8U/160HLkxD\nnwLhjUChiLkcch0kbjtRK6hWVQtaHHc4vAuOGGfotjs1c5MVcTqAvaLK/pBr\nV3yn9fhsbeX+8lF6nNWPnCsTcCrYY8EgplofLgxFrx5qeyJ5pSZlqvgbmtuy\nYx8aEj3mF2+w37nsOByFFe4XzMeGhQ1I9cPPFVjYytzcSG0Be+6HCGVc3Mbw\n4UWJ\r\n=o8a1\r\n-----END PGP SIGNATURE-----\r\n","size":2842},"maintainers":[{"name":"anonymous","email":"farskipper@smallhelm.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ansi-style-parser_3.0.0_1596897037203_0.701406858969212"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T19:13:29.406Z","deprecated":"This package is no longer maintained.","contributors":[]},"3.0.1":{"name":"ansi-style-parser","version":"3.0.1","description":"Parse ANSI colors and styles","main":"index.js","scripts":{"test":"node tests.js"},"repository":{"type":"git","url":"git+https://github.com/smallhelm/ansi-style-parser.git"},"keywords":["ansi","styles","colors","parser"],"author":{"name":"farskipper"},"license":"MIT","bugs":{"url":"https://github.com/smallhelm/ansi-style-parser/issues"},"homepage":"https://github.com/smallhelm/ansi-style-parser#readme","devDependencies":{"chalk":"^4.1.0","tape":"^5.0.1"},"dependencies":{"ansi-regex":"^5.0.1"},"gitHead":"b62c0a557b027e566906c63b4d939126288674af","_id":"ansi-style-parser@3.0.1","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","_npmUser":{"name":"anonymous","email":"farskipper@smallhelm.com"},"dist":{"integrity":"sha512-XjtQrH42swDirqHKOaN4VbUoAUEjrj1MzagbTXauF5EdOzJbsH1RbPAJKV46GDANYshlXigF9oW03zJpHBz2yw==","shasum":"ff07bffa7a1a4e6168fb183d0cec39fa65f08fd5","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/ansi-style-parser/-/ansi-style-parser-3.0.1.tgz","fileCount":6,"unpackedSize":6751,"size":2815},"directories":{},"maintainers":[{"name":"anonymous","email":"farskipper@smallhelm.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ansi-style-parser_3.0.1_1634962468444_0.7971993881000103"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T19:13:30.284Z","deprecated":"This package is no longer maintained.","contributors":[]},"3.0.2":{"name":"ansi-style-parser","version":"3.0.2","description":"Parse ANSI colors and styles","main":"index.js","scripts":{"test":"node tests.js"},"repository":{"type":"git","url":"git+https://github.com/smallhelm/ansi-style-parser.git"},"keywords":["ansi","styles","colors","parser"],"author":{"name":"farskipper"},"license":"MIT","bugs":{"url":"https://github.com/smallhelm/ansi-style-parser/issues"},"homepage":"https://github.com/smallhelm/ansi-style-parser#readme","devDependencies":{"chalk":"^4.1.0"},"dependencies":{"ansi-regex":"^5.0.1"},"gitHead":"6c7f9e87f4be6be7510e42e80a55cfb61f44150e","_id":"ansi-style-parser@3.0.2","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-5T2Rp3HI5pjXQfBKYepWlEw4NKwOyS8HjA4PZe6HrhL3jsRhXFWmcvghIYlrH//7aKEXfSkzT7xZ14cCwik3ng==","shasum":"bbeaaa39f5cb2e6e9ac5d81b021f6b87cb002904","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/ansi-style-parser/-/ansi-style-parser-3.0.2.tgz","fileCount":5,"unpackedSize":6551,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHXB2aOisvMovhhJacaOmhVwQQIvD6Z5cc2p8u08Ov5iAiBJTTrdyJ6Ggcyu+s1tEor/AgecvJkwLlJaMESywy0iLg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCBE/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmre6Q/9F77rcoBvsgtzgu2spJJzg/IKh3IIS+ebMLgvE0Ht6pOSp4Dx\r\n/yb4bl5sYi0rDQijijTDqIfqDUaBzZ5v5zo4Dz6VqbrVjurLRTV2p6KHY8RB\r\neKoV71vBBZivhqNomBb+NrcKsO/peEEFxYRNK5Y2N8M7PEy4TaTFBdY44Ic3\r\n1quWf21iJZ23L8VExRNapmcAaBZEOu+pW0/Vif6epkuWzYiEPqlez06aeA7d\r\nbO5jp1vzyDqa8qkweB17obKiCBWj2Cg7ylQscqCIzOtF9WAm4X6AnJL6jWPY\r\n56e+9lTfx9jjNiux57O3vgIQn78iC/GscL1abdTaPV368CAImN/vL8oyXilB\r\nEvkNmR/e4SA4YIf2l0AeV7sNcmnCrJ6gloQe95C5JeHCBGD3AAQdSBsRkkAd\r\nINum8Xf7QKAWEP8ff9ZeC5HBL5xfS7lS0G2yuVSYP5B18E5MqMw6FxXH8hLU\r\nklNFM2MtEVr8pDzGLrwZw4vJ7428DQ75UKsUkV1MLxjNekl45UPVd6nQVAdc\r\nuSGsBjbNKLt00kXuMp4PUcBevBvEGqZJUFptwm5qPK+pe7bVvFxX1zScqbTj\r\n/4K2jYPEIDxCp80EXgtUIvbR4YUGft2qK7ecq71JE7YWF4wGJiOdCYJkoz7p\r\nccQZcBo3eSkMwL6gyIegHqqL8NS28wsPxt0=\r\n=DHX4\r\n-----END PGP SIGNATURE-----\r\n","size":2682},"_npmUser":{"name":"anonymous","email":"farskipper@smallhelm.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"farskipper@smallhelm.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ansi-style-parser_3.0.2_1678250303491_0.1795740367608487"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-08T04:38:23.662Z","publish_time":1678250303662,"deprecated":"This package is no longer maintained.","contributors":[]}},"dist-tags":{"latest":"3.0.2"},"name":"ansi-style-parser","time":{"created":"2022-01-26T20:57:50.381Z","modified":"2025-03-10T16:14:25.604Z","1.0.0":"2016-04-26T19:52:17.058Z","1.0.1":"2016-04-26T20:05:36.098Z","1.1.0":"2017-03-25T03:16:54.376Z","2.0.0":"2018-02-12T15:03:13.576Z","3.0.0":"2020-08-08T14:30:37.316Z","3.0.1":"2021-10-23T04:14:28.564Z","3.0.2":"2023-03-08T04:38:23.662Z"},"readme":"# ansi-style-parser\n\nParse ANSI colors and styles\n\n## Install\n`npm install ansi-style-parser`\n\n## Usage\n\n```js\nvar c = require('chalk');\nvar parser = require('ansi-style-parser');\n\nvar txt = 'Some ';\ntxt += c.bold.green('styled ' + c.underline.bgBlack('text') + c.red('!'));\n\nconsole.log(parser(txt));\n```\nOutput:\n```js\n[ { styles: [],\n    text: 'Some ' },\n\n  { styles: [ 'bold', 'green' ],\n    text: 'styled ' },\n\n  { styles: [ 'bold', 'green', 'underline', 'bgBlack' ],\n    text: 'text' },\n\n  { styles: [ 'bold', 'red' ],\n    text: '!' } ]\n```\n\n## License\nMIT","users":{}}