Go to file
2023-06-13 18:54:25 +02:00
.vscode fix(core): update 2022-09-27 19:24:52 +02:00
test fix(core): update 2022-09-27 19:23:20 +02:00
ts fix(core): update 2023-06-13 18:54:25 +02:00
.gitignore fix(core): update 2020-06-10 05:34:47 +00:00
.gitlab-ci.yml fix(core): update 2022-09-27 19:24:52 +02:00
LICENSE add lossless badge 2016-04-27 02:27:52 +02:00
npmextra.json fix(core): update 2023-06-13 18:54:25 +02:00
package-lock.json fix(core): update 2023-06-13 18:54:25 +02:00
package.json fix(core): update 2023-06-13 18:54:25 +02:00
pnpm-lock.yaml fix(core): update 2023-06-13 18:54:25 +02:00
qenv.yml fix(core): update 2020-02-19 16:58:46 +00:00
readme.md fix(core): update 2023-06-13 18:54:25 +02:00
tsconfig.json fix(core): update 2023-06-13 18:54:25 +02:00

@apiclient.xyz/cloudflare

easy cloudflare management

Status for master

Status Category Status Badge
GitLab Pipelines pipeline status
GitLab Pipline Test Coverage coverage report
npm npm downloads per month
Snyk Known Vulnerabilities
TypeScript Support TypeScript
node Support node
Code Style Code Style
PackagePhobia (total standalone install weight) PackagePhobia
PackagePhobia (package size on registry) PackagePhobia
BundlePhobia (total size when bundled) BundlePhobia
Platform support Supports Windows 10 Supports Mac OS X

Usage

Use TypeScript for best in class instellisense.

import * as cflare from '@apiclient.xyz/cloudflare';

const myCflareAccount = new cflare.CflareAccount('mySuperAwesomeAccountToken');

const myAsyncCflareManagement = async () => {
  // get things
  const myZones = await myCflareAccount.listZones(); // zones are fully typed
  const myIdForADomain = await myCflareAccount.getZoneId('example.com'); // type number
  const myRecordsForADomain = await myCflareAccount.listRecords('example.com'); // records are fully typed
};

Contribution

We are always happy for code contributions. If you are not the code contributing type that is ok. Still, maintaining Open Source repositories takes considerable time and thought. If you like the quality of what we do and our modules are useful to you we would appreciate a little monthly contribution: You can contribute one time or contribute monthly. :)

For further information read the linked docs at the top of this readme.

MIT licensed | © Lossless GmbH | By using this npm module you agree to our privacy policy

repo-footer