1.1.2 • Published 3 years ago

cds-client v1.1.2

Weekly downloads
4
License
ISC
Repository
-
Last release
3 years ago

Custom Domain Service Client

Small Client Library for Custom Domain Service. Allows to refresh a custom domain website (ie invalidate the CDN) or get a website details.

You can achieve this via JS:

  const client = new CDSClient(YOUR_TOKEN_HERE)
  client.refreshSite(domain_name).then(data => console.log(data))
  client.getSite(domain_name).then(data => console.log(data))

Or via the CLI:

  cds refresh-site domain.com
  cds get-site domain.com

Please note that you would need to set the CDS_API_TOKEN environment variable for the CLI to work.

1.1.2

3 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

5 years ago

1.0.0

5 years ago