mirror of
https://github.com/tribufu/sdk-js
synced 2025-06-17 02:54:18 +00:00
15 lines
323 B
JavaScript
15 lines
323 B
JavaScript
// Copyright (c) Tribufu. All Rights Reserved.
|
|
// SPDX-License-Identifier: MIT AND Apache-2.0
|
|
|
|
import dotenv from "dotenv";
|
|
import { TribufuClient } from "../build/index.mjs";
|
|
|
|
dotenv.config();
|
|
|
|
async function main() {
|
|
const tribufu = TribufuClient.fromEnv();
|
|
console.log(await tribufu.getClientInfo());
|
|
}
|
|
|
|
main();
|