Skip to content

Add the poster, and fix the CDN URL pointing at a version that does not exist - #16

Merged
odiwr merged 1 commit into
mainfrom
docs/poster-and-cdn-version
Aug 30, 2026
Merged

odiwr merged 1 commit into
mainfrom
docs/poster-and-cdn-version

Conversation

@odiwr

@odiwr odiwr commented Aug 30, 2026

Copy link
Copy Markdown
Owner

The bug this fixes

The README told people to load:

<script src="https://cdn.jsdelivr.net/npm/besttime@1"></script>

@1 means "newest 1.x". The published version is 0.1.0, so there is no 1.x and that URL 404s. Verified against jsDelivr:

[email protected]  -> 200
besttime@1    -> 404

All three references (README ×2, examples/html/index.html ×1) now say @0.1. They go back to @1 when there is a 1.0.0 to point at.

Also

The poster, at the top of the README, plus the logo as an asset.

Resized to 1400px and reduced to a 32-colour palette: 663 KB → 172 KB, with no visible difference. The image is almost entirely flat black, one grey and white, so a palette costs it nothing and PNG compresses the result far better.

Badges — npm version, bundle size, dependency count, CI, licence. Worth having now that there is a published package for them to point at.


  • npm test passes
  • npm run build passes

The README told everyone to load besttime@1, which means "newest 1.x". The
published version is 0.1.0, so that URL returns 404 -- verified against
jsDelivr: @1 is 404 and @0.1 is 200. Every one of the three references now
says @0.1, and they go back to @1 when there is a 1.0.0 to point at.

Also adds the poster at the top of the README, and the logo as an asset.
The poster is resized to 1400px and reduced to a 32-colour palette, which
takes it from 663 KB to 172 KB with no visible difference -- it is almost
entirely flat black, one grey and white, so a palette costs it nothing.

Badges for npm version, bundle size, dependency count, CI and licence, now
that there is a published package for them to point at.
@odiwr
odiwr merged commit 8a92a8d into main Aug 30, 2026
3 checks passed
@odiwr
odiwr deleted the docs/poster-and-cdn-version branch August 30, 2026 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant