{"id":18821395,"url":"https://github.com/borderless/base64","last_synced_at":"2025-10-27T08:19:59.783Z","repository":{"id":129334565,"uuid":"283401155","full_name":"borderless/base64","owner":"borderless","description":"Base64 encoding and decoding for ArrayBuffer","archived":false,"fork":false,"pushed_at":"2023-12-12T06:15:24.000Z","size":164,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-18T11:31:42.633Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/borderless.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-29T04:50:44.000Z","updated_at":"2023-12-12T15:50:29.000Z","dependencies_parsed_at":"2024-01-30T18:03:13.965Z","dependency_job_id":null,"html_url":"https://github.com/borderless/base64","commit_stats":null,"previous_names":["borderlesslabs/base64"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borderless%2Fbase64","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borderless%2Fbase64/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borderless%2Fbase64/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borderless%2Fbase64/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borderless","download_url":"https://codeload.github.com/borderless/base64/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223612915,"owners_count":17173632,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-11-08T00:40:28.875Z","updated_at":"2025-10-27T08:19:59.689Z","avatar_url":"https://github.com/borderless.png","language":"TypeScript","readme":"# Base64\n\n[![NPM version][npm-image]][npm-url]\n[![NPM downloads][downloads-image]][downloads-url]\n[![Build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n\n\u003e Base64 encoding and decoding for `ArrayBuffer`.\n\n## Installation\n\n```sh\nnpm install @borderless/base64 --save\n```\n\n## Usage\n\n```js\nimport { encode, encodeUrl, decode } from \"@borderless/base64\";\n\nexpect(encode(new TextEncoder().encode(\"hello\"))).toEqual(\"aGVsbG8=\");\nexpect(encode(new TextEncoder().encode(\"你好\"))).toEqual(\"5L2g5aW9\");\n```\n\n## TypeScript\n\nThis project is written using [TypeScript](https://github.com/Microsoft/TypeScript) and publishes the definitions directly to NPM.\n\n## License\n\nMIT\n\nOriginally based on [base64-arraybuffer](https://github.com/niklasvh/base64-arraybuffer), enhanced using TypeScript, ESM and support for Base64URL.\n\n[npm-image]: https://img.shields.io/npm/v/@borderless/base64.svg?style=flat\n[npm-url]: https://npmjs.org/package/@borderless/base64\n[downloads-image]: https://img.shields.io/npm/dm/@borderless/base64.svg?style=flat\n[downloads-url]: https://npmjs.org/package/@borderless/base64\n[travis-image]: https://img.shields.io/travis/BorderlessLabs/base64.svg?style=flat\n[travis-url]: https://travis-ci.org/BorderlessLabs/base64\n[coveralls-image]: https://img.shields.io/coveralls/BorderlessLabs/base64.svg?style=flat\n[coveralls-url]: https://coveralls.io/r/BorderlessLabs/base64?branch=master\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborderless%2Fbase64","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborderless%2Fbase64","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborderless%2Fbase64/lists"}