import { fetch } from "https://esm.town/v/std/fetch";
export async function pushover({ token, user, message, title, url, ...opts }) {
return await fetch("https://api.pushover.net/1/messages.json", {
method: "POST",
body: JSON.stringify({
token,
user,
message,
title,
url,
...opts,
}),
});
}