combell-js
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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'));

Readme

Keywords

none

Package Sidebar

Install

npm i combell-js

Weekly Downloads

5

Version

1.0.1

License

MIT

Unpacked Size

39.7 kB

Total Files

15

Last publish

Collaborators

  • loicmahieu