DenReg/registry/scripts/getPaperCSS.ts

7 lines
217 B
TypeScript
Raw Permalink Normal View History

2020-10-14 00:52:02 +00:00
await fetch("https://unpkg.com/papercss/dist/paper.min.css")
.then((res) => res.arrayBuffer())
.then((data) =>
Deno.writeFile("./public/paper.min.css", new Uint8Array(data))
)
.catch(console.error);