uint8array-base64
πPluginkuboon/agent-plugins
Installation
/plugin marketplace add kuboon/agent-plugins/plugin install uint8array-base64@agent-pluginsFor base64 (and hex) in JavaScript, use the native Uint8Array.fromBase64()/toBase64()/setFromBase64() methods instead of btoa/atob or Buffer. Works in Deno and the browser.
Part of
kuboon/agent-plugins
More from this repository10
When deploying a static site to GitHub Pages with per-PR preview deployments, call kuboon's reusable workflow github-page-with-preview.yaml instead of hand-writing pages jobs.
When integrating Add to Home Screen (a2hs), passkeys, or web push into a web frontend, use the @kuboon/browser-how-to library to detect support, escape in-app browsers, and guide users.
Pin GitHub Actions to current, non-deprecated major versions when writing or editing workflows.
When initializing a new project, use Deno (not Node.js) and Remix v3 as the web framework, following the deno-remix-reference patterns.
When writing a freely-typed text input in @remix-run/ui (Remix v3), use defaultValue= instead of value= or it will race the framework's controlled-value reflection and become uneditable.
When building admin-only features, give admin users a frontend-only δΈθ¬/admin view switch that defaults to δΈθ¬, so one account can eyeball both UIs. The backend keeps authorizing as admin and never reads the toggle.
When a Deno dependency update is blocked by minimumDependencyAge, exclude the self-published @kuboon scope via minimumDependencyAge.exclude (Deno 2.9+) instead of lowering the age or passing --min-dep-age 0.
Upgrade a Remix v3 project across beta and rc boundaries, currently up to 3.0.0-rc.2: the @remix-run/* version table for each hop plus every breaking change, including the ones the compiler will not catch β such as ui@0.8.0 renaming every rmx-* DOM attribute to data-rmx-*.
Run @remix-run/data-table migrations from Deno: remix.json db config, timestamped up.sql/down.sql directories, deno task wiring, the Deno-specific traps, and β for Turso/libSQL, which remix db cannot drive β the CLI shipped by @remix-kbn/data-table-sqlite-turso.
When a PR is open and there is more work to do, stack the next PR on its branch instead of waiting for the merge or restarting from main: the layering rule, gh stack commands, and bottom-up merge semantics.