0.0.1-development • Published 11 months ago

coolify-typescript-sdk v0.0.1-development

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

TypeScript Coolify SDK (Unofficial)

This SDK is currently in development and is not yet ready for use. 🚧

This is an unofficial SDK for the Coolify API. It is written in TypeScript and is intended to be used in Node.js applications.

It works with the RESTful API of Coolify, which is a platform for managing and monitoring your servers. For more information about Coolify, visit their website.

And for more information about the Coolify API, visit their API documentation.

Installation

npm install coolify-typescript-sdk

# or

yarn add coolify-typescript-sdk

# or

pnpm add coolify-typescript-sdk  

Usage

Initialize the client

To initialize the client, you need to provide your API token and the options for the client. To get your API token read the official instructions.

import { coolify } from 'coolify-typescript-sdk';

const token = process.env.COOLIFY_API_TOKEN; // set your token in the environment variables (recommended)

// or
// const token = "token123!";

const client = coolify(token, {
    host: "coolify.mydomain.co",
    secure: true // if https is used
});
0.0.1-development

11 months ago

0.0.0-development

11 months ago