diff --git a/docs/analyzer/getting-started.md b/docs/analyzer/getting-started.md index 41e591d..406fd0b 100644 --- a/docs/analyzer/getting-started.md +++ b/docs/analyzer/getting-started.md @@ -24,6 +24,26 @@ Custom Elements Manifest is a file format that describes custom elements. This f ## Usage +### With npx + +If you have `npx` installed use: + +```bash copy +npx custom-elements-manifest analyze +``` + +or + +```bash copy +npx cem analyze +``` + +### Without npx + +If you don't have `npx`, you can add +the modules to your PATH and run it +with: + ```bash copy custom-elements-manifest analyze ``` @@ -34,6 +54,16 @@ or cem analyze ``` +If you don't want to add it to your +PATH, you can call it directly: + + +```bash copy +./node_modules/@custom-elements-manifest/analyzer/cem.js analyze +``` + + + ## Demo