A TypeScript client for interacting with the VirtFusion API. Built by Lazco Studio.
Install the package using pnpm
:
pnpm add virtfusion
Before making API calls, initialize the client with the required configuration:
import { VirtFusionV1 } from "virtfusion";
const virtfusion = new VirtFusionV1();
const VIRTFUSION_API_HOST = "vf.example.com"; // Hostname of the VirtFusion API server
const VIRTFUSION_API_KEY = "****" // Your API key
virtfusion.init({
host: VIRTFUSION_API_HOST,
token: VIRTFUSION_API_KEY,
useHttps: true,
});
Tip
For detailed usage instructions, please refer to the Wiki Page.
Note
The project is under active development, with features being implemented incrementally. For detailed features support list, please refer to the Roadmap Page.