{"id":21832920,"url":"https://github.com/null-none/node-image-base64","last_synced_at":"2025-03-21T13:44:20.247Z","repository":{"id":57145001,"uuid":"67455901","full_name":"null-none/node-image-base64","owner":"null-none","description":"Nodejs module for convert image to base64 (blob, canvas)","archived":false,"fork":false,"pushed_at":"2016-11-01T07:02:44.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T12:51:13.676Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/null-none.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}},"created_at":"2016-09-05T23:01:39.000Z","updated_at":"2019-07-14T21:41:05.000Z","dependencies_parsed_at":"2022-09-05T01:30:27.910Z","dependency_job_id":null,"html_url":"https://github.com/null-none/node-image-base64","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/null-none%2Fnode-image-base64","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/null-none%2Fnode-image-base64/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/null-none%2Fnode-image-base64/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/null-none%2Fnode-image-base64/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/null-none","download_url":"https://codeload.github.com/null-none/node-image-base64/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244807285,"owners_count":20513608,"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-27T19:27:06.167Z","updated_at":"2025-03-21T13:44:20.226Z","avatar_url":"https://github.com/null-none.png","language":"JavaScript","readme":"# node-image-base64\n\nNodejs module for convert image to base64 (blob, canvas)\n\n[![npm version](https://badge.fury.io/js/node-image-base64.svg)](https://www.npmjs.com/package/node-image-base64)\n\n\n## Install\n\n```bash\nnpm install node-image-base64\n```\n\n## Example\n\n```javascript\nvar convert = require('node-image-base64'),\ngetBase64ImageBlob = convert.getBase64ImageBlob,\ngetBase64ImageCanvas = convert.getBase64ImageCanvas;\n\nvar url = 'http://lorempixel.com/400/200/';\n\ngetBase64ImageBlob(url, function(base64)  {\n  console.log(base64);\n});\n\ngetBase64ImageCanvas(url, function(base64)  {\n  console.log(base64);\n});\n```\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnull-none%2Fnode-image-base64","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnull-none%2Fnode-image-base64","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnull-none%2Fnode-image-base64/lists"}