test-image
v1.0.3
Published
A standard image to test requests with
Downloads
8
Readme
test-image
A standard image to test requests with
Installation
npm install test-image
Usage Example
const image = require('test-image')
console.log(image) // http://imgur.com/a/EXsAJ
fetch(image)
.then(response => response.blob())
.then((myBlob) => {
const img = document.querySelector('img')
img.src = URL.createObjectURL(myBlob)
})