Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/susisu/mackerel-client
(unofficial) TypeScript client for the Mackerel API
https://github.com/susisu/mackerel-client
Last synced: 1 day ago
JSON representation
(unofficial) TypeScript client for the Mackerel API
- Host: GitHub
- URL: https://github.com/susisu/mackerel-client
- Owner: susisu
- License: mit
- Created: 2024-05-01T06:24:25.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-06-18T15:41:49.000Z (5 months ago)
- Last Synced: 2024-10-11T21:19:51.194Z (27 days ago)
- Language: TypeScript
- Homepage: https://jsr.io/@susisu/mackerel-client
- Size: 117 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# mackerel-client
[![JSR](https://jsr.io/badges/@susisu/mackerel-client)](https://jsr.io/@susisu/mackerel-client)
[![CI](https://github.com/susisu/mackerel-client/actions/workflows/ci.yml/badge.svg)](https://github.com/susisu/mackerel-client/actions/workflows/ci.yml)(unofficial) TypeScript client for the [Mackerel API](https://mackerel.io/api-docs/)
## Installation
Install from JSR.
```console
# Deno
deno add @susisu/mackerel-client
# Node.js
npx jsr add @susisu/mackerel-client
```## Usage
```ts
import { MackerelClient } from "@susisu/mackerel-client";const cli = new MackerelClient("");
// list hosts
const hosts = await cli.hosts.list();// create a service
await cli.services.create({
name: "myservice",
});// etc.
```## License
[MIT License](http://opensource.org/licenses/mit-license.php)
## Author
Susisu ([GitHub](https://github.com/susisu), [Twitter](https://twitter.com/susisu2413))