Module
Base64 and base64url to string or arraybuffer, and back. Works in Node, Deno or browser.
Latest
{ "name": "@hexagon/base64", "version": "2.0.4", "exports": "./src/base64.ts", "lint": { "include": ["src", "test", "build"] }, "fmt": { "include": ["src", "test", "build"], "lineWidth": 100 }, "test": { "exclude": ["dist", "build"] }, "tasks": { "build:prep": "deno install && deno cache --allow-scripts=npm:esbuild build/build.ts", "build:clean": "deno run --allow-read --allow-write --allow-env build/build.ts -- clean", "build:npm": "deno run --allow-read --allow-write --allow-env build/build.ts -- package", "build:esbuild": "deno run --allow-read --allow-write --allow-env --allow-run build/build.ts -- build", "build": "deno task build:prep && deno test && deno task build:clean && deno task build:esbuild && deno task build:npm", "check-deps": "deno run -A jsr:@check/deps" }, "imports": { "@cross/fs": "jsr:@cross/fs@^0.1.11", "@cross/test": "jsr:@cross/test@^0.0.9", "@std/assert": "jsr:@std/assert@^1.0.6", "@std/path": "jsr:@std/path@^1.0.6", "esbuild": "npm:esbuild@^0.24.0", "esbuild-plugin-d.ts": "npm:esbuild-plugin-d.ts@^1.3.1" }, "publish": { "exclude": ["build", "dist", "tests", "package.json", ".github", "docs"] }}