{"id":16941084,"url":"https://github.com/inottn/img2base64","last_synced_at":"2025-03-21T06:42:49.806Z","repository":{"id":117711850,"uuid":"150281830","full_name":"inottn/img2base64","owner":"inottn","description":"🖼   upload img and tranform to base64","archived":false,"fork":false,"pushed_at":"2018-09-28T02:18:39.000Z","size":6,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-26T03:28:08.302Z","etag":null,"topics":["base64","ecmascript6","javascript"],"latest_commit_sha":null,"homepage":"https://inottn.github.io/img2base64/","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/inottn.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-25T14:46:30.000Z","updated_at":"2021-06-10T04:02:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"8e8de272-92db-4ce5-93bc-f73e9bef47b2","html_url":"https://github.com/inottn/img2base64","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/inottn%2Fimg2base64","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inottn%2Fimg2base64/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inottn%2Fimg2base64/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inottn%2Fimg2base64/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inottn","download_url":"https://codeload.github.com/inottn/img2base64/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244752336,"owners_count":20504254,"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","ecmascript6","javascript"],"created_at":"2024-10-13T21:08:40.915Z","updated_at":"2025-03-21T06:42:49.774Z","avatar_url":"https://github.com/inottn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 介绍\n\n图片在线上传并转换为Base64编码。\n\n1. 支持 PNG、GIF、JPG、BMP、ICO 格式。\n\n2. 将图片转换为Base64编码，可用于减少图片的请求数量，以及本地开发时资源跨域问题。\n\n3. CSS中使用：`background-image: url(\"data:image/png;base64,xxxxx=...\")`。\n\n4. HTML中使用：`\u003cimg src=\"data:image/png;base64,xxxxx=...\" /\u003e`。\n\n5. 被转换的图片不宜过大。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finottn%2Fimg2base64","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finottn%2Fimg2base64","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finottn%2Fimg2base64/lists"}