Skip to main content
Deno 2 is finally here 🎉️
Learn more

mackerel-client-deno

mackerel-client-deno

mackerel-client-deno is a library for mackerel.io API working on Deno.

Usage

import { Mackerel } from "https://deno.land/x/mackerel_client_deno@v0.5.1/mackerel.ts";

const client = new Mackerel.Client(<MACKEREL_API_KEY>);

const service = await client.registerService({
  name: "example-service",
  memo: "this is example-service",
});

You can try:

  1. Getting Started with Mackerel
  2. Getting Started with Deno
  3. Clone this repo
  4. Setting your API key(MACKEREL_API_KEY) at ./example/.env
  5. $ deno run -A ./example/service.ts

Contribute

Help Wanted !

You can contribute:

  1. Fork (https://github.com/wafuwafu13/mackerel-client-deno/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the deno test -A and confirm that it passes
  6. Run deno lint and deno fmt
  7. Create new Pull Request

LICENCE