{"_id":"axe-result-pretty-print","_rev":"3-69c11cedc1362f67d749ba6057908322","name":"axe-result-pretty-print","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"axe-result-pretty-print","version":"1.0.0","description":"The module allows to make readable output for aXe core accessibility results from raw aXe result object.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/lpelypenko/axe-result-pretty-print.git"},"engines":{"node":">=8.9.0"},"keywords":["axe","report","test","accessibility"],"author":{"name":"Liliia Pelypenko","url":"liliia.pelypenko@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/lpelypenko/axe-result-pretty-print/issues"},"homepage":"https://github.com/lpelypenko/axe-result-pretty-print","scripts":{"clean":"rm -rf dist build","prebuild":"npm run clean","build":"tsc --project tsconfig.build.json","test":"jest test","test:watch":"jest test --watch"},"publishConfig":{"access":"public"},"peerDependencies":{"axe-core":">=3"},"devDependencies":{"@types/jest":"^25.2.3","@types/node":"^14.11.8","jest":"^26.5.3","prettier":"^2.1.2","ts-jest":"^26.4.1","typescript":"^4.0.3"},"dependencies":{"chalk":"^4.1.0"},"gitHead":"a507a23155e844a192670a0668a22af6fec24872","_id":"axe-result-pretty-print@1.0.0","_nodeVersion":"10.22.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-BXOqQiAH3fGAB7I9rWABm0Dd06h5RdazF1jnbeW2xkI78KFSX/lHtKQeYYoWZ6/xdDepNuqIM4C7flD/OXMh0g==","shasum":"de848d36ef84a57500fcd5a1ada40d3399872201","tarball":"https://registry.npmjs.org/axe-result-pretty-print/-/axe-result-pretty-print-1.0.0.tgz","fileCount":18,"unpackedSize":285468,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfhsZ8CRA9TVsSAnZWagAASJgP/1sSlvOw2Qnp+WNMnIZY\nEcnQhRXmRzkmfZcGXrhxvoTctYq3oguknfsP82mBJhCn/SjY+WcRDdDZLXN6\n6aGN/N+siovyX1uMLFoVxgiXItPYswviFaBobKkiv+T2GMZLaiLY1MrrL4KO\ny66haaFK51bqUNj3S4l16L8RqvGulKLd0eEXkojzndDWIRvdqawkm6rznHNM\nIJgGnZhSa3TTYPU3adLG0mZKFDDNKPIbR/5jrja48rneOWHONKKNo8k9Q5Ov\nMgZ2N+KGFhIR4jROQcWYV2kgoIOYJ+vW4O540ZErZYa0FsvRikCIoS5o/Vga\n20UsXP+fYfRrL25q2hR9l/QiqA1qc4O7r7d3z4TMq2njr/pebnTXbdhsbjjI\n08ijabzzVt5oyixbcpDXsNX/PrBb+NHVkM7pARuLCqR1uF/aQSYJq0ZRtS1r\nSDFH00nDrak7WaERflqdsDsLW+eyCfraOauwZU6n0vuqBtSORVdgGRRkf+T0\nIrFT8T3fDYRcTKAF5W3aG2j1eVIBrnI0kM1ipsSzKoOLD/wVPZcSutl2gtyB\n5KMW9n7EtCPS6kjm4Rp6Yiv/EQN0d1MKGsroIFW5IkitH9ueA7Tq7yDC+tqr\nM1Ys2Bc0Y/yyGuD7MmksnxJgIijaakmnMQhmUQRD6h6o5YtpIFx+yjTueSOl\nJNgY\r\n=geX0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGDjbAxONgut2OvQN33PFDcZdY91RWr3mHxTvFLDT5z1AiEAnCZ5K0m4qD/cL9qu30kEcw+bt50lwwJ514mIYZRIfEU="}]},"maintainers":[{"name":"lpelypenko","email":"liliia.pelypenko@gmail.com"}],"_npmUser":{"name":"lpelypenko","email":"liliia.pelypenko@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axe-result-pretty-print_1.0.0_1602668155799_0.9254598717013107"},"_hasShrinkwrap":false},"1.0.1":{"name":"axe-result-pretty-print","version":"1.0.1","description":"The module allows to make readable output for aXe core accessibility results from raw aXe result object.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/lpelypenko/axe-result-pretty-print.git"},"engines":{"node":">=8.9.0"},"keywords":["axe","report","test","accessibility"],"author":{"name":"Liliia Pelypenko","url":"liliia.pelypenko@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/lpelypenko/axe-result-pretty-print/issues"},"homepage":"https://github.com/lpelypenko/axe-result-pretty-print","scripts":{"clean":"rm -rf dist build","prebuild":"npm run clean","build":"tsc --project tsconfig.build.json","test":"jest test","test:watch":"jest test --watch"},"publishConfig":{"access":"public"},"peerDependencies":{"axe-core":">=3"},"devDependencies":{"@types/jest":"^25.2.3","@types/node":"^14.11.8","jest":"^26.5.3","prettier":"^2.1.2","ts-jest":"^26.4.1","typescript":"^4.0.3"},"dependencies":{"chalk":"^4.1.0"},"gitHead":"4700dfcd1dea4b35f4216c2813a8807506a60d67","_id":"axe-result-pretty-print@1.0.1","_nodeVersion":"10.22.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-yE5wLVtQu5vDUsioorsZ3/KdOM0//B9SDA5T3AcidX9uzjs90HGgK96LPjLogM2zHTEk5PfXDRI6/1QLulz3pw==","shasum":"8b9cc5752131118b9ddda52cbacecc52c71591cf","tarball":"https://registry.npmjs.org/axe-result-pretty-print/-/axe-result-pretty-print-1.0.1.tgz","fileCount":18,"unpackedSize":285829,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfl5K+CRA9TVsSAnZWagAAGB0P/jbwYT5K73aGjlKwd8MF\nVapppQBD7OViw6P1vZdYsamPqJa9i7K+B0pzP2b+M2zE1NDt/WAx4YV7lFg7\nNbD4HEIRZBLCP565cQ6J5QX6pNXf8/3Dp2690ptcRyyJ8yyIYLsbuvqOP/sP\nLgBAxknOxXTgTL/snsPPjCkK0M5p7/2u6X1kmQS0G+XmQwE3iHpiYp8nLoiL\nzkXlpgSi0mNoxB9G+QGzl+D6+9ihH+0S3bfK8NtWiH4vGOBwZMoFRjBoUj/f\nGYgjmmjhV/uJuUtdlbG3q4ZlWJ5C0u2kxwmWP3XbdmBLDwCDPQ5mTbcHTMHy\nnVVh+3dIRm5xmlyUuiqIt65gnnQk6NaZd2m79r59LaHk9lLrmKGtzSX5qJ6O\nNNUzj3Ip/QCt3sII04NWZWWs09nXXqmO8LxgiL6SSU4SpdaqCKCwPZNVYatu\nopgZBJ8Nl4H4wlDMfFJRt+H+oKcgVhxRChb01lSLbzfoSYof4w/pBXlKWYcX\n20aHSdyZDBbmku9UCE9WuRtDb+E5o2FeoIO0GgA80Wtutx6Vj7xrRp6wBM7m\ngbx5OT1+5105xZ9w5yu9YnUhFYQrnKRkGLKVntfT3i7/DjMI75o96luXvajr\nJtS9IOikmm38rBXWp7ilLgdj1qqRYrD1oH2HmipXgE5uw1ZPjJ8pC79mH4V/\nxBU2\r\n=PeoQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHGTGlRR20uCL06REkOvWdLkDxssDYkS+tGC909kl8CAIhAJFhvJn00HpfmYIJ7DiWPmfTrtKstFM5eZ7XS/xFFKkf"}]},"maintainers":[{"name":"lpelypenko","email":"liliia.pelypenko@gmail.com"}],"_npmUser":{"name":"lpelypenko","email":"liliia.pelypenko@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axe-result-pretty-print_1.0.1_1603769021668_0.366129684699674"},"_hasShrinkwrap":false},"1.0.2":{"name":"axe-result-pretty-print","version":"1.0.2","description":"The module allows to make readable output for aXe core accessibility results from raw aXe result object.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/lpelypenko/axe-result-pretty-print.git"},"engines":{"node":">=8.9.0"},"keywords":["axe","report","test","accessibility"],"author":{"name":"Liliia Pelypenko","url":"liliia.pelypenko@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/lpelypenko/axe-result-pretty-print/issues"},"homepage":"https://github.com/lpelypenko/axe-result-pretty-print","scripts":{"clean":"rm -rf dist build","prebuild":"npm run clean","build":"tsc --project tsconfig.build.json","test":"jest test","test:watch":"jest test --watch"},"publishConfig":{"access":"public"},"peerDependencies":{"axe-core":">=3"},"devDependencies":{"@types/jest":"^25.2.3","@types/node":"^14.11.8","jest":"^26.5.3","prettier":"^2.1.2","ts-jest":"^26.4.1","typescript":"^4.0.3"},"dependencies":{"chalk":"^4.1.0"},"gitHead":"7b2713ce17bc78bc5d231c12f8e7816888684f9f","_id":"axe-result-pretty-print@1.0.2","_nodeVersion":"10.22.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-1/M+1T7DbPvL5saS/CSxQnr13QpO97/WsnHdrC0APirB4K6w/K64WotM4CA4QOMoEKhd6JRjH4eUld4b61NKIw==","shasum":"d77730e3a241de9c70eb9142c5c6083c7baac6c3","tarball":"https://registry.npmjs.org/axe-result-pretty-print/-/axe-result-pretty-print-1.0.2.tgz","fileCount":18,"unpackedSize":285831,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfl5PoCRA9TVsSAnZWagAAqbIQAJRCUGCxoN+7GYpIswee\nBGq+gF9qqrTKfzVtLwrHy0QANf+eWBq8fw96gKDFEfO4ReYqdnfX9cGZD4i7\nortRa7YR9RcvkVkhe5PSwQVbirYf/x7HuGMxgEyHy8B1an24aiLQd/QNXJmL\nQt6yXT44einLO8aw9p5lt6xKQzOivEJD7oc5uSolnYIHK+U1Q+aRFaPUleI7\nmBoRg2JmYmqt51pssKLdfu1gjQiULBMguADGRjjaVtqRd2QXhpHFq+ae0MmF\n5aY06nROb8Fx/usVMvn/OsDFjAhhftvsm0KrtWFz/b72CsGJyobjp0AaTxJk\nPDhXcaEzWSWzUa422r8Iroo8g9memzGdn4g2YKjclDPoor8yFznEf80YkOLQ\nJCb3+FHMuEXfIUmwMF/E55O+8oK1NzUV/K45GBTlccq2M90epMjG0/xzV427\n9qpOhgrx5JTH8J0ulFJungukEP1J9qu0qiqIEDNZYe+PahXivuv4hcyVrrD1\n2V0wKJz/P11etAIJwByynyFM4k+OhvgQmf0EOahLo9hp5Fvy5zTS80AE4aPT\nm0qab1Slu+RbXCoTUbJOCGJIFC2uytDGTCNdpWFNlj4CeprtGP3hGPAFKa81\nv/oL+uFUReHHPuTjrEbJcZNnDuzN982w3Kz+awR/HLKNhvVLiQHujTekWA/s\ncNrO\r\n=5MLP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyz0s9bhG3LmYxLcCZjjfNRRyEGw/FnjVcc6s3SngfVAIhAJj7qPacoWlpfGxBIaMMVOk2RPkhju/E+lMcVUy37CpI"}]},"maintainers":[{"name":"lpelypenko","email":"liliia.pelypenko@gmail.com"}],"_npmUser":{"name":"lpelypenko","email":"liliia.pelypenko@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axe-result-pretty-print_1.0.2_1603769319908_0.1876327042982988"},"_hasShrinkwrap":false}},"time":{"created":"2020-10-14T09:35:55.757Z","1.0.0":"2020-10-14T09:35:55.997Z","modified":"2022-04-11T16:23:15.252Z","1.0.1":"2020-10-27T03:23:41.833Z","1.0.2":"2020-10-27T03:28:40.080Z"},"maintainers":[{"name":"lpelypenko","email":"liliia.pelypenko@gmail.com"}],"description":"The module allows to make readable output for aXe core accessibility results from raw aXe result object.","homepage":"https://github.com/lpelypenko/axe-result-pretty-print","keywords":["axe","report","test","accessibility"],"repository":{"type":"git","url":"git+https://github.com/lpelypenko/axe-result-pretty-print.git"},"author":{"name":"Liliia Pelypenko","url":"liliia.pelypenko@gmail.com"},"bugs":{"url":"https://github.com/lpelypenko/axe-result-pretty-print/issues"},"license":"MIT","readme":"# axe-result-pretty-print\n\nThe module allows to make readable output for aXe core accessibility results from raw aXe result object.\nPrints violations summary in a table, violations details and small summary of passed rules.\n\nAllows skipping violations summary table print.\n\nSee [sample console output](sampleOutput.png)\n\n## Install\n\n```\nnpm i axe-result-pretty-print\n```\n\n## Usage\n\n### Example usage in TestCafe\n\nTo run TestCafe tests with axe-core, install testcafe, axe-core and [@testcafe-community/axe](https://www.npmjs.com/package/@testcafe-community/axe):\n\n```shell script\nnpm i -D axe-result-pretty-print testcafe axe-core @testcafe-community/axe\n```\n\nFor TestCafe example add the following clientScript in your `.testcaferc.json` config:\n\n```json\n{\n    \"clientScripts\": [{ \"module\": \"axe-core/axe.min.js\" }]\n}\n```\n\nFull TestCafe test example is bellow:\n\n```javascript\nimport { runAxe } from '@testcafe-community/axe';\nimport { prettyPrintAxeReport } from 'axe-result-pretty-print';\nimport { t } from 'testcafe';\n\nfixture('TestCafe test with Axe').page('http://example.com');\n\ntest('Automated accessibility testing', async (t) => {\n    const axeContext = { exclude: [['select']] };\n    // example with providing specific axe rules\n    const axeOptions = {\n        rules: { 'color-contrast': { enabled: true }, 'duplicate-id': { enabled: true } },\n    };\n    const { error, results } = await runAxe(axeContext, axeOptions);\n    await t.expect(error).eql(null, `axe check failed with an error: ${error.message}`);\n    // prints full report with failed violations and passed rules summary\n    prettyPrintAxeReport({\n        violations: results.violations,\n        passes: results.passes,\n        url: 'www.example.com',\n    });\n});\n```\n","readmeFilename":"README.md"}