1.0.1 • Published 4 years ago

combell-js v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Combell JS

Install

yarn add combell-js

Usage

Using "raw client"

import { Client } from 'combell-js';

const client = new Client({
  endpoint: 'https://api.combell.com',
  key: 'KEY',
  secret: 'SECRET',
});

console.log(await client.get('/v2/dns/example.com/records'));

Using a specific library

import { DNS } from 'combell-js';

const dns = new DNS({
  endpoint: 'https://api.combell.com',
  key: 'KEY',
  secret: 'SECRET',
});

console.log(await dns.getRecords('example.com'));
1.0.1

4 years ago

1.0.0

4 years ago