@lazco/virtfusion
v0.8.0
Published
A client for VirtFusion API. Built with TypeScript.
Maintainers
Readme
VirtFusion
A TypeScript client for interacting with the VirtFusion API. Built by Lazco Corporation.
Installation
Install the package using pnpm:
pnpm add @lazco/virtfusion[!IMPORTANT] This package was named
virtfusionup to and including0.7.2. From0.8.0it is@lazco/virtfusion. The old name is deprecated and receives no further releases.
Usage
Initialization
Before making API calls, initialize the client with the required configuration:
import { VirtFusionV1 } from "@lazco/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.
Roadmap
[!NOTE] The project is under active development, with features being implemented incrementally. For detailed features support list, please refer to the Roadmap Page.
License
Copyright (C) 2024-2026 Lazco Corporation (拉資科科技有限公司).
This project is licensed under the GNU Affero General Public License v3.0 or later. See LICENSE for the full text.
Releases up to and including 0.6.0 were published under GPL-3.0. Those releases remain available under GPL-3.0.
If you distribute a modified version, AGPL-3.0 section 5 requires you to keep the copyright notices intact and to state that you modified the work, with a date.
