diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 217c581..24fa0dc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,4 +1,4 @@ -lockfileVersion: 5.3 +lockfileVersion: 5.4 specifiers: jsdom: ^19.0.0 diff --git a/src/index.html b/src/index.html index b5a279a..a6b596d 100644 --- a/src/index.html +++ b/src/index.html @@ -154,25 +154,27 @@
+ Escape from Tarkov has a day/night cycle.
+ This site shows you the time, and how long it will be to a future time. Deployed on Cloudflare Pages.
+ The time is also available as an API using CF Workers.
+ The entire website is a single HTML with all resources embedded. 13kb.
+
I use C#'s IEnumerable
extensions quite a lot, and the javascript version, linq.js
, is very large.
My version is 1.25kb.
- Alpine Linux is a minimal linux distro, great for docker.
- I wanted to query its package manager, APK, from Node.
-
- NPM's package.json scripts
is quite convenient for running things.
- Yet, npm run X
and yarn X
are fairly slow - 150ms+.
- nr is a simple bash script using jq to run scripts. 30ms. Much faster.
+ Cloudflare Pages hosts static websites (with dynamic workers) such as my Tarkov Time.
+ Cloudflare have made a CLI called Wrangler that can directly publish websites to CF Pages, but I wanted a small utility that I could use programatically.
+ This small library achieves that goal.
- Escape from Tarkov has a day/night cycle.
- This site shows you the time, and how long it will be to a future time. Deployed on Vercel.
- The time is also available as an API using Vercel's Edge Functions.
-
@@ -214,6 +208,21 @@ Using Github Actions and a generated Makefile, they automatically update whenever a dependency changes – whether it be the docker image, an alpine package, a github/lab repo, or an npm package.
+ Alpine Linux is a minimal linux distro, great for docker.
+ I wanted to query its package manager, APK, from Node.
+
+ NPM's package.json scripts
is quite convenient for running things.
+ Yet, npm run X
and yarn X
are fairly slow - 150ms+.
+ nr is a simple bash script using jq to run scripts. 30ms. Much faster.
+