<!-- [=> See Source <=](../../docs/analyzer/index.md) -->
npm install @custom-elements-manifest/analyzerCustom Elements Manifest is a file format that describes custom elements. This format will allow tooling and IDEs to give rich information about the custom elements in a given project. You can find the repository for the specification of the schema here.
> ✨ Try it out in the online playground! ✨
``bash`
npm i -D @custom-elements-manifest/analyzer
`bash`
custom-elements-manifest analyze
or
`bash`
cem analyze
| Command/option | Type | Description | Example |
| ------------------ | -------- | ----------------------------------------------------------- | -------------------------------------------------- |
| analyze | | Analyze your components | |
| --config | string | Path to custom config location | --config "../custom-elements-manifest.config.js" |--globs "foo.js"
| --globs | string[] | Globs to analyze | |--exclude "foo.js"
| --exclude | string[] | Globs to exclude | |--outdir dist
| --outdir | string | Directory to output the Manifest to | |--dependencies
| --dependencies | boolean | Include third party custom elements manifests | |package.json
| --packagejson | boolean | Output CEM path to , defaults to true | --packagejson |--watch
| --watch | boolean | Enables watch mode, generates a new manifest on file change | |--dev
| --dev | boolean | Enables extra logging for debugging | |--quiet
| --quiet | boolean | Hides all logging | |--litelement
| --litelement | boolean | Enable special handling for LitElement syntax | |--fast
| --fast | boolean | Enable special handling for FASTElement syntax | |--stencil
| --stencil | boolean | Enable special handling for Stencil syntax | |--catalyst
| --catalyst | boolean | Enable special handling for Catalyst syntax | |--catalyst-major-2` |
| --catalyst-major-2 | boolean | Enable special handling for Catalyst syntax ^2.0.0 |