Plato analysis tool for anvil

Usage no npm install needed!

<script type="module">
  import anvilPlato from '';



This extension adds static analysis of your JavaScript files using the Plato library. The generated report is output to a ./report folder by default.


You can run the analysis as part of your build by providing the --plato argument or by including the following property in your build file:

{ "anvil.plato": { "analyze": true } }


You can change the default output directory through the build file:

{ "anvil.plato": { "output": "./plato" } }

Viewing The Report

If you provide the --host flag, plato output will be automatically hosted at /plato and will auto-refresh if you're also in --ci mode.