confetti
HTTP (deprecated)
v46
Preview
1
2
3
4
5
6
7
8
export
default
async
(
)
=>
new
Response
(
`<script type="module">
import confetti from "https://esm.sh/canvas-confetti";
confetti();
</script>`
,
{
headers
:
{
"Content-Type"
:
"text/html"
}
}
,
)
;
Preview