{"id":15413651,"url":"https://github.com/lucacasonato/base64_streams","last_synced_at":"2026-06-09T08:31:29.872Z","repository":{"id":196448585,"uuid":"696108709","full_name":"lucacasonato/base64_streams","owner":"lucacasonato","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-25T06:33:46.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-01T08:13:34.278Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lucacasonato.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-25T05:23:43.000Z","updated_at":"2023-09-25T13:50:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"30ed2937-5aa9-4649-a108-01865df538ac","html_url":"https://github.com/lucacasonato/base64_streams","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"7c4ed815bd630bec3c185cf37b64cbb23be127ae"},"previous_names":["lucacasonato/base64_streams"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lucacasonato/base64_streams","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucacasonato%2Fbase64_streams","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucacasonato%2Fbase64_streams/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucacasonato%2Fbase64_streams/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucacasonato%2Fbase64_streams/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucacasonato","download_url":"https://codeload.github.com/lucacasonato/base64_streams/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucacasonato%2Fbase64_streams/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34098839,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T16:58:27.581Z","updated_at":"2026-06-09T08:31:29.838Z","avatar_url":"https://github.com/lucacasonato.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is an implementation of a streaming Base64 encoder and decoder for\nJavaScript, with the actual encoding and decoding logic being handled by\n`Uint8Array.fromBase64()` and `Uint8Array.prototype.toBase64()` from the\n[proposal-arraybuffer-base64](https://github.com/tc39/proposal-arraybuffer-base64).\n\nThe streaming decoder supports streaming decoding and encoding. It correctly\nhandles padding and whitespace. There is both a WHATWG TransformStream, and a\nsync-Iterator based API available.\n\nYou can see the implementations for the various APIs in:\n\n- [`Base64DecoderStream` WHATWG TransformStream](./src/whatwg/decoder.ts)\n- [`Base64EncoderStream` WHATWG TransformStream](./src/whatwg/encoder.ts)\n- [`decodeBase64()` sync iterator](./src/iterator/decoder.ts)\n- [`encodeBase64()` sync iterator](./src/iterator/encoder.ts)\n\nTo play with it:\n\n```\n$ deno repl -A --eval=\"import { Base64DecoderStream, Base64EncoderStream, decodeBase64, encodeBase64 } from './index.ts'\"\nDeno 1.37.0\nexit using ctrl+d, ctrl+c, or close()\n\u003e\n```\n\nTo run tests, run `deno test`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucacasonato%2Fbase64_streams","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucacasonato%2Fbase64_streams","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucacasonato%2Fbase64_streams/lists"}