open-wc / custom-elements-manifest

Custom Elements Manifest is a file format that describes custom elements in your project.
https://custom-elements-manifest.open-wc.org/
226 stars 37 forks source link

Programmatic JS API instead of CLI, How-to? #229

Closed JulianCataldo closed 5 months ago

JulianCataldo commented 5 months ago

Hello!

Is there an "official" way of using the analyzer via a JS API? Or should we import the cli function and pass the argv ourselves?

Thanks you for you work :)

thepassle commented 5 months ago

You can use it like this in node as well: https://custom-elements-manifest.open-wc.org/analyzer/getting-started/#usage-in-the-browser