v0.6.1
Mackerel API Client in Deno
Repository
Current version released
2 years ago
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:
- Getting Started with Mackerel
- Getting Started with Deno
- Clone this repo
- Setting your API key(
MACKEREL_API_KEY
) at./example/.env
$ deno run -A ./example/service.ts
Contribute
Help Wanted !
You can contribute:
- Fork (https://github.com/wafuwafu13/mackerel-client-deno/fork)
- Create a feature branch
- Commit your changes
- Rebase your local changes against the master branch
- Run test suite with the
deno test -A
and confirm that it passes - Run
deno lint
anddeno fmt
- Create new Pull Request
LICENCE
- wafuwafu13/mackerel-client-deno is licensed under the MIT License
- reference is mackerelio/mackerel-client-go Copyright 2014 Hatena Co., Ltd.