1.0.3 • Published 8 years ago

test-image v1.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
8 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

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago