{"id":19381789,"url":"https://github.com/spurreiter/base64-utf8-array","last_synced_at":"2026-01-28T11:02:27.007Z","repository":{"id":74725748,"uuid":"183822876","full_name":"spurreiter/base64-utf8-array","owner":"spurreiter","description":"Base64 en- and decoding for Uint8Arrays","archived":false,"fork":false,"pushed_at":"2024-07-13T08:16:44.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-28T14:27:03.804Z","etag":null,"topics":["base64","decoding","encoding","uint8array"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spurreiter.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2019-04-27T21:23:33.000Z","updated_at":"2024-07-13T08:16:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"0640e200-9c31-44fd-b72c-c83c6752d580","html_url":"https://github.com/spurreiter/base64-utf8-array","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/spurreiter/base64-utf8-array","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spurreiter%2Fbase64-utf8-array","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spurreiter%2Fbase64-utf8-array/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spurreiter%2Fbase64-utf8-array/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spurreiter%2Fbase64-utf8-array/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spurreiter","download_url":"https://codeload.github.com/spurreiter/base64-utf8-array/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spurreiter%2Fbase64-utf8-array/sbom","scorecard":{"id":842819,"data":{"date":"2025-08-11","repo":{"name":"github.com/spurreiter/base64-utf8-array","commit":"425dfc14824ad213b464118692f74ccdddf697e9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/12 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-23T20:50:55.656Z","repository_id":74725748,"created_at":"2025-08-23T20:50:55.656Z","updated_at":"2025-08-23T20:50:55.656Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28844430,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T10:53:21.605Z","status":"ssl_error","status_checked_at":"2026-01-28T10:53:20.789Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["base64","decoding","encoding","uint8array"],"created_at":"2024-11-10T09:18:24.052Z","updated_at":"2026-01-28T11:02:26.991Z","avatar_url":"https://github.com/spurreiter.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# base64-utf8-array\n\nBase64 en- and decoding for Uint8Arrays.\n\nRuns on node and browsers.\n\n## Table of contents\n\n\u003c!-- !toc (minlevel=2 omit=\"Table of contents\") --\u003e\n\n* [Api](#api)\n  * [base64Decode](#base64decode)\n  * [base64Encode](#base64encode)\n  * [utf8ArrayToString](#utf8arraytostring)\n  * [stringToUtf8Array](#stringtoutf8array)\n* [Installation](#installation)\n* [Tests](#tests)\n* [License](#license)\n\n\u003c!-- toc! --\u003e\n\n## Api\n\n\u003c!-- Generated by documentation.js. Update this documentation by updating the source code. --\u003e\n\n### base64Decode\n\ndecodes a base64 encoded string to an Uint8Array of UTF8 chars/values\n\n#### Parameters\n\n- `sBase64` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n\n#### Examples\n\n```javascript\nconst { base64Decode, utf8ArrayToString } = require('base64-utf8-array')\nconst aUtf8 = base64Decode('YWJj')\nconst str = utf8ArrayToString(aUtf8)\n//\u003e str = 'abc'\n```\n\nReturns **[Uint8Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array)**\n\n### base64Encode\n\nencodes a Uint8Array of UTF8 chars/values to a base64 encoded string\n\n#### Parameters\n\n- `arrUint8` **[Uint8Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array)**\n\n#### Examples\n\n```javascript\nconst { stringToUtf8Array, base64Encode } = require('base64-utf8-array')\nconst aUtf8 = stringToUtf8Array('abc')\nconst sbase64 = base64Encode(aUtf8)\n//\u003e sbase64 = 'YWJj'\n```\n\nReturns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**\n\n### utf8ArrayToString\n\nconverts a Uint8Array of UTF8 chars/values to a UTF16 string\n\n#### Parameters\n\n- `aUtf8`  \n- `Uint8Array`  \n\nReturns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** UTF16 string\n\n### stringToUtf8Array\n\nconverts a UTF16 string to a Uint8Array of UTF8 chars/values\n\n#### Parameters\n\n- `str` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** UTF16 string\n\nReturns **[Uint8Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array)**\n\n## Installation\n\nRequires [nodejs](http://nodejs.org/).\n\n```sh\n$ npm install --save base64-utf8-array\n```\n\n## Tests\n\n```sh\n$ npm test\n```\n\n## License\n\nMIT licensed\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspurreiter%2Fbase64-utf8-array","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspurreiter%2Fbase64-utf8-array","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspurreiter%2Fbase64-utf8-array/lists"}