1.0.3 • Published 7 years ago

test-image v1.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

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)
})
1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago