{"id":26660094,"url":"https://github.com/frsource/base64","last_synced_at":"2026-02-27T03:04:47.789Z","repository":{"id":60091806,"uuid":"540616680","full_name":"FRSOURCE/base64","owner":"FRSOURCE","description":"base64 encoder/decoder with UTF-8 support 📔","archived":false,"fork":false,"pushed_at":"2024-10-29T12:00:13.000Z","size":779,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-29T13:36:58.653Z","etag":null,"topics":["base64","base64-decoding","base64-encoding","decoding","encoder","encoder-decoder","encoding","utf-8","webtoolkit"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@frsource/base64","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/FRSOURCE.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},"funding":{"github":["FRSOURCE"],"patreon":"frsource","custom":["https://www.buymeacoffee.com/FRSOURCE"]}},"created_at":"2022-09-23T21:04:00.000Z","updated_at":"2024-10-29T12:00:16.000Z","dependencies_parsed_at":"2023-11-06T04:31:17.245Z","dependency_job_id":"8b5a7f98-944e-49f6-af59-c3202eb0785c","html_url":"https://github.com/FRSOURCE/base64","commit_stats":{"total_commits":22,"total_committers":3,"mean_commits":7.333333333333333,"dds":0.5909090909090908,"last_synced_commit":"98db3f694ad5090945c5bb6904d0526d6c557f83"},"previous_names":[],"tags_count":131,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FRSOURCE%2Fbase64","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FRSOURCE%2Fbase64/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FRSOURCE%2Fbase64/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FRSOURCE%2Fbase64/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FRSOURCE","download_url":"https://codeload.github.com/FRSOURCE/base64/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248429110,"owners_count":21101783,"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":["base64","base64-decoding","base64-encoding","decoding","encoder","encoder-decoder","encoding","utf-8","webtoolkit"],"created_at":"2025-03-25T11:18:43.131Z","updated_at":"2026-02-27T03:04:42.768Z","avatar_url":"https://github.com/FRSOURCE.png","language":"TypeScript","funding_links":["https://github.com/sponsors/FRSOURCE","https://patreon.com/frsource","https://www.buymeacoffee.com/FRSOURCE"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@frsource/base64\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/@frsource/base64.svg\" alt=\"NPM version badge\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@frsource/base64\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dt/@frsource/base64.svg\" alt=\"NPM total downloads badge\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/semantic-release/semantic-release\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg\" alt=\"semantic-relase badge\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/FRSOURCE/base64/blob/main/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/FRSOURCE/base64.svg\" alt=\"license MIT badge\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n# @frsource/base64\n\nThis javascript code is used to encode / decode data using base64 (this encoding is designed to make binary data survive transport through transport layers that are not 8-bit clean). Script is fully compatible with UTF-8 encoding. You can use base64 encoded data as simple encryption mechanism.\n\nIf you plan using UTF-8 encoding in your project don’t forget to set the page encoding to UTF-8 (Content-Type meta tag).\n\n## Installation\n\n```bash\nnpm i @frsource/base64\n```\n\n## Usage\n\n```js\n// Importing:\n// typescript / ES6\nimport { encode, decode } from '@frsource/base64';\n\n// legacy javscript\nconst { encode, decode } = require('@frsource/base64');\n\nconst encoded = encode('我喜欢解码lubię dekodować');\nconsole.log(encoded); // output: 5oiR5Zac5qyi6Kej56CBbHViacSZIGRla29kb3dhxIc=\nconst decoded = decode(encoded);\nconsole.log(encoded); // output: 我喜欢解码lubię dekodować\n```\n\n## References\n\nBased on webtoolkit.info implementation.\nOriginal source code available at: http://www.webtoolkit.info/javascript_base64.html\n\n## License\n\n[MIT](https://opensource.org/licenses/MIT)\n\nCopyright (c) 2022-present, Jakub FRS Freisler, [FRSOURCE](https://www.frsource.org/)\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://www.frsource.org/\" title=\"Click to visit FRSOURCE page!\"\u003e\n\u003cimg src=\"https://www.frsource.org/logo.jpg\" alt=\"FRSOURCE logo\" height=\"60px\"/\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrsource%2Fbase64","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrsource%2Fbase64","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrsource%2Fbase64/lists"}