(unofficial) TypeScript client for the Mackerel API
Install from JSR.
# Deno
deno add @susisu/mackerel-client
# Node.js
npx jsr add @susisu/mackerel-client
import { MackerelClient } from "@susisu/mackerel-client";
const cli = new MackerelClient("<YOUR API KEY>");
// list hosts
const hosts = await cli.hosts.list();
// create a service
await cli.services.create({
name: "myservice",
});
// etc.