{"_id":"image-promise","_rev":"36-db3e3ab72b764dce302624abb9a36e0e","name":"image-promise","description":"Load one or more images, return a promise. Only 0.4KB, for the browser, no dependencies.","dist-tags":{"next":"5.0.0-2","latest":"8.0.0"},"versions":{"1.0.0":{"name":"image-promise","version":"1.0.0","keywords":["browser","image","img","load","onload","preload","lazyload","promise","then","cache"],"author":{"url":"twitter.com/bfred_it","name":"Federico Brigante","email":"bfred-it@users.noreply.github.com"},"license":"MIT","_id":"image-promise@1.0.0","maintainers":[{"name":"bfred-it","email":"npm@bfred.it"}],"homepage":"https://github.com/bfred-it/image-promise#readme","bugs":{"url":"https://github.com/bfred-it/image-promise/issues"},"xo":{"env":["browser"],"esnext":true},"dist":{"shasum":"452ce163e81ca289aa2e8b6db15c7b710f578cf8","tarball":"https://registry.npmjs.org/image-promise/-/image-promise-1.0.0.tgz","integrity":"sha512-KhMn5+S3ymoDZDjTOsE7rmG70gRpVExPMXtWuWwwYEqstLWi6/Z07w8gQovQXJcjSmkzoY+0SB13ypYv+q8xjw==","signatures":[{"sig":"MEYCIQD+J/aIxhdvkuDXAWde7D+ECJfNQ8Qw1IamCcMTjZJ0awIhAKMOFpSLJ+3gXWnRbJ+zz+3dvsBbUnmof8s9AZ0l0uKP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/image-promise.common-js.js","_from":".","babel":{"presets":["es2015-rollup"]},"files":["dist/image-promise.common-js.js","dist/image-promise.es-modules.js"],"_shasum":"452ce163e81ca289aa2e8b6db15c7b710f578cf8","gitHead":"0f546a58f319445e145fb4dbb6db579b6f0dfc9e","scripts":{"test":"xo","build":"npm-run-all --silent test build:*","jsfix":"xo --fix","watch":"npm-run-all --parallel --silent watch:*","build:js":"bfred-npm-bundler image-promise loadImage","build:size":"gzip-size dist/image-promise.browser.js","prepublish":"npm run build","watch:build":"onchange 'index.js' 'lib/*' -i -v -- npm run build -- -c","watch:server":"browser-sync start --server --files '*.html,dist/*.browser.js'"},"_npmUser":{"name":"bfred-it","email":"npm@bfred.it"},"repository":{"url":"git+https://github.com/bfred-it/image-promise.git","type":"git"},"_npmVersion":"3.8.3","description":"Load an image and return a promise in the browser, in 0.4KB","directories":{},"jsnext:main":"dist/image-promise.es-modules.js","_nodeVersion":"5.8.0","devDependencies":{"xo":"^0.13.0","onchange":"^2.2.0","npm-run-all":"^1.7.0","browser-sync":"^2.11.2","gzip-size-cli":"^1.0.0","bfred-npm-bundler":"^5.0.0","babel-preset-es2015-rollup":"^1.1.1"},"_npmOperationalInternal":{"tmp":"tmp/image-promise-1.0.0.tgz_1459673261029_0.33822289970703423","host":"packages-12-west.internal.npmjs.com"}},"1.0.1":{"name":"image-promise","version":"1.0.1","keywords":["browser","image","img","load","onload","preload","lazyload","promise","then","cache"],"author":{"url":"twitter.com/bfred_it","name":"Federico Brigante","email":"bfred-it@users.noreply.github.com"},"license":"MIT","_id":"image-promise@1.0.1","maintainers":[{"name":"bfred-it","email":"npm@bfred.it"}],"homepage":"https://github.com/bfred-it/image-promise#readme","bugs":{"url":"https://github.com/bfred-it/image-promise/issues"},"xo":{"env":["browser"],"esnext":true},"dist":{"shasum":"432c562c389f62e3639c8f23b9dbb86559c17a21","tarball":"https://registry.npmjs.org/image-promise/-/image-promise-1.0.1.tgz","integrity":"sha512-7lMQ3a/0cTg4TIq040mg6G3emnSjumjwHUILV1iMabrcUddDiBISo6CvH1MXDoG92cqtzonjuG2kjKXgxFpUhA==","signatures":[{"sig":"MEUCIDGH7Z9/EW7PQL2aNzSU3de4jjBU+wAiivKO6SjWiwPDAiEA/CDRahQOw9z6YknKaxsD2wE2IP6fCd0sZ6BCq37h+EU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/image-promise.common-js.js","_from":".","babel":{"presets":["es2015-rollup"]},"files":["dist/image-promise.common-js.js","dist/image-promise.es-modules.js"],"_shasum":"432c562c389f62e3639c8f23b9dbb86559c17a21","gitHead":"679627ca1c66610ac7cc181fe0ffad27c1596d94","scripts":{"test":"xo","build":"npm-run-all --silent test build:*","jsfix":"xo --fix","watch":"npm-run-all --parallel --silent watch:*","build:js":"bfred-npm-bundler image-promise loadImage","build:size":"gzip-size dist/image-promise.browser.js","prepublish":"npm run build","watch:build":"onchange 'index.js' 'lib/*' -i -v -- npm run build -- -c","watch:server":"browser-sync start --server --files '*.html,dist/*.browser.js'"},"_npmUser":{"name":"bfred-it","email":"npm@bfred.it"},"repository":{"url":"git+https://github.com/bfred-it/image-promise.git","type":"git"},"_npmVersion":"3.8.3","description":"Load an image and return a promise in the browser, in 0.4KB","directories":{},"jsnext:main":"dist/image-promise.es-modules.js","_nodeVersion":"5.8.0","devDependencies":{"xo":"^0.13.0","onchange":"^2.2.0","npm-run-all":"^1.7.0","gzip-size-cli":"^1.0.0","bfred-npm-bundler":"^5.0.0","babel-preset-es2015-rollup":"^1.1.1"},"_npmOperationalInternal":{"tmp":"tmp/image-promise-1.0.1.tgz_1459673410956_0.7324781508650631","host":"packages-12-west.internal.npmjs.com"}},"1.0.2":{"name":"image-promise","version":"1.0.2","keywords":["browser","image","img","load","onload","preload","lazyload","promise","then","cache"],"author":{"url":"twitter.com/bfred_it","name":"Federico Brigante","email":"bfred-it@users.noreply.github.com"},"license":"MIT","_id":"image-promise@1.0.2","maintainers":[{"name":"bfred-it","email":"npm@bfred.it"}],"homepage":"https://github.com/bfred-it/image-promise#readme","bugs":{"url":"https://github.com/bfred-it/image-promise/issues"},"xo":{"env":["browser"],"esnext":true},"dist":{"shasum":"ffac6ad3330b789d0392b93f5a31fb872ac9fb02","tarball":"https://registry.npmjs.org/image-promise/-/image-promise-1.0.2.tgz","integrity":"sha512-g4fsNMDT17N269OMQ7d4JUSc7f36H4TbqErWkHOFhamibLs50vjF7OUG50TGRAFgd7jUNxnnkTr7GZWQp2ZjfQ==","signatures":[{"sig":"MEYCIQCTTUmiPY5ZBYnUWBwVor16K4R2p6dpVgkOCOORYvuk/wIhAK5vIEVDcYPb6f/ZdlcXRBKZRq3BUCyq88Sbu5t2w0fR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/image-promise.common-js.js","_from":".","babel":{"presets":["es2015-rollup"]},"files":["dist/image-promise.common-js.js","dist/image-promise.es-modules.js"],"_shasum":"ffac6ad3330b789d0392b93f5a31fb872ac9fb02","gitHead":"0354701e0cdccaa71f3fb0d6d2600f30c8982ab2","scripts":{"test":"xo","build":"npm-run-all --silent test build:*","jsfix":"xo --fix","watch":"npm-run-all --parallel --silent watch:*","build:js":"bfred-npm-bundler image-promise loadImage","build:size":"gzip-size dist/image-promise.browser.js","prepublish":"npm run build","watch:build":"onchange 'index.js' 'lib/*' -i -v -- npm run build -- -c","watch:server":"browser-sync start --server --files '*.html,dist/*.browser.js'"},"_npmUser":{"name":"bfred-it","email":"npm@bfred.it"},"repository":{"url":"git+https://github.com/bfred-it/image-promise.git","type":"git"},"_npmVersion":"3.8.3","description":"Load an image and return a promise in the browser, in 0.4KB","directories":{},"jsnext:main":"dist/image-promise.es-modules.js","_nodeVersion":"5.8.0","devDependencies":{"xo":"^0.13.0","onchange":"^2.2.0","npm-run-all":"^1.7.0","gzip-size-cli":"^1.0.0","bfred-npm-bundler":"^5.0.0","babel-preset-es2015-rollup":"^1.1.1"},"_npmOperationalInternal":{"tmp":"tmp/image-promise-1.0.2.tgz_1459673870827_0.7680733874440193","host":"packages-12-west.internal.npmjs.com"}},"1.0.3":{"name":"image-promise","version":"1.0.3","keywords":["browser","image","img","load","onload","preload","lazyload","promise","then","cache"],"author":{"url":"twitter.com/bfred_it","name":"Federico Brigante","email":"bfred-it@users.noreply.github.com"},"license":"MIT","_id":"image-promise@1.0.3","maintainers":[{"name":"bfred-it","email":"npm@bfred.it"}],"homepage":"https://github.com/bfred-it/image-promise#readme","bugs":{"url":"https://github.com/bfred-it/image-promise/issues"},"xo":{"env":["browser"],"esnext":true},"dist":{"shasum":"41ea668b262e0707123b2619c9e5c78812d124bf","tarball":"https://registry.npmjs.org/image-promise/-/image-promise-1.0.3.tgz","integrity":"sha512-0vhaRRFJMsQLzU43IWTRBxtWevEqQU+4Iwmqj/ZQJXrIoSAgoV3sBGsZoDa7Jsn8sbkKytReCE2naN73lGzlWg==","signatures":[{"sig":"MEUCIEmrRZYGRyrF/2zpMCp8AhiEq0dpzwsOgSjaX8u3HwndAiEA+71NRWaBzc3OdEHmpfqtnt8SIG+W21mL20wpiS12qgM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/image-promise.common-js.js","_from":".","babel":{"presets":["es2015-rollup"]},"files":["dist/image-promise.common-js.js","dist/image-promise.es-modules.js"],"_shasum":"41ea668b262e0707123b2619c9e5c78812d124bf","gitHead":"b17b23824510128a3069db3629055251627e8e2a","scripts":{"test":"xo; npm run build","build":"npm-run-all --silent jsfix build:*","jsfix":"xo --fix","watch":"npm-run-all --parallel --silent watch:*","build:js":"bfred-npm-bundler image-promise loadImage","build:size":"gzip-size dist/image-promise.browser.js","prepublish":"npm run build","watch:build":"onchange 'index.js' --initial -- npm run build -- --continue-on-error"},"_npmUser":{"name":"bfred-it","email":"npm@bfred.it"},"repository":{"url":"git+https://github.com/bfred-it/image-promise.git","type":"git"},"_npmVersion":"3.8.3","description":"Load an image and return a promise in the browser, in 0.4KB","directories":{},"jsnext:main":"dist/image-promise.es-modules.js","_nodeVersion":"5.8.0","devDependencies":{"xo":"^0.13.0","onchange":"^2.2.0","npm-run-all":"^1.7.0","gzip-size-cli":"^1.0.0","bfred-npm-bundler":"^5.0.0","babel-preset-es2015-rollup":"^1.1.1"},"_npmOperationalInternal":{"tmp":"tmp/image-promise-1.0.3.tgz_1461464247224_0.5340263764373958","host":"packages-12-west.internal.npmjs.com"}},"1.0.4":{"name":"image-promise","version":"1.0.4","keywords":["browser","image","img","load","onload","preload","lazyload","promise","then","cache"],"author":{"url":"twitter.com/bfred_it","name":"Federico Brigante","email":"bfred-it@users.noreply.github.com"},"license":"MIT","_id":"image-promise@1.0.4","maintainers":[{"name":"bfred-it","email":"npm@bfred.it"}],"homepage":"https://github.com/bfred-it/image-promise#readme","bugs":{"url":"https://github.com/bfred-it/image-promise/issues"},"xo":{"env":["browser"],"esnext":true},"dist":{"shasum":"ffa0d65ffd2904d7e6ab1dabe751ff46dfbe6739","tarball":"https://registry.npmjs.org/image-promise/-/image-promise-1.0.4.tgz","integrity":"sha512-rotdjnC5yh12pucpoUs7MF/5yceoode/gKjG0TYXx8a8TcHax2pFd/S67BdmNTPXS9nXl9L0DSt4aKL2Pz4Isw==","signatures":[{"sig":"MEQCIHghaIZh4K2GRkffBvGEZnAMmdxPyWOduka5zpg5V8BZAiACUK61dXTS054GZlX6PHta83pjGFcDbf3+O2AF9x6z6A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/image-promise.common-js.js","_from":".","babel":{"presets":["es2015-rollup"]},"files":["dist/image-promise.common-js.js","dist/image-promise.es-modules.js"],"_shasum":"ffa0d65ffd2904d7e6ab1dabe751ff46dfbe6739","gitHead":"bea651023659774f548f21baa8d32829bf5d063b","scripts":{"test":"xo; npm run build","build":"npm-run-all --silent jsfix build:*","jsfix":"xo --fix","watch":"npm-run-all --parallel --silent watch:*","build:js":"bfred-npm-bundler image-promise loadImage","build:size":"gzip-size dist/image-promise.browser.js","prepublish":"npm run build","watch:build":"onchange 'index.js' --initial -- npm run build -- --continue-on-error"},"_npmUser":{"name":"bfred-it","email":"npm@bfred.it"},"repository":{"url":"git+https://github.com/bfred-it/image-promise.git","type":"git"},"_npmVersion":"3.8.3","description":"Load an image and return a promise in the browser, in 0.4KB","directories":{},"jsnext:main":"dist/image-promise.es-modules.js","_nodeVersion":"5.8.0","devDependencies":{"xo":"^0.13.0","onchange":"^2.2.0","npm-run-all":"^1.7.0","gzip-size-cli":"^1.0.0","bfred-npm-bundler":"^5.0.0","babel-preset-es2015-rollup":"^1.1.1"},"_npmOperationalInternal":{"tmp":"tmp/image-promise-1.0.4.tgz_1461464499363_0.05560766416601837","host":"packages-12-west.internal.npmjs.com"}},"2.0.0":{"name":"image-promise","version":"2.0.0","keywords":["browser","image","img","load","onload","preload","lazyload","promise","then","cache"],"author":{"url":"twitter.com/bfred_it","name":"Federico Brigante","email":"bfred-it@users.noreply.github.com"},"license":"MIT","_id":"image-promise@2.0.0","maintainers":[{"name":"bfred-it","email":"npm@bfred.it"}],"homepage":"https://github.com/bfred-it/image-promise#readme","bugs":{"url":"https://github.com/bfred-it/image-promise/issues"},"xo":{"env":["browser"],"rules":{"prefer-spread":0},"esnext":true},"dist":{"shasum":"0d2e5a96055195a14f41e249116824f16d5daba8","tarball":"https://registry.npmjs.org/image-promise/-/image-promise-2.0.0.tgz","integrity":"sha512-5clYxi1vDaix3nDcQmXIRze6sVjqjhGQMNf4II+FpkD7w/O88YQJMIUNV/21cVXT9pvAHM75ZX2pDsKVnqqKSg==","signatures":[{"sig":"MEQCIECXQc+7KpiCxFsCuHpyX5TvB4VzagRDXRv89lS8sI+OAiBshzBE0r+vxGM/Sgxv748fSPKbUsX5/nZE/5thD6+YOA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/image-promise.common-js.js","_from":".","babel":{"presets":["es2015-rollup"]},"files":["dist/image-promise.common-js.js","dist/image-promise.es-modules.js"],"_shasum":"0d2e5a96055195a14f41e249116824f16d5daba8","gitHead":"3696015ca09af195984428c25c84d8a81d288e57","scripts":{"test":"xo; npm run build","build":"npm-run-all --silent jsfix build:*","jsfix":"xo --fix","watch":"npm-run-all --parallel --silent watch:*","build:js":"bfred-npm-bundler image-promise loadImage","build:size":"gzip-size dist/image-promise.browser.js","prepublish":"npm run build","watch:build":"onchange 'index.js' --initial -- npm run build -- --continue-on-error"},"_npmUser":{"name":"bfred-it","email":"npm@bfred.it"},"repository":{"url":"git+https://github.com/bfred-it/image-promise.git","type":"git"},"_npmVersion":"3.7.3","description":"Load an image and return a promise in the browser, in 0.3KB","directories":{},"jsnext:main":"dist/image-promise.es-modules.js","_nodeVersion":"5.8.0","devDependencies":{"xo":"^0.13.0","onchange":"^2.2.0","npm-run-all":"^1.7.0","gzip-size-cli":"^1.0.0","bfred-npm-bundler":"^5.0.0","babel-preset-es2015-rollup":"^1.1.1"},"_npmOperationalInternal":{"tmp":"tmp/image-promise-2.0.0.tgz_1466418349343_0.9145701911766082","host":"packages-12-west.internal.npmjs.com"}},"3.0.0":{"name":"image-promise","version":"3.0.0","keywords":["browser","image","img","load","onload","preload","lazyload","promise","then","cache"],"author":{"url":"twitter.com/bfred_it","name":"Federico Brigante","email":"bfred-it@users.noreply.github.com"},"license":"MIT","_id":"image-promise@3.0.0","maintainers":[{"name":"bfred-it","email":"npm@bfred.it"}],"homepage":"https://github.com/bfred-it/image-promise#readme","bugs":{"url":"https://github.com/bfred-it/image-promise/issues"},"xo":{"env":["browser"],"rules":{"prefer-spread":0},"esnext":true},"dist":{"shasum":"18f353ed71840da732d0d307483b95477cf317f5","tarball":"https://registry.npmjs.org/image-promise/-/image-promise-3.0.0.tgz","integrity":"sha512-MqIsEjbjjftnQq2eG7bmNxd9V0d/nin+KRk+DBogySiyxae4JljlTRPjqcRbrmonz9XT5/MYCURBvO8LoAbLzQ==","signatures":[{"sig":"MEQCIHitgHm//m1qLLH6DjdF2L5FdaeCXIx5Cb9svez5+/IOAiBCYQRJDPADGfb5v/49f64rLz5vMlBpi9SMYOvjJSsh9Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/image-promise.common-js.js","_from":".","files":["dist/image-promise.common-js.js","dist/image-promise.es-modules.js"],"_shasum":"18f353ed71840da732d0d307483b95477cf317f5","gitHead":"016e9b6e6aecdbe62ae1f4b61c81708e1701b80a","scripts":{"test":"xo; npm run build","build":"npm-run-all --silent jsfix build:*","jsfix":"xo --fix","watch":"npm-run-all --parallel --silent watch:*","build:js":"bfred-npm-bundler image-promise loadImage","prepublish":"npm run build","watch:build":"onchange 'index.js' --initial -- npm run build -- --continue-on-error"},"_npmUser":{"name":"bfred-it","email":"npm@bfred.it"},"repository":{"url":"git+https://github.com/bfred-it/image-promise.git","type":"git"},"_npmVersion":"3.7.3","description":"Load an image and return a promise in the browser, in 0.3KB","directories":{},"jsnext:main":"dist/image-promise.es-modules.js","_nodeVersion":"5.8.0","devDependencies":{"xo":"^0.16.0","onchange":"^2.5.0","npm-run-all":"^2.3.0","bfred-npm-bundler":"^7.1.2"},"_npmOperationalInternal":{"tmp":"tmp/image-promise-3.0.0.tgz_1469287169868_0.2537359087727964","host":"packages-16-east.internal.npmjs.com"}},"3.0.1":{"name":"image-promise","version":"3.0.1","keywords":["browser","image","img","load","onload","preload","lazyload","promise","then","cache"],"author":{"url":"twitter.com/bfred_it","name":"Federico Brigante","email":"bfred-it@users.noreply.github.com"},"license":"MIT","_id":"image-promise@3.0.1","maintainers":[{"name":"bfred-it","email":"npm@bfred.it"}],"homepage":"https://github.com/bfred-it/image-promise#readme","bugs":{"url":"https://github.com/bfred-it/image-promise/issues"},"xo":{"env":["browser"],"rules":{"prefer-spread":0},"esnext":true},"dist":{"shasum":"0f80b71b2590d6958435f5be95ef800b0b0406a1","tarball":"https://registry.npmjs.org/image-promise/-/image-promise-3.0.1.tgz","integrity":"sha512-hIPGk/ZiCPF1aC22LU1QBGlQEOCBG1LbgJCNpVHFIs/DYFm2SkPhEYt905WguAzRA7BzD2sRQxKzbof8IuZ0Jg==","signatures":[{"sig":"MEUCIQDYSmHU978h2WWiR5qWDWuvtU7G9W8BPscaecqpMZWH8gIgHhGvNvJUQBEP7yY5kmAazuGj7EkpYIr6aVCOVb1tBwI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/image-promise.common-js.js","_from":".","files":["dist/image-promise.common-js.js","dist/image-promise.es-modules.js"],"_shasum":"0f80b71b2590d6958435f5be95ef800b0b0406a1","gitHead":"b8236384b6216826c167c2e768055d443d1f50fc","scripts":{"test":"xo; npm run build","build":"npm-run-all --silent jsfix build:*","jsfix":"xo --fix","watch":"npm-run-all --parallel --silent watch:*","build:js":"bfred-npm-bundler image-promise loadImage","prepublish":"npm run build","watch:build":"onchange 'index.js' --initial -- npm run build -- --continue-on-error"},"_npmUser":{"name":"bfred-it","email":"npm@bfred.it"},"repository":{"url":"git+https://github.com/bfred-it/image-promise.git","type":"git"},"_npmVersion":"3.10.6","description":"Load an image and return a promise in the browser, in 0.3KB","directories":{},"jsnext:main":"dist/image-promise.es-modules.js","_nodeVersion":"6.2.2","devDependencies":{"xo":"^0.16.0","onchange":"^2.5.0","npm-run-all":"^2.3.0","bfred-npm-bundler":"^7.1.2"},"_npmOperationalInternal":{"tmp":"tmp/image-promise-3.0.1.tgz_1475491967466_0.5924854297190905","host":"packages-16-east.internal.npmjs.com"}},"4.0.0":{"name":"image-promise","version":"4.0.0","keywords":["browser","image","img","load","onload","preload","lazyload","promise","then","cache"],"author":{"url":"twitter.com/bfred_it","name":"Federico Brigante","email":"bfred-it@users.noreply.github.com"},"license":"MIT","_id":"image-promise@4.0.0","maintainers":[{"name":"bfred-it","email":"npm@bfred.it"}],"homepage":"https://github.com/bfred-it/image-promise#readme","bugs":{"url":"https://github.com/bfred-it/image-promise/issues"},"xo":{"env":["browser"],"rules":{"prefer-spread":0},"esnext":true},"dist":{"shasum":"ad3b2317e3700d124cd7387db12c99da2bf1eafd","tarball":"https://registry.npmjs.org/image-promise/-/image-promise-4.0.0.tgz","integrity":"sha512-F3yUpAxXD4Pr2pHS7pFILmBzKB5tuguXYCk4U6Vz2ZXxV32oGiRLu+Y5os7tV2WNKFh7OWzWh6ORI0z5wN3DMQ==","signatures":[{"sig":"MEQCIFj/37Sian7Py1RVqOp6WmQb1ivPWnHkEcbZyPQUmUfGAiBEx6fOGIoUBhVhRlhTmJU21I8enLnfIvtyyZol+ov84g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/image-promise.common-js.js","_from":".","files":["dist/image-promise.common-js.js","dist/image-promise.es-modules.js"],"_shasum":"ad3b2317e3700d124cd7387db12c99da2bf1eafd","gitHead":"ded1d074f56617506c11cd207877d2b766d2d027","scripts":{"test":"xo; npm run build","build":"npm-run-all --silent jsfix build:*","jsfix":"xo --fix","watch":"npm-run-all --parallel --silent watch:*","build:js":"bfred-npm-bundler image-promise loadImage","prepublish":"npm run build","watch:build":"onchange 'index.js' --initial -- npm run build -- --continue-on-error"},"_npmUser":{"name":"bfred-it","email":"npm@bfred.it"},"repository":{"url":"git+https://github.com/bfred-it/image-promise.git","type":"git"},"_npmVersion":"3.10.6","description":"Load an image and return a promise in the browser, in 0.3KB","directories":{},"jsnext:main":"dist/image-promise.es-modules.js","_nodeVersion":"6.2.2","devDependencies":{"xo":"^0.16.0","onchange":"^2.5.0","npm-run-all":"^2.3.0","bfred-npm-bundler":"^7.1.2"},"_npmOperationalInternal":{"tmp":"tmp/image-promise-4.0.0.tgz_1475492202194_0.27148392400704324","host":"packages-12-west.internal.npmjs.com"}},"4.0.1":{"name":"image-promise","version":"4.0.1","keywords":["browser","image","img","load","onload","preload","lazyload","promise","then","cache"],"author":{"url":"bfred.it","name":"Federico Brigante","email":"github@bfred.it"},"license":"MIT","_id":"image-promise@4.0.1","maintainers":[{"name":"bfred-it","email":"npm@bfred.it"}],"homepage":"https://github.com/bfred-it/image-promise#readme","bugs":{"url":"https://github.com/bfred-it/image-promise/issues"},"xo":{"env":["browser"],"rules":{"prefer-spread":0},"esnext":true},"dist":{"shasum":"3ca7b0a141c268e20f9a030156141813eeda77df","tarball":"https://registry.npmjs.org/image-promise/-/image-promise-4.0.1.tgz","integrity":"sha512-ypDgfNIC2bxKMTieRhzprZtVWhyyP8JQgCu416i2vinVe8W+YYFCtfahxc3WK1y1hSkIkHEg3zWlBeXYF/ZOYg==","signatures":[{"sig":"MEYCIQC0zVbGMM5Ac9zBuFywVOsZYaE1tOTBs133ijsfBSMQCAIhAN76ViDgIQ+wByUUNAntwdMf+YhgTJLAkuYedJ8bz8u0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/image-promise.common-js.js","_from":".","files":["dist/image-promise.common-js.js","dist/image-promise.es-modules.js"],"_shasum":"3ca7b0a141c268e20f9a030156141813eeda77df","gitHead":"e68a54c3b8c6cc9e1e1e6ef0cfa1b7021d10079b","scripts":{"test":"xo; npm run build","build":"npm-run-all --silent jsfix build:*","jsfix":"xo --fix","watch":"npm-run-all --parallel --silent watch:*","build:js":"bfred-npm-bundler image-promise loadImage","prepublish":"npm run build","watch:build":"onchange 'index.js' --initial -- npm run build -- --continue-on-error"},"_npmUser":{"name":"bfred-it","email":"npm@bfred.it"},"repository":{"url":"git+https://github.com/bfred-it/image-promise.git","type":"git"},"_npmVersion":"3.10.8","description":"Load an image and return a promise in the browser, in 0.3KB","directories":{},"jsnext:main":"dist/image-promise.es-modules.js","_nodeVersion":"6.2.2","devDependencies":{"xo":"^0.16.0","onchange":"^2.5.0","npm-run-all":"^2.3.0","bfred-npm-bundler":"^7.1.2"},"_npmOperationalInternal":{"tmp":"tmp/image-promise-4.0.1.tgz_1476887707186_0.9995579877868295","host":"packages-18-east.internal.npmjs.com"}},"5.0.0-0":{"name":"image-promise","version":"5.0.0-0","keywords":["browser","image","img","load","onload","preload","lazyload","promise","then","cache"],"author":{"url":"bfred.it","name":"Federico Brigante","email":"github@bfred.it"},"license":"MIT","_id":"image-promise@5.0.0-0","maintainers":[{"name":"bfred-it","email":"npm@bfred.it"}],"homepage":"https://github.com/bfred-it/image-promise#readme","bugs":{"url":"https://github.com/bfred-it/image-promise/issues"},"xo":{"env":["browser"]},"dist":{"shasum":"c732933b43de7586084286a4019be978be23456e","tarball":"https://registry.npmjs.org/image-promise/-/image-promise-5.0.0-0.tgz","integrity":"sha512-gi6kMqTWdoj35adLkBrvqplDrTFn5w2iHfKVKU5MXcvrMFuyxvSTuvYHHgfXMnlPlGoQ9OqR031ZPjjDLcF0ew==","signatures":[{"sig":"MEYCIQCHA4lShHef3E+OQdNBWTMsvAZCBKohnCV7/nIt9a+0BgIhALXAbWglQdw1WZNqdI4EeIj4LRIVu3U4ccYAfYip32nf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/image-promise.common-js.js","_from":".","files":["dist/image-promise.common-js.js","dist/image-promise.es-modules.js"],"module":"dist/image-promise.es-modules.js","_shasum":"c732933b43de7586084286a4019be978be23456e","gitHead":"d2e3776eabc64c54b7f719001f746009dacea324","scripts":{"test":"npm run build","build":"npm-run-all --silent jsfix build:*","jsfix":"xo --fix","watch":"npm-run-all --parallel --silent watch:*","version":"npm run build; git add dist","build:js":"bfred-npm-bundler image-promise loadImage","prepublish":"npm run build","watch:build":"onchange 'index.js' --initial -- npm run build -- --continue-on-error"},"_npmUser":{"name":"bfred-it","email":"npm@bfred.it"},"repository":{"url":"git+https://github.com/bfred-it/image-promise.git","type":"git"},"_npmVersion":"3.10.9","description":"Load an image and return a promise in the browser, in 0.3KB","directories":{},"jsnext:main":"dist/image-promise.es-modules.js","_nodeVersion":"7.2.0","devDependencies":{"xo":"^0.17.1","onchange":"^3.2.1","npm-run-all":"^4.0.2","bfred-npm-bundler":"^8.0.3"},"_npmOperationalInternal":{"tmp":"tmp/image-promise-5.0.0-0.tgz_1488269163708_0.7972361270803958","host":"packages-12-west.internal.npmjs.com"}},"5.0.0-1":{"name":"image-promise","version":"5.0.0-1","keywords":["browser","image","img","load","onload","preload","lazyload","promise","then","cache"],"author":{"url":"bfred.it","name":"Federico Brigante","email":"github@bfred.it"},"license":"MIT","_id":"image-promise@5.0.0-1","maintainers":[{"name":"bfred-it","email":"npm@bfred.it"}],"homepage":"https://github.com/bfred-it/image-promise#readme","bugs":{"url":"https://github.com/bfred-it/image-promise/issues"},"xo":{"env":["browser"]},"dist":{"shasum":"c3ce6ae69c23863ff7d8bc80377003d4efd77822","tarball":"https://registry.npmjs.org/image-promise/-/image-promise-5.0.0-1.tgz","integrity":"sha512-NIiDTpApCNEtqE2RfEUWxNZmjIha/v9MwRZAeiJA4IGKo6o2mD3Quaf3kiBXAR6Wq3aGzVCP2QZTPlyvgEgIIg==","signatures":[{"sig":"MEYCIQCAbmcqe5mvbP6BuhUPkHhVLV0fPyfXzXl0YmYkcQh18wIhAM0I5G7qJCV/3soV8ZxRFi0DyJ/EhgSzFk7r3NkNnr11","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/image-promise.common-js.js","_from":".","files":["dist/image-promise.common-js.js","dist/image-promise.es-modules.js"],"module":"dist/image-promise.es-modules.js","_shasum":"c3ce6ae69c23863ff7d8bc80377003d4efd77822","gitHead":"fe9225404686077ca7b73b0c61c9030af72e6302","scripts":{"test":"npm run build","build":"npm-run-all --silent jsfix build:*","jsfix":"xo --fix","watch":"npm-run-all --parallel --silent watch:*","version":"npm run build; git add dist","build:js":"bfred-npm-bundler image-promise loadImage","prepublish":"npm run build","watch:build":"onchange 'index.js' --initial -- npm run build -- --continue-on-error"},"_npmUser":{"name":"bfred-it","email":"npm@bfred.it"},"repository":{"url":"git+https://github.com/bfred-it/image-promise.git","type":"git"},"_npmVersion":"3.10.9","description":"Load an image and return a promise in the browser, in 0.3KB","directories":{},"jsnext:main":"dist/image-promise.es-modules.js","_nodeVersion":"7.2.0","devDependencies":{"xo":"^0.17.1","onchange":"^3.2.1","npm-run-all":"^4.0.2","bfred-npm-bundler":"^8.0.3"},"_npmOperationalInternal":{"tmp":"tmp/image-promise-5.0.0-1.tgz_1488307322989_0.18652973952703178","host":"packages-12-west.internal.npmjs.com"}},"5.0.0-2":{"name":"image-promise","version":"5.0.0-2","keywords":["browser","image","img","load","onload","preload","lazyload","promise","then","cache","imagesloaded","vanilla"],"author":{"url":"bfred.it","name":"Federico Brigante","email":"github@bfred.it"},"license":"MIT","_id":"image-promise@5.0.0-2","maintainers":[{"name":"bfred-it","email":"npm@bfred.it"}],"homepage":"https://github.com/bfred-it/image-promise#readme","bugs":{"url":"https://github.com/bfred-it/image-promise/issues"},"xo":{"env":["browser"]},"dist":{"shasum":"c147db775d5c4b6f077dae8a5c82fa66ce5941e0","tarball":"https://registry.npmjs.org/image-promise/-/image-promise-5.0.0-2.tgz","integrity":"sha512-Trn4Dkxx+pd305okL3RHXCVkbR7lOTjquZfRtsQJbviGI4dRnnvzS/SSg38IgqrF6SwRg/+IiMOz7kvjl5ljJw==","signatures":[{"sig":"MEUCIEoLE1uSjgpFS+h3yJYcPDNgvJAzs/UMOh9r4+wBxdK/AiEAs/RH01bTdvP4T3GlbWL6oI0upviClPmtdy3GazOmaDo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/image-promise.common-js.js","_from":".","files":["dist/image-promise.common-js.js","dist/image-promise.es-modules.js"],"module":"dist/image-promise.es-modules.js","_shasum":"c147db775d5c4b6f077dae8a5c82fa66ce5941e0","gitHead":"ff43d9b28782eed8e66135a5315606999226dfaa","scripts":{"test":"npm run build","build":"npm-run-all --silent jsfix build:*","jsfix":"xo --fix","watch":"npm-run-all --parallel --silent watch:*","version":"npm run build; git add dist","build:js":"bfred-npm-bundler image-promise loadImage","prepublish":"npm run build","watch:build":"onchange 'index.js' --initial -- npm run build -- --continue-on-error"},"_npmUser":{"name":"bfred-it","email":"npm@bfred.it"},"repository":{"url":"git+https://github.com/bfred-it/image-promise.git","type":"git"},"_npmVersion":"3.10.9","description":"Load one or more images, return a promise. Only 0.4KB, for the browser, no dependencies.","directories":{},"jsnext:main":"dist/image-promise.es-modules.js","_nodeVersion":"7.2.0","devDependencies":{"xo":"^0.17.1","onchange":"^3.2.1","npm-run-all":"^4.0.2","bfred-npm-bundler":"^8.0.3"},"_npmOperationalInternal":{"tmp":"tmp/image-promise-5.0.0-2.tgz_1488460048952_0.04777071764692664","host":"packages-18-east.internal.npmjs.com"}},"5.0.0":{"name":"image-promise","version":"5.0.0","keywords":["browser","image","img","load","onload","preload","lazyload","promise","then","cache","imagesloaded","vanilla"],"author":{"url":"bfred.it","name":"Federico Brigante","email":"github@bfred.it"},"license":"MIT","_id":"image-promise@5.0.0","maintainers":[{"name":"bfred-it","email":"npm@bfred.it"}],"homepage":"https://github.com/bfred-it/image-promise#readme","bugs":{"url":"https://github.com/bfred-it/image-promise/issues"},"xo":{"env":["browser"]},"dist":{"shasum":"4978bf06226acbc1d46e9084c9e6a7a7b35bd6ff","tarball":"https://registry.npmjs.org/image-promise/-/image-promise-5.0.0.tgz","integrity":"sha512-gDC0zkLm2+oLTtcpfE0Mi6XWAjQ1XcKBUhWtV76G3SkgrodPOj96JWsAkqHAi/CCOtzemhlqkNBjPMVbZCjWFg==","signatures":[{"sig":"MEUCIGdL0r9Aq+chjv3aVF4Vg/2USju4I+N34W7giyMoxHQuAiEAqs3bjNDgC/DC9CAZrc9mMF2U3JVkeoNKmjzwFkB/cDY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/image-promise.common-js.js","_from":".","files":["dist/image-promise.common-js.js","dist/image-promise.es-modules.js","index.d.ts"],"types":"./index.d.ts","module":"dist/image-promise.es-modules.js","_shasum":"4978bf06226acbc1d46e9084c9e6a7a7b35bd6ff","gitHead":"64825f0adea64438f7eb471dff54eccaf80ab79c","scripts":{"test":"npm run build","build":"npm-run-all --silent jsfix build:*","jsfix":"xo --ignore 'tests/**/*' --fix","watch":"npm-run-all --parallel --silent watch:*","version":"npm run build; git add dist","build:js":"bfred-npm-bundler image-promise loadImage","prepublish":"npm run build","test:build":"npm run build","test:intern":"node tests/launch.js","watch:build":"onchange 'index.js' --initial -- npm run build -- --continue-on-error","intern:chrome":"intern-runner config=tests/chrome","intern:browserstack":"intern-runner config=tests/intern"},"_npmUser":{"name":"bfred-it","email":"npm@bfred.it"},"repository":{"url":"git+https://github.com/bfred-it/image-promise.git","type":"git"},"_npmVersion":"3.10.9","description":"Load one or more images, return a promise. Only 0.4KB, for the browser, no dependencies.","directories":{},"jsnext:main":"dist/image-promise.es-modules.js","_nodeVersion":"7.2.0","devDependencies":{"xo":"^0.17.1","intern":"^3.4.2","onchange":"^3.2.1","is-travis":"^1.0.0","npm-run-all":"^4.0.2","bfred-npm-bundler":"^8.0.3"},"_npmOperationalInternal":{"tmp":"tmp/image-promise-5.0.0.tgz_1488608445388_0.4699812703765929","host":"packages-18-east.internal.npmjs.com"}},"5.0.1":{"name":"image-promise","version":"5.0.1","keywords":["browser","image","img","load","onload","preload","lazyload","promise","then","cache","imagesloaded","vanilla"],"author":{"url":"bfred.it","name":"Federico Brigante","email":"github@bfred.it"},"license":"MIT","_id":"image-promise@5.0.1","maintainers":[{"name":"bfred-it","email":"npm@bfred.it"}],"homepage":"https://github.com/bfred-it/image-promise#readme","bugs":{"url":"https://github.com/bfred-it/image-promise/issues"},"xo":{"env":["browser"]},"dist":{"shasum":"f6800d94b33f1476202409e69360f46e06d6baa6","tarball":"https://registry.npmjs.org/image-promise/-/image-promise-5.0.1.tgz","integrity":"sha512-ho5JkSoyykW8EisGHiEcBmIZv6YissGnc4c7oHRVCEsAiM5xzKYEqpQMIPEEc2Z0/vDHVM2XvQ/QfB0n0bOJ+g==","signatures":[{"sig":"MEUCIBbpSBhQ3AkXuk+dEVyW2OUxaoSmBfrE7nrWq3WOX4gUAiEAv6Le/L8zLHXbcnnG+WRhqs81Ftsm2SdhYWk1KNewC98=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/image-promise.common-js.js","_from":".","files":["dist/image-promise.common-js.js","dist/image-promise.es-modules.js","index.d.ts"],"types":"./index.d.ts","_shasum":"f6800d94b33f1476202409e69360f46e06d6baa6","gitHead":"82ae2ab921c5d53a0a6d8961346b96aea24c0c22","scripts":{"test":"npm run build","build":"npm-run-all --silent jsfix build:*","jsfix":"xo --ignore 'tests/**/*' --fix","watch":"npm-run-all --parallel --silent watch:*","version":"npm run build; git add dist","build:js":"bfred-npm-bundler image-promise loadImage","prepublish":"npm run build","watch:build":"onchange 'index.js' --initial -- npm run build -- --continue-on-error","intern:chrome":"intern-runner config=tests/chrome","intern:browserstack":"intern-runner config=tests/intern"},"_npmUser":{"name":"bfred-it","email":"npm@bfred.it"},"repository":{"url":"git+https://github.com/bfred-it/image-promise.git","type":"git"},"_npmVersion":"4.5.0","description":"Load one or more images, return a promise. Only 0.4KB, for the browser, no dependencies.","directories":{},"_nodeVersion":"7.8.0","devDependencies":{"xo":"^0.17.1","intern":"^3.4.2","onchange":"^3.2.1","npm-run-all":"^4.0.2","bfred-npm-bundler":"^8.1.0"},"_npmOperationalInternal":{"tmp":"tmp/image-promise-5.0.1.tgz_1493453770992_0.9409970387350768","host":"packages-18-east.internal.npmjs.com"}},"6.0.0":{"name":"image-promise","version":"6.0.0","keywords":["browser","image","img","load","onload","preload","lazyload","promise","then","cache","imagesloaded","vanilla"],"author":{"url":"bfred.it","name":"Federico Brigante","email":"github@bfred.it"},"license":"MIT","_id":"image-promise@6.0.0","maintainers":[{"name":"bfred-it","email":"npm@bfred.it"}],"homepage":"https://github.com/bfred-it/image-promise#readme","bugs":{"url":"https://github.com/bfred-it/image-promise/issues"},"xo":{"env":["browser"]},"dist":{"shasum":"992bc1e4c754ea5087e9be2770eb8e8065a5ad4b","tarball":"https://registry.npmjs.org/image-promise/-/image-promise-6.0.0.tgz","fileCount":7,"integrity":"sha512-78rnOkKL5yxdMqQb9qg1aA1InQQM4yec1Y/D0iX8ggvKbXGjUefXxxCgdngNWgrtkWU0C0VapXY7xH4Q50eYDg==","signatures":[{"sig":"MEYCIQDbbP5uCsqHKuDYe0u0n7qb3eGyIaLdLNvMpkNhvSHRzwIhALG5EVpSO6akDYa+keyV7d2p29N2JQbxTWxygrEi+Z2E","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcMMshCRA9TVsSAnZWagAAQ0QP+gNqjTEkzxGxSck+B5de\nn0/3gptD8IHMNa8tIMslk7qbQWi9Wg/AArUL1MvC6NZKepiW2gvZZQM3etrd\nxbeUkHRE/zzKV3nVExK2SPt3Q8h/boCGv71T8UoURqiv2YNyEjUP9GrweX/4\n5HQaRGqXVOkhQASLc4KBJcyjWs/hFoHzFCJajc6v59lIT/OKTZSQYRoX7IxG\ndZne23YkC8dOZMAWVh6jfkD2S3Jfj4JGfUYgUAjlka1XCcDLeHx4zDs4Fp0y\nXsVOuYwpdQuW7JlVdzvjYi7UJ7WFC0CzzwcD2iF5oDcujp+Wr950Ll6nhMgl\nvlYsWvY9FUSC2HZsuVCruBmnL+36GXMlGLAV6hjxI/pwR4ft2Gl5srZADIaK\nhdzZ7wpYRM1FAOBr7+yGciWxgJtu7x0kW3lrRyzX4bnHC8u9he5+TXSDwP/B\nvpM7Q3iMMv3WbkD8uEcNh2M7ZiT7vt/p6oS7CCjonAbUQrasCynJrtqy66OV\nuVMgFqVokwFeqCUhNWoUCZg1ZvrPuvF9YmLiKcEse+TRverHUTHWB1poL22y\nK5GYn8T9EkhslPUtIftrkoT75SoNEdBFZefufK8t3HiYefoO2Y3jIl1UW7iZ\ntyVcrfnEtcWViDBgrw+xlpYMykQQYAqSwaFSBsh8lHE/hFsIQOjA5hGKRMC9\nlJ6H\r\n=YcTR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/image-promise.common-js.js","types":"./index.d.ts","scripts":{"test":"npm run build","build":"npm-run-all --silent jsfix build:*","jsfix":"xo --ignore 'tests/**/*' --fix","watch":"npm-run-all --parallel --silent watch:*","version":"npm run build; git add dist","build:js":"bfred-npm-bundler image-promise loadImage","prepublish":"npm run build","watch:build":"onchange 'index.js' --initial -- npm run build -- --continue-on-error","intern:chrome":"intern-runner config=tests/chrome","intern:browserstack":"intern-runner config=tests/intern"},"_npmUser":{"name":"bfred-it","email":"npm@bfred.it"},"repository":{"url":"https://github.com/bfred-it/image-promise.git","type":"git"},"description":"Load one or more images, return a promise. Only 0.4KB, for the browser, no dependencies.","directories":{},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.17.1","intern":"^3.4.2","onchange":"^3.2.1","npm-run-all":"^4.0.2","bfred-npm-bundler":"^8.1.0"},"_npmOperationalInternal":{"tmp":"tmp/image-promise_6.0.0_1546701600183_0.3276189491124455","host":"s3://npm-registry-packages"}},"6.0.2":{"name":"image-promise","version":"6.0.2","keywords":["browser","image","img","load","onload","preload","lazyload","promise","then","cache","imagesloaded","vanilla"],"author":{"url":"bfred.it","name":"Federico Brigante","email":"github@bfred.it"},"license":"MIT","_id":"image-promise@6.0.2","maintainers":[{"name":"bfred-it","email":"npm@bfred.it"}],"homepage":"https://github.com/bfred-it/image-promise#readme","bugs":{"url":"https://github.com/bfred-it/image-promise/issues"},"xo":{"env":["browser"]},"dist":{"shasum":"0233afdb6c198db157f94329adcd6360ffdb535a","tarball":"https://registry.npmjs.org/image-promise/-/image-promise-6.0.2.tgz","fileCount":7,"integrity":"sha512-w2kNhSKxGvsY4lNIIBwh5N+04e6LH57RnSOnLeCkTzyJ+RZCl+gpqL/2EbOiK95yNaG/1Wkn+oYxhErPbZ0seg==","signatures":[{"sig":"MEUCIEwJVVMw6U1QKenXNA7QfT/TCNIJ0rcLcH7OE+eIx55zAiEAqPZ1msTnknEMs35Y68Dw6g0TH8TbeqxU9XtbAuCOJdk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckQvmCRA9TVsSAnZWagAAPVkQAIWiPV+XzRpIX1UWVcBG\nSKRePAEmL+Abd9sbk7S4auSSXjrXlzqUBpqBBJX1jSac1VpFMSdrw1LJWEFP\nbXHUe4PxeueJ0RNqNvtg1DNuzlyCsB+opTBaWOQSegIFQYe7O3puObHRZNF+\nqJ+d+j2ybD2hhKGatV8E9SeKny9oALvkGuTJNWNtM2TQMGODHnzFNul4/fAN\nGGo7Z1bS9YG1N4AKtn9EuzIZW4Zd2l8yRrHV9imOHWT51TF6Pe0fQgafRa7c\nuttUAaUZ/pRsS1KMolheOJH8ip2eYn6qX9tFPSZvHvXj8kozwRnU/uAVyLSc\nW3htCn0SXD8qE68VdzscjmrJB+EO0b7GMF7FgcEhUVKGZsPdB3wK4Lp3qqEm\nflPlEeRF335baC4YVcx/rFEggkZlhpL7xBs4g9Hw42V/zQm/4fTWhiHxQh2l\n7E4ZToe+WCGCrjeSrHKWvIdYexRDIc0vdjXk4QVQpBrMhfHCh6MaOfnNGnsW\npC7I6/cu7u1KDUnodevZLQabgf+/n4uerhSwDbdDotZCU6Jox+/nivpYyYlI\nat5Y0o5vZY7SxJZvZe/G7Nb42H992tqB1mYoN/1Wk1ljiMr2M1CzWdI3LJvg\nm53QS4q9fNwGjr6Wk7lYWG9oOn7uX10hFVqfzJAKvYL89XH/9BnsdhfDCfvN\nVxdG\r\n=LI+a\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/image-promise.common-js.js","types":"./index.d.ts","scripts":{"test":"npm run build","build":"npm-run-all --silent jsfix build:*","jsfix":"xo --ignore 'tests/**/*' --fix","watch":"npm-run-all --parallel --silent watch:*","version":"npm run build; git add dist","build:js":"bfred-npm-bundler image-promise loadImage","prepublish":"npm run build","watch:build":"onchange 'index.js' --initial -- npm run build -- --continue-on-error","intern:chrome":"intern-runner config=tests/chrome","intern:browserstack":"intern-runner config=tests/intern"},"_npmUser":{"name":"bfred-it","email":"npm@bfred.it"},"repository":{"url":"https://github.com/bfred-it/image-promise.git","type":"git"},"description":"Load one or more images, return a promise. Only 0.4KB, for the browser, no dependencies.","directories":{},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.17.1","intern":"^3.4.2","onchange":"^3.2.1","npm-run-all":"^4.0.2","bfred-npm-bundler":"^8.1.0"},"_npmOperationalInternal":{"tmp":"tmp/image-promise_6.0.2_1553009637847_0.7300361837718481","host":"s3://npm-registry-packages"}},"6.1.0":{"name":"image-promise","version":"6.1.0","keywords":["browser","cache","image","imagesloaded","img","lazyload","load","onload","preload","promise","then","vanilla"],"author":{"url":"bfred.it","name":"Federico Brigante","email":"opensource@bfred.it"},"license":"MIT","_id":"image-promise@6.1.0","maintainers":[{"name":"bfred-it","email":"npm@bfred.it"}],"homepage":"https://github.com/fregante/image-promise#readme","bugs":{"url":"https://github.com/fregante/image-promise/issues"},"xo":{"envs":["browser"],"rules":{"prefer-promise-reject-errors":"off"},"overrides":[{"files":"**/*.ts","rules":{"@typescript-eslint/promise-function-async":"off"},"extends":"xo-typescript"}],"extensions":["ts"]},"dist":{"shasum":"eb6ae14a6c9acad03089731f6c5a717b935fee22","tarball":"https://registry.npmjs.org/image-promise/-/image-promise-6.1.0.tgz","fileCount":4,"integrity":"sha512-QCa1pyJrZwhqjvfPuW0S+mXk7dX/hs4Gvoe759S1+cLRlc0UqzaaDsH4Dy//KRlYe0DnXbAAfG9movdyYC03FA==","signatures":[{"sig":"MEQCIHc3NJoO52tepa3AKTJpS9mHrSUpgGE6iM0SFfASCUyeAiBBhW8/fkXm8ThDbLLs/rwhjKyqXVrO03l8gcn4bJHtrA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7152,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwZ8iCRA9TVsSAnZWagAAFywP/ii433gx+ze8yFdlHf4W\nc+LEN0S1iIbDPpm+NC3F4knWcr/rBdbd/0Pdx/5m4LdwvVcFjduv+Bjq0Ik1\n8cNSPg2XJaLFoCnjW/1bGjZPrYAd+XmfJE/WVMqX5/JnBYpJs97F1nm3zpnX\n7z26x61+yTmX74v/Zffpjp5oAOknI1+D0/Y2pMJ/JChv2wxcnVgNcJUa7CMU\nTKB4THbvGY4+YLi+69hbWKEwM2ONITqGFZ2QHoaItb08Go6u/9cbEfcgENqh\netnUXKaT2j4TlFOAJ2PAo/db30u2j6Q4sRKsfVMLEY1jPbdWNPDVXwXj+Z52\nr0t1VbsnCAaVXx3VqVNuwgQFvEVjlc+RIpOAEkSaKqj9fr9dYmNToNGqWmXd\ngEWpi7SGYfUNLFF8UorVTT8NM0M+0z0N7l72TE9PMNTlU1E/Fp2jGNVI3Lzr\nzSt20BYfsfb3hIbhUDtdVpBhSPJAW3KYVTUBga2Jz8jOqwmICbY7VfcRVZcZ\nwQcSIf9hdhozeHMkYXhaQ5XcD+EozinIFBUJ0l7w/tiCvGre2Bmw/3XoJhFs\nQUZRZphnjsyGjFYSuVcDom68igmATL3h0g4zqqv7GSFc38ngLon1m+/Kjuo8\nmc0cxzSVgX9LlF9tqddM3ilm126dXF/+Gm9kIn3HMMMt+o6gH0xxNylSSmGf\nTjP+\r\n=WWda\r\n-----END PGP SIGNATURE-----\r\n"},"types":"./index.d.ts","module":"index.js","gitHead":"c74ea6480d46df22d9bde5b57963b17434073431","scripts":{"test":"xo && tsc --noEmit","build":"tsc","watch":"tsc --watch","prepublishOnly":"tsc"},"_npmUser":{"name":"bfred-it","email":"npm@bfred.it"},"deprecated":"v6 is supposed to have both CommonJS and ES Module files but v6.1.0 was published without a CommonJS file. Update to v6.1.1 if you still need CJS; otherwise update to the latest version.","repository":{"url":"git+https://github.com/fregante/image-promise.git","type":"git"},"_npmVersion":"6.10.2","description":"Load one or more images, return a promise. Only 0.4KB, for the browser, no dependencies.","directories":{},"_nodeVersion":"12.8.0","_hasShrinkwrap":false,"devDependencies":{"xo":"*","type-fest":"^0.8.1","typescript":"^3.5.3","@sindresorhus/tsconfig":"^0.4.0","@typescript-eslint/parser":"^1.13.0","eslint-config-xo-typescript":"^0.15.0","@typescript-eslint/eslint-plugin":"^1.13.0"},"_npmOperationalInternal":{"tmp":"tmp/image-promise_6.1.0_1572970273451_0.6436665442852432","host":"s3://npm-registry-packages"}},"6.1.1":{"name":"image-promise","version":"6.1.1","keywords":["browser","cache","image","imagesloaded","img","lazyload","load","onload","preload","promise","then","vanilla"],"author":{"url":"bfred.it","name":"Federico Brigante","email":"opensource@bfred.it"},"license":"MIT","_id":"image-promise@6.1.1","maintainers":[{"name":"bfred-it","email":"npm@bfred.it"}],"homepage":"https://github.com/fregante/image-promise#readme","bugs":{"url":"https://github.com/fregante/image-promise/issues"},"xo":{"envs":["browser"],"rules":{"prefer-promise-reject-errors":"off"},"overrides":[{"files":"**/*.ts","rules":{"@typescript-eslint/promise-function-async":"off"},"extends":"xo-typescript"}],"extensions":["ts"]},"dist":{"shasum":"6cfde8e479b2314703eb8eb81bdf9ef3ae8fe036","tarball":"https://registry.npmjs.org/image-promise/-/image-promise-6.1.1.tgz","fileCount":5,"integrity":"sha512-HiWUw+EYk2f5LuxgiRwiPnTjprGIBtu285Y9ZQAkQ17fNTRrIDSvAwTN2G2nxYQ5HOFgRERjjzEHE8aXzuGtjg==","signatures":[{"sig":"MEYCIQDU+iB5e3GLG4JZAqgTMAZJ3qKu4BuS/txwm5QPl5uQIQIhAKA82vBuZa1qnhaD3IkYP7I53/vdlx+uSdNDCxWm0uyX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9813,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd7pddCRA9TVsSAnZWagAAo2YP/RiE1EY1TZ2ND5ekyQyR\nUsuERVyQS6dEA518reBvSmcmYf65u1HJpy1il2/XqsxFYQUNEHXna1VSbh9L\ndvXzHSCwMBmEPx6pHpOXed6qoxm7/vxfDeBIpujCZAOlM2yLTVABlLBW8174\nnJV/1mXXjm/r8X/5RpfLZuUS/u4VvrIzdUpG0wkwFQK/FWDSB+OSG66ZFqs8\n8XIWIp8FiP3jCZMBxMUD7QrpcpSzZk3PWG2uqq9PhS3Vi1Jq3Nw74Hn5Sf+E\n/6lAgJ9R3JGMJ96LSnsC69CKoMiN//alwYu6lYiylYVC3yxwN7HJFp8alIjh\nFz+Dfub4fByONnrTe2LINRl2kg0LGaOUjz1gA7MDnQ0OB6hftuf1ZLXJemgY\ng6K2hYOe/GJ0h2ADuFcjbRfzhAO7MCsVVs9nbSKG+h0X1sfdGi7rQqhaiCF+\n5+lK1j9kozNr8QFuQ+oOjP9h2cDvr9L/Y2ie7PUiVYZUYlNfE5TayMP7JNPk\nSueqUZixcU4392v9S4XWyeaoERUp5RcnWzdb8YQ0GpwLAxJrvH9wbe9Qr8MI\npUQYLzUhk1H4VEZF3oS2KGlUloa6RNfgKp+f/sGWiab9ZIoVQqMVLnyjyum5\nGcJuwwzRPj2ctjpfbnfbSm1BGuM/1tofSHo5ZUkhWlwUoZeEG+85utVeqdlB\nfKV5\r\n=7es4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/image-promise.common-js.js","types":"./index.d.ts","gitHead":"d503643daa7781c94ce4ec7bfa0ddc39c9b934a4","scripts":{"test":"xo && tsc --noEmit","build":"tsc","watch":"tsc --watch"},"_npmUser":{"name":"bfred-it","email":"npm@bfred.it"},"repository":{"url":"git+https://github.com/fregante/image-promise.git","type":"git"},"_npmVersion":"6.13.1","description":"Load one or more images, return a promise. Only 0.4KB, for the browser, no dependencies.","directories":{},"_nodeVersion":"13.2.0","_hasShrinkwrap":false,"devDependencies":{"xo":"*","type-fest":"^0.8.1","typescript":"^3.5.3","@sindresorhus/tsconfig":"^0.4.0","@typescript-eslint/parser":"^1.13.0","eslint-config-xo-typescript":"^0.15.0","@typescript-eslint/eslint-plugin":"^1.13.0"},"_npmOperationalInternal":{"tmp":"tmp/image-promise_6.1.1_1575917404795_0.9900634907017205","host":"s3://npm-registry-packages"}},"7.0.0":{"name":"image-promise","version":"7.0.0","keywords":["browser","cache","image","imagesloaded","img","lazyload","load","onload","preload","promise","then","vanilla"],"author":{"url":"bfred.it","name":"Federico Brigante","email":"opensource@bfred.it"},"license":"MIT","_id":"image-promise@7.0.0","maintainers":[{"name":"bfred-it","email":"npm@bfred.it"}],"homepage":"https://github.com/fregante/image-promise#readme","bugs":{"url":"https://github.com/fregante/image-promise/issues"},"xo":{"envs":["browser"],"rules":{"prefer-promise-reject-errors":"off"},"overrides":[{"files":"**/*.ts","rules":{"@typescript-eslint/promise-function-async":"off"},"extends":"xo-typescript"}],"extensions":["ts"]},"dist":{"shasum":"a15ab40e59b9cdc7e3974d93949faa4f06cad4da","tarball":"https://registry.npmjs.org/image-promise/-/image-promise-7.0.0.tgz","fileCount":4,"integrity":"sha512-jDye/LXbcgBZxdu6okhxlwGMbnjLorop98hxgWgcsGsJ5ARp+r7etOIeqvw/biSCgbycqRtgpCDUd/BMaTz5zQ==","signatures":[{"sig":"MEUCIAHuXHHIfmdWZmDHWvKH0MV/PXtbRWB/SI1BfM2w6dgEAiEA513CSWOSI+D2pTeGWP+nqzpIfDSysYE4c5vIHF/5q4s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7172,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd7phACRA9TVsSAnZWagAAmoIQAJv3PNN3xc7j3o4fdjx/\ncMCLrdhznT53sM+Ef7TGM9a/xHpoIq5tpK/YIvnZIeNrhnO/1REIAy1YUNqE\nD76IprzqC+Z8Z7Ab5RRtjQAoQELa3UA/Jr8eq1OUJYCbc8U5isQUzVyPQdYQ\nue8b/p64Zw1Mo3bbDS9/Pb/CS3MDM75HWbw6bT9qoooSdhIjk3wRjqWtWXtr\nZ0zACT/WhrqYkSnZGDwXxabiGF+gxmquWIAmNAdytDRTI7apmSXAgoDpKrxc\n6Wd3XMN11kO7EKPExsHPwip+WCpk7WpjZwkcmTHvJ1pLJQ0PGP6a5YCR2lzP\nSoi60p5OLYM1rqNTJb0pIt1e9XmayXpz9O3Xj5DPdutQpTANdcw6OlMxpk0Y\nXGU3H6FmIfl/NGotAXly9IR4DCETJWZmOT1Zp4FwmR9ey051RE/bP3961rJH\nrh2GLzCtopNEvitI7qpX24I1I0qkDCRc/2E9vijR1YIeq3MVG7lODnH0n1Lu\nhwOq/Z1oO/Fv8htsa6K6D5lxSphtJuEcpgaSzyx/P6wqlM9muzgAJxJvvpaA\nJPrCiRNMO67wADrz+7Fy1st9iugv6n9pwNS26fyv8qkxqSQbPIy+KU0+wmET\nS8IxJEjifbuctAOC2AWsGLBiy1wGqr3xtG1NmRtFy/7HQJXE6+LNd55rd9lI\npdTB\r\n=EGOM\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"./index.d.ts","module":"index.js","gitHead":"5bb12aac6168f203f2568e7758bf677031db63b8","scripts":{"test":"xo && tsc --noEmit","build":"tsc","watch":"tsc --watch","prepublishOnly":"tsc"},"_npmUser":{"name":"bfred-it","email":"npm@bfred.it"},"repository":{"url":"git+https://github.com/fregante/image-promise.git","type":"git"},"_npmVersion":"6.13.1","description":"Load one or more images, return a promise. Only 0.4KB, for the browser, no dependencies.","directories":{},"_nodeVersion":"13.2.0","_hasShrinkwrap":false,"devDependencies":{"xo":"*","type-fest":"^0.8.1","typescript":"^3.5.3","@sindresorhus/tsconfig":"^0.4.0","@typescript-eslint/parser":"^1.13.0","eslint-config-xo-typescript":"^0.15.0","@typescript-eslint/eslint-plugin":"^1.13.0"},"_npmOperationalInternal":{"tmp":"tmp/image-promise_7.0.0_1575917632029_0.45073117077186553","host":"s3://npm-registry-packages"}},"7.0.1":{"name":"image-promise","version":"7.0.1","keywords":["browser","cache","image","imagesloaded","img","lazyload","load","onload","preload","promise","then","vanilla"],"author":{"url":"bfred.it","name":"Federico Brigante","email":"opensource@bfred.it"},"license":"MIT","_id":"image-promise@7.0.1","maintainers":[{"name":"bfred-it","email":"npm@bfred.it"}],"homepage":"https://github.com/fregante/image-promise#readme","bugs":{"url":"https://github.com/fregante/image-promise/issues"},"xo":{"envs":["browser"],"rules":{"prefer-promise-reject-errors":"off","@typescript-eslint/promise-function-async":"off","@typescript-eslint/prefer-readonly-parameter-types":"off"}},"dist":{"shasum":"97134ff205de927af01c57b7daba2f6f7f6b2501","tarball":"https://registry.npmjs.org/image-promise/-/image-promise-7.0.1.tgz","fileCount":4,"integrity":"sha512-399HJHce1d3aEz4EYXLU4MUgUjX0gO0Bewu8mY4iLYItpNpBWLSQkevbYRPDViyISsL6K2bJiLadhxGCctRIOg==","signatures":[{"sig":"MEUCIGkngg1x5LmSnep/DFbVyIdsBuIFduZfR5hwVDewlmuDAiEA2Dsm3RRVtGDf6hNHvcnTfVqJNXSeAxwKY2SlhiDSXQ4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6902,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeq/k5CRA9TVsSAnZWagAADLsP/0KPDD6KNoC23CyvoRKo\nj+w8C5AfySdoHrAyER6+SJbbNsfhrvejAMGe7bYETvF8aSwPZ2/rIHO9s+tu\nQ2GJlhZSCmySNUaFfu/pm1w3yBdP3+DBfh0cwZJTc+v5bfExBEHRWVAAHKrn\nJ3nLWcZdHe5KZeATttoGEPOe9gXJX7YI+cMTCt1Uo7aDUXVVb4101fC/Gt4a\nWSvyWuxDvhjO54WIARGFgJgzEd3MUke5NNPPEeAM6ZyTXT5trJqquH/M7u0n\n1z90e2RXIxp9DjLB+qulD9gtg2EU4uAZ1SbpUAWdEI+oERcZACdHBoA5MSwF\nf0v46m8+osqIHjxdOlEARqYoFisAs0sH0aQnbNSfWSC50g3EdHSdEWeO3sM+\n1gBYCmilD7pAiBJeHR2WV5TvYwjdGwlC4Uzy0coMnmcFrET1cqFq8wCQklgJ\nNnfhoskAs47VhXSSDT9w5rZ+7fb8oc1NW9Cep2qI5TvzjjFptIh97SZeSB2r\njby57CkttZXTsFebH64Uarf1jeB/2h/7byoSh33S2gFlOge0EY2y6r++AaQE\nUHW2hYUzJsBiz9pnv18jMtm/xWeif3BNo5n45OoSFJzISnTxgUaskTRmRytA\nrUzeHkCxZ1y8m+ZcPT9ag6vikVlPc1ZjIe42/UzP3uRRVYKpCVEbEop1ctgj\n4HaD\r\n=BlID\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","types":"./index.d.ts","module":"index.js","gitHead":"dc0a080250c96a2ba7cbfdc56406da8380e7ac88","scripts":{"test":"xo && tsc --noEmit","build":"tsc","watch":"tsc --watch","prepack":"tsc --sourceMap false"},"_npmUser":{"name":"bfred-it","email":"npm@bfred.it"},"repository":{"url":"git+https://github.com/fregante/image-promise.git","type":"git"},"_npmVersion":"6.13.4","description":"Load one or more images, return a promise. Only 0.4KB, for the browser, no dependencies.","directories":{},"_nodeVersion":"12.15.0","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.30.0","type-fest":"^0.13.1","typescript":"^3.8.3","@sindresorhus/tsconfig":"^0.7.0"},"_npmOperationalInternal":{"tmp":"tmp/image-promise_7.0.1_1588328760958_0.7099600660177652","host":"s3://npm-registry-packages"}},"8.0.0":{"name":"image-promise","version":"8.0.0","keywords":["browser","cache","image","imagesloaded","img","lazyload","load","onload","preload","promise","then","vanilla"],"author":{"url":"bfred.it","name":"Federico Brigante","email":"opensource@bfred.it"},"license":"MIT","_id":"image-promise@8.0.0","maintainers":[{"name":"fregante","email":"opensource@bfred.it"}],"homepage":"https://github.com/fregante/image-promise#readme","bugs":{"url":"https://github.com/fregante/image-promise/issues"},"xo":{"envs":["browser"],"rules":{"prefer-promise-reject-errors":"off","@typescript-eslint/promise-function-async":"off","@typescript-eslint/prefer-readonly-parameter-types":"off"}},"dist":{"shasum":"e1a784cc2eeb894449f5f99b81c840444c286f0d","tarball":"https://registry.npmjs.org/image-promise/-/image-promise-8.0.0.tgz","fileCount":4,"integrity":"sha512-+9zK7GB3C5RDdRBTs9NGkYc2L70pEI7oRlJjWCN5VDEOje3gRt+BqaQ/bdZA9uFpagiDJisTZMhwK9BnYJKoiw==","signatures":[{"sig":"MEUCIQDggRvcRvAgt9dgfILKDo4utoL0XN713GVDfJRBXUOtVQIgB3knrl457Rfi6rDPLr2TWJXQ1+pzyzgLCqXccZhwkL4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7109},"type":"module","types":"./index.d.ts","module":"index.js","gitHead":"034d717e70e0e95af07ce2bb1dad424b021856c6","scripts":{"test":"xo && tsc --noEmit","build":"tsc","watch":"tsc --watch","prepack":"tsc --sourceMap false"},"_npmUser":{"name":"fregante","email":"opensource@bfred.it"},"repository":{"url":"git+https://github.com/fregante/image-promise.git","type":"git"},"_npmVersion":"10.7.0","description":"Load one or more images, return a promise. Only 0.4KB, for the browser, no dependencies.","directories":{},"_nodeVersion":"22.2.0","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.30.0","type-fest":"^0.13.1","typescript":"^3.8.3","@sindresorhus/tsconfig":"^0.7.0"},"_npmOperationalInternal":{"tmp":"tmp/image-promise_8.0.0_1718089388831_0.8082579605887887","host":"s3://npm-registry-packages"},"deprecated":"Just use image.decode(); see https://github.com/fregante/image-promise/issues/27"}},"time":{"created":"2016-04-03T08:47:41.590Z","modified":"2024-06-11T07:03:59.434Z","1.0.0":"2016-04-03T08:47:41.590Z","1.0.1":"2016-04-03T08:50:11.511Z","1.0.2":"2016-04-03T08:57:51.386Z","1.0.3":"2016-04-24T02:17:27.726Z","1.0.4":"2016-04-24T02:21:39.943Z","2.0.0":"2016-06-20T10:25:49.803Z","3.0.0":"2016-07-23T15:19:33.014Z","3.0.1":"2016-10-03T10:52:49.988Z","4.0.0":"2016-10-03T10:56:42.416Z","4.0.1":"2016-10-19T14:35:08.809Z","5.0.0-0":"2017-02-28T08:06:03.979Z","5.0.0-1":"2017-02-28T18:42:03.211Z","5.0.0-2":"2017-03-02T13:07:30.731Z","5.0.0":"2017-03-04T06:20:47.405Z","5.0.1":"2017-04-29T08:16:12.778Z","6.0.0":"2019-01-05T15:20:00.326Z","6.0.2":"2019-03-19T15:33:57.985Z","6.1.0":"2019-11-05T16:11:13.587Z","6.1.1":"2019-12-09T18:50:04.966Z","7.0.0":"2019-12-09T18:53:52.171Z","7.0.1":"2020-05-01T10:26:01.181Z","8.0.0":"2024-06-11T07:03:09.018Z"},"maintainers":[{"name":"fregante","email":"opensource@bfred.it"}],"author":{"url":"bfred.it","name":"Federico Brigante","email":"opensource@bfred.it"},"repository":{"url":"git+https://github.com/fregante/image-promise.git","type":"git"},"keywords":["browser","cache","image","imagesloaded","img","lazyload","load","onload","preload","promise","then","vanilla"],"license":"MIT","homepage":"https://github.com/fregante/image-promise#readme","bugs":{"url":"https://github.com/fregante/image-promise/issues"},"readme":"# Deprecated\n\nSee https://github.com/fregante/image-promise/issues/27, use the native `img.decode()` instead.\n\n#  image-promise [![][badge-gzip]](#link-npm)\n\n  [badge-gzip]: https://img.shields.io/bundlephobia/minzip/image-promise.svg?label=gzipped\n  [link-npm]: https://www.npmjs.com/package/image-promise\n\n<img align=\"right\" width=\"400\" src=\"https://user-images.githubusercontent.com/1402241/81458802-b7a21580-919c-11ea-9599-377d7aee1670.gif\">\n\n> Load one or more images, return a promise. Only 0.5KB, for the browser, no dependencies.\n\nIt can be used in two ways:\n\n- pass a URL: it will generate an `<img>` and wait for it to load:\n\n\t```js\n\tloadImage('img.jpg').then(/* It's loaded! */)\n\t```\n\n- pass an `<img>`: it will wait for it to load:\n\n\t```js\n\tconst img = document.querySelector('img.my-image');\n\tloadImage(img).then(/* It's loaded! */)\n\t```\n\n- pass an array of URLs and/or `<img>`s, wait for them to load:\n\n\t```js\n\tconst img = document.querySelector('img.my-image');\n\tloadImage([img, 'loading.gif']).then(/* Both are loaded! */)\n\t```\n\n## Install\n\nYou can download the [standalone bundle](https://bundle.fregante.com/?pkg=image-promise&global=loadImage)\n\nOr use `npm`:\n\n```sh\nnpm install image-promise\n```\n\n```js\n// This module is only offered as a ES Module\nimport loadImage from 'image-promise';\n```\n\n## Usage\n\n### One image\n\n`loadImage(image)` will return a Promise that resolves when the image load, or fails when the image\n\n```js\nconst image = 'cat.jpg';\n// const image = $('img')[0]; // it can also be an <img> element\n\nloadImage(image)\n.then(function (img) {\n\tctx.drawImage(img, 0, 0, 10, 10);\n})\n.catch(function () {\n\tconsole.error('Image failed to load :(');\n});\n```\n\n### Multiple images\n\n`image-promise` can load multiple images at a time\n\n```js\nconst images = ['cat.jpg', 'dog.jpg'];\n// const images = $('img'); // it can also be a jQuery object\n// const images = document.querySelectorAll('img'); // or a NodeList\n\nloadImage(images)\n.then(function (allImgs) {\n\tconsole.log(allImgs.length, 'images loaded!', allImgs);\n})\n.catch(function (err) {\n\tconsole.error('One or more images have failed to load :(');\n\tconsole.error(err.errored);\n\tconsole.info('But these loaded fine:');\n\tconsole.info(err.loaded);\n});\n```\n\n### Set custom attributes\n\n`loadImage(image, attributes)` lets you pass as the second argument an object of attributes you want to assign to the image element before it starts loading.\n\nThis is useful for example when you need [CORS enabled image](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image), where you need to set the attribute `crossorigin=\"anonymous\"` before the image starts downloading.\n\n```js\nconst image = 'https://catpics.com/cat.jpg';\n\nloadImage(image, { crossorigin: 'anonymous' })\n.then(function (img) {\n\tctx.drawImage(img, 0, 0, 10, 10);\n\n\t// now you can do this\n\tcanvas.toDataURL('image/png')\n})\n.catch(function () {\n\tconsole.error('Image failed to load :(');\n});\n```\n\n## Dependencies\n\nNone! But you need to polyfill `window.Promise` in IE11 and lower.\n\n## License\n\nMIT © [Federico Brigante](https://bfred.it)\n","readmeFilename":"readme.md","users":{"iddan":true,"benderrw":true,"bfred-it":true,"usingthesystem":true,"black-black-cat":true}}