@alphatr/bark

Bark custom sender client

Usage no npm install needed!

<script type="module">
  import alphatrBark from 'https://cdn.skypack.dev/@alphatr/bark';
</script>

README

Bark 自定义发送客户端

使用

const accessKey = "<accessKey>";
const secretKey = "<secretKey>";

const client = new Bark(accessKey, secretKey, "http://www.example.com/sender");
const error = await client.send("title", "content", "link", "copy");
if (error) {
    console.log(error);
}