Skip to content

wafuwafu13/mackerel-client-deno

Repository files navigation

mackerel-client-deno

mackerel-client-deno

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

List of Supported API is here

Links

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

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

About

Mackerel API Client in Deno

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published