Constructor

There are two ways to create a new instance of Cloudflare-DDNS-Sync:

1. Using a Cloudflare API-Token

const cddnss = new CloudflareDDNSSync({
  token: 'your-cloudflare-token',
});

2. Using your Email and your API Key

const cddnss = new CloudflareDDNSSync({
  email: 'your-cloudflare-email',
  key: 'your-cloudflare-key',
});

Last updated