Set up and document uPlot

This commit is contained in:
Joscha 2023-08-14 01:22:25 +02:00
parent 8496c557f6
commit 9caf664b10
7 changed files with 6909 additions and 0 deletions

5
meta/update_uplot Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
curl 'https://raw.githubusercontent.com/leeoniya/uPlot/master/dist/uPlot.d.ts' -o scripts/uPlot.d.ts
curl 'https://raw.githubusercontent.com/leeoniya/uPlot/master/dist/uPlot.esm.js' -o scripts/uPlot.js
curl 'https://raw.githubusercontent.com/leeoniya/uPlot/master/dist/uPlot.min.css' -o static/uPlot.css
sed -i 's/^export = uPlot;$/export { uPlot as default };/' scripts/uPlot.d.ts