{"_id":"@conformyze/lynta-formatters","name":"@conformyze/lynta-formatters","dist-tags":{"latest":"0.0.0"},"versions":{"0.0.0":{"name":"@conformyze/lynta-formatters","version":"0.0.0","sideEffects":false,"homepage":"https://github.com/conformyze/lynta","bugs":{"url":"https://github.com/conformyze/lynta/issues"},"author":{"name":"Conformyze","email":"support@conformyze.com"},"repository":{"type":"git","url":"git+https://github.com/conformyze/lynta.git"},"license":"Apache-2.0","type":"commonjs","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","node":"./dist/index.node.js","default":"./dist/index.js"},"./utils":{"types":"./dist/utils/index.d.ts","default":"./dist/utils/index.js"},"./*":{"types":"./dist/*.d.ts","default":"./dist/*.js"}},"scripts":{"pretest":"yarn prebuild","prelint":"yarn prebuild","prebuild":"node scripts/bundle-html-templates.mjs"},"dependencies":{"@conformyze/lynta-runtime":"0.0.0","@conformyze/lynta-types":"0.0.0","@conformyze/path":"2.0.1","chalk":"4.1.2","cliui":"7.0.4","lynta":"0.0.0","node-sarif-builder":"^2.0.3","strip-ansi":"6.0","text-table":"^0.2.0","tslib":"^2.5.0"},"devDependencies":{"ast-types":"^0.14.2","astring":"^1.8.4","eol":"0.9.1","node-html-parser":"^4.1.5","xml2js":"^0.5.0"},"_id":"@conformyze/lynta-formatters@0.0.0","gitHead":"8d534d88e052af798ae7162d23b473ab8f666c6c","description":"This project exposes the available formatters from the CLI for users that perform custom validation through Javascript.","_nodeVersion":"20.16.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-kWLJTnfAHS+YLQBvcrCItLa631X7GSKDdf9sui79kubYRHhRad1KXz3Ts7tF0xmcZ0oLuzFjWD2tti4omtJGrw==","shasum":"43b95d0780227c2adc9a7b6e8c38f176d73938bf","tarball":"https://registry.npmjs.org/@conformyze/lynta-formatters/-/lynta-formatters-0.0.0.tgz","fileCount":69,"unpackedSize":68098,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuwtWwsTgs6gT343ttxrs/fXYts27SPzT6uTx251CXpAIhAI2HzX2n/5NSkX/VJYH/Q02DYJtAuJuz7048lIGKN11P"}]},"_npmUser":{"name":"p0lip","email":"jakub@rozek.tech"},"directories":{},"maintainers":[{"name":"naumanali__","email":"mnaumanali94@gmail.com"},{"name":"p0lip","email":"jakub@rozek.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lynta-formatters_0.0.0_1723628353773_0.35483525446031217"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-14T09:39:13.772Z","0.0.0":"2024-08-14T09:39:13.981Z","modified":"2024-08-14T09:39:14.347Z"},"maintainers":[{"name":"naumanali__","email":"mnaumanali94@gmail.com"},{"name":"p0lip","email":"jakub@rozek.tech"}],"description":"This project exposes the available formatters from the CLI for users that perform custom validation through Javascript.","homepage":"https://github.com/conformyze/lynta","repository":{"type":"git","url":"git+https://github.com/conformyze/lynta.git"},"author":{"name":"Conformyze","email":"support@conformyze.com"},"bugs":{"url":"https://github.com/conformyze/lynta/issues"},"license":"Apache-2.0","readme":"# @conformyze/lynta-formatters\n\nThis project exposes the available formatters from the CLI for users that perform custom validation through Javascript.\n\n## Usage\n\n```ts\nimport { pretty } from \"@conformyze/lynta-formatters\";\n\nconst lynta = new Lynta();\n// ...\nconst result = await lynta.run(document);\n\n// You can also filter the results here.\nconst output = pretty(result);\n\nconsole.error(output);\n// ...\n```\n\n## Available formatters\n\n### Common (available both in the browser and Node.js)\n\n- json\n- stylish\n- junit\n- html\n- text\n- teamcity\n\n### Node.js only\n\n- pretty\n- github-actions\n- sarif\n","readmeFilename":"README.md"}