Setup

To use the DomainAvailability API, install the @wix/domains package using npm or Yarn:

Copy

or

Copy

Then import { domainAvailability } from @wix/domains:

Copy
Did this help?