{"id":30060234,"url":"https://github.com/tiaanduplessis/blob-to-base64","last_synced_at":"2025-08-08T01:42:57.847Z","repository":{"id":66077106,"uuid":"98471291","full_name":"tiaanduplessis/blob-to-base64","owner":"tiaanduplessis","description":"Convert Blob to base64","archived":false,"fork":false,"pushed_at":"2020-06-12T23:47:32.000Z","size":372,"stargazers_count":6,"open_issues_count":2,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-23T17:16:11.359Z","etag":null,"topics":["base64","blob","filereader"],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/tiaanduplessis.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-26T22:38:53.000Z","updated_at":"2024-04-28T22:16:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"40c50415-77a2-4e5b-85cf-fd059df6ae99","html_url":"https://github.com/tiaanduplessis/blob-to-base64","commit_stats":{"total_commits":16,"total_committers":3,"mean_commits":5.333333333333333,"dds":0.4375,"last_synced_commit":"f17b655a29526233359270c1d334a99373fc34bd"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/tiaanduplessis/blob-to-base64","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Fblob-to-base64","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Fblob-to-base64/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Fblob-to-base64/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Fblob-to-base64/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiaanduplessis","download_url":"https://codeload.github.com/tiaanduplessis/blob-to-base64/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Fblob-to-base64/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269352286,"owners_count":24402672,"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","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"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":["base64","blob","filereader"],"created_at":"2025-08-08T01:42:45.542Z","updated_at":"2025-08-08T01:42:57.806Z","avatar_url":"https://github.com/tiaanduplessis.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003ch1 align=\"center\"\u003eblob-to-base64\u003c/h1\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003cstrong\u003eConvert Blob to base64\u003c/strong\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://npmjs.org/package/blob-to-base64\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/blob-to-base64.svg?style=flat-square\" alt=\"npm package version\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://npmjs.org/package/blob-to-base64\"\u003e\n  \u003cimg src=\"https://img.shields.io/npm/dm/blob-to-base64.svg?style=flat-square\" alt=\"npm downloads\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/feross/standard\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square\" alt=\"standard JS linter\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/prettier/prettier\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square\" alt=\"prettier code formatting\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://travis-ci.org/tiaanduplessis/blob-to-base64\"\u003e\n    \u003cimg src=\"https://img.shields.io/travis/tiaanduplessis/blob-to-base64.svg?style=flat-square\" alt=\"travis ci build status\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/tiaanduplessis/blob-to-base64/blob/master/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/l/blob-to-base64.svg?style=flat-square\" alt=\"project license\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"http://makeapullrequest.com\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\" alt=\"make a pull request\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n\u003ch2\u003eTable of Contents\u003c/h2\u003e\n\u003cdetails\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n  \u003cli\u003e\u003ca href=\"#install\"\u003eInstall\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"#contribute\"\u003eContribute\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n\u003c/details\u003e\n\n## Install\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/tiaanduplessis/blob-to-base64.svg)](https://greenkeeper.io/)\n\n```sh\n$ npm install blob-to-base64\n# OR\n$ yarn add blob-to-base64\n```\n\n## Usage\n\n```js\nconst blobToBase64 = require('blob-to-base64')\n\nconst button = document.querySelector('.button')\n\nbutton.addEventListener('click', function (event) {\n  const blob = document.querySelector('.input').files[0]\n\n  blobToBase64(blob, function (error, base64) {\n    if (!error) {\n      document.querySelector('.result').innerHTML = base64\n    }\n  })\n\n})\n```\n\n## Contributing\n\nContributions are welcome!\n\n1. Fork it.\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\nOr open up [a issue](https://github.com/tiaanduplessis/blob-to-base64/issues).\n\n## License\n\nLicensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiaanduplessis%2Fblob-to-base64","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiaanduplessis%2Fblob-to-base64","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiaanduplessis%2Fblob-to-base64/lists"}