Skip to content

How to collect package usage

In a monorepo

  1. Run Pure Index with the --collect-usages flag
Example
pure-index --collect-usages @my/ui-kit
  1. Depending on the project, you may need to configure Pure Index.

In different repositories

  1. Use the collectUsages function from JavaScript API.