Home

Awesome

What

Dictionary of commonly-used data URIs. Part of the Phaser Component Library.

How

npm install data-uri-snippets --save

Then, in your JS:

import snippets from 'data-uri-snippets'

// white 1x1 pixel
var img = new Image()
img.src = snippets.white1x1png

Values

Sources