/mochawesome-json-to-md

Convert your JSON reports generated by MochAwesome to Markdown

Primary LanguageJavaScriptMIT LicenseMIT

mochawesome-json-to-md

Convert your JSON reports generated by MochAwesome to Markdown

How to use

Install package

npm install -g mochawesome-json-to-md

run the script

mochawesome-json-to-md -p ./your/file/path.json -o ./generated.md --emoji=true

that's it! You've successfuly converted json report to slick md report.

Options

  • -p, --path
    • string
    • required
    • define path to the json report
    • example: mochawesome-json-to-md --path ./reports/file.json
  • -o, --output
    • string
    • default: ./md-reports/output.md
    • define path for the output md file
    • example: mochawesome-json-to-md --output="./output/file.md"
  • --emoji
    • boolean
    • default: true
    • defines whether there should be emoji in the final markdown file
    • example: mochawesome-json-to-md --emoji=false

License

MIT

Author

Tymoteusz htd-tstepien Stępień