📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP →

image-promise

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

image-promise - npm Package Compare versions

Comparing version

to
8.0.0

{
"name": "image-promise",
"version": "7.0.1",
"version": "8.0.0",
"description": "Load one or more images, return a promise. Only 0.4KB, for the browser, no dependencies.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -1,6 +0,12 @@

# image-promise [![][badge-gzip]](#link-npm)
# Deprecated
See https://github.com/fregante/image-promise/issues/27, use the native `img.decode()` instead.
# image-promise [![][badge-gzip]](#link-npm)
[badge-gzip]: https://img.shields.io/bundlephobia/minzip/image-promise.svg?label=gzipped
[link-npm]: https://www.npmjs.com/package/image-promise
<img align="right" width="400" src="https://user-images.githubusercontent.com/1402241/81458802-b7a21580-919c-11ea-9599-377d7aee1670.gif">
> Load one or more images, return a promise. Only 0.5KB, for the browser, no dependencies.

@@ -32,3 +38,3 @@

You can just download the [standalone bundle](https://packd.fregante.now.sh/image-promise@latest?name=loadImage) (it might take a minute to download)
You can download the [standalone bundle](https://bundle.fregante.com/?pkg=image-promise&global=loadImage)

@@ -35,0 +41,0 @@ Or use `npm`: