{"id":16397645,"url":"https://github.com/safrmo/data-uri-snippets","last_synced_at":"2026-06-18T19:32:22.433Z","repository":{"id":77194799,"uuid":"92291241","full_name":"SaFrMo/data-uri-snippets","owner":"SaFrMo","description":"NPM package for commonly-used data URIs","archived":false,"fork":false,"pushed_at":"2017-05-26T19:17:36.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-04T18:41:58.974Z","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/SaFrMo.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}},"created_at":"2017-05-24T12:44:24.000Z","updated_at":"2018-03-18T14:48:53.000Z","dependencies_parsed_at":"2023-06-10T13:15:52.763Z","dependency_job_id":null,"html_url":"https://github.com/SaFrMo/data-uri-snippets","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"15c4e3fe62afc49c8f616c9295f299682689b566"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaFrMo%2Fdata-uri-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaFrMo%2Fdata-uri-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaFrMo%2Fdata-uri-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaFrMo%2Fdata-uri-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SaFrMo","download_url":"https://codeload.github.com/SaFrMo/data-uri-snippets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240286519,"owners_count":19777353,"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-10-11T05:10:38.669Z","updated_at":"2025-11-13T19:05:13.371Z","avatar_url":"https://github.com/SaFrMo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## What\nDictionary of commonly-used data URIs. Part of the [Phaser Component Library](https://github.com/SaFrMo/phaser-component-library).\n\n## How\n\n`npm install data-uri-snippets --save`\n\nThen, in your JS:\n\n```\nimport snippets from 'data-uri-snippets'\n\n// white 1x1 pixel\nvar img = new Image()\nimg.src = snippets.white1x1png\n```\n\n## Values\n* `white1x1` - 1x1 opaque white gif (35 bytes)\n* `white1x1png` - 1x1 opaque white png (67 bytes)\n\n## Sources\n* [1x1 gif and png](http://proger.i-forge.net/%D0%9A%D0%BE%D0%BC%D0%BF%D1%8C%D1%8E%D1%82%D0%B5%D1%80/[20121112]%20The%20smallest%20transparent%20pixel.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsafrmo%2Fdata-uri-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsafrmo%2Fdata-uri-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsafrmo%2Fdata-uri-snippets/lists"}