Skip to content

Install

The widget ships as a framework-agnostic custom element, plus a thin React wrapper.

Package What it is
@capitality-io/import-suite-ng The <mildport-import> custom element (works anywhere).
@capitality-io/import-suite-react React bindings over the same element.
@capitality-io/import-suite-contract The public Zod contract (types + payload shapes).
@capitality-io/import-suite-matcher The deterministic header → field matcher.

Packages publish to GitHub Packages under the restricted @capitality-io scope, so you need a token with read:packages and an .npmrc that routes the scope:

.npmrc
@capitality-io:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
Terminal window
npm install @capitality-io/import-suite-ng
# React wrapper, optional:
npm install @capitality-io/import-suite-react

Then register the element once and embed it — see Configure.