{"_id":"@mapbox/appropriate-images-get-url","_rev":"234-1a50d4bb8f1044b89e6c6d26205f7b5d","name":"@mapbox/appropriate-images-get-url","description":"Given an appropriate-images configuration, get the URL of the optimized image appropriate for a situation","dist-tags":{"latest":"1.2.0"},"versions":{"0.1.0":{"name":"@mapbox/appropriate-images-get-url","description":"Given an appropriate-images configuration, get the URL of the optimized image appropriate for a situation","version":"0.1.0","main":"index.js","scripts":{"precommit":"lint-staged","format":"prettier --single-quote --write '{,lib/**/,test/**/}*.js'","lint":"eslint .","test-jest":"jest","pretest":"npm run lint","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/mapbox/appropriate-images-get-url.git"},"keywords":["appropriate-images","responsive-images"],"author":{"name":"Mapbox"},"license":"MIT","bugs":{"url":"https://github.com/mapbox/appropriate-images-get-url/issues"},"homepage":"https://github.com/mapbox/appropriate-images-get-url#readme","devDependencies":{"eslint":"^4.1.1","husky":"^0.14.3","jest":"^20.0.4","lint-staged":"^4.0.0","prettier":"^1.5.2"},"lint-staged":{"**/*.js":["eslint","prettier --single-quote --write","git add"]},"jest":{"coverageReporters":["json","lcov","text","html"],"clearMocks":true},"gitHead":"512a2290c1f2bb5bb0ade688e45962db958dfc35","_id":"@mapbox/appropriate-images-get-url@0.1.0","_npmVersion":"5.0.4","_nodeVersion":"6.11.0","_npmUser":{"name":"davidtheclark","email":"david.dave.clark@gmail.com"},"dist":{"integrity":"sha512-RnptTNMKsXZBlsNuO6tmulkiVCyS5HZy5f2UxxKgY4w3hkounZdLxu8foje9frvEXffsd6qCpXN63bIx2ju6UQ==","shasum":"4ee821e3db90561ec58176032c6b729700fc5ccb","tarball":"https://registry.npmjs.org/@mapbox/appropriate-images-get-url/-/appropriate-images-get-url-0.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFCySKbRyN8YO9FNiUqFC7ATTwI5INDFYrzoJ3K95EigIgcHq8qy5ROiVhpnRRDaBE/gMKg53J/Dsxb8QD0MhgfGI="}]},"maintainers":[{"name":"davidtheclark","email":"david.dave.clark@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/appropriate-images-get-url-0.1.0.tgz_1499294543039_0.4344942355528474"},"directories":{}},"0.1.1":{"name":"@mapbox/appropriate-images-get-url","description":"Given an appropriate-images configuration, get the URL of the optimized image appropriate for a situation","version":"0.1.1","main":"index.js","scripts":{"precommit":"lint-staged","format":"prettier --single-quote --write '{,lib/**/,test/**/}*.js'","lint":"eslint .","test-jest":"jest","pretest":"npm run lint","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/mapbox/appropriate-images-get-url.git"},"keywords":["appropriate-images","responsive-images"],"author":{"name":"Mapbox"},"license":"MIT","bugs":{"url":"https://github.com/mapbox/appropriate-images-get-url/issues"},"homepage":"https://github.com/mapbox/appropriate-images-get-url#readme","devDependencies":{"eslint":"^4.1.1","husky":"^0.14.3","jest":"^20.0.4","lint-staged":"^4.0.0","prettier":"^1.5.2"},"lint-staged":{"**/*.js":["eslint","prettier --single-quote --write","git add"]},"jest":{"coverageReporters":["json","lcov","text","html"],"clearMocks":true},"gitHead":"67da7e48e9e1bc8c8ac0f26e65719f877e38fb4e","_id":"@mapbox/appropriate-images-get-url@0.1.1","_npmVersion":"5.0.4","_nodeVersion":"6.11.0","_npmUser":{"name":"davidtheclark","email":"david.dave.clark@gmail.com"},"dist":{"integrity":"sha512-+oEWiyRGSdT1b4UGyIPQU1cNUUvNLK9u7gPM0NXHSZj5ofqAdd8JRplJMBF1UkH+wO4dyzwBKNukDF6StWEoZQ==","shasum":"2841bc4ee767862ff0f997a93e4510537b9c47b8","tarball":"https://registry.npmjs.org/@mapbox/appropriate-images-get-url/-/appropriate-images-get-url-0.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDx7VsiaPk9w0wx5Ir1vP7tAZQY+me7g+UhgQ8ekNtCeAIgRAjSeuZorioaopwhiZQcEnZecit1/TblbZz/Yypn414="}]},"maintainers":[{"email":"liz.shigetoshi@mapbox.com","name":"lshig"},{"email":"hello@johnfurrow.com","name":"johnfurrow"},{"email":"andrea.delrio@mapbox.com","name":"aaaandrea"},{"email":"ali@mapbox.com","name":"alianthes"},{"email":"ann.millspaugh@gmail.com","name":"millzpaugh"},{"email":"hello@franka.tech","name":"franka"},{"email":"charlie@mapbox.com","name":"charloyd"},{"email":"julianne@mapbox.com","name":"juliannebg"},{"email":"dthompson@gmail.com","name":"dthompson"},{"email":"eric.alessandrini@mapbox.com","name":"ericdeveloper"},{"email":"jayana.charles@mapbox.com","name":"jayana"},{"email":"christopher.cailleaux@gmail.com","name":"chriscx"},{"email":"poornima@mapbox.com","name":"poornibadrinath"},{"email":"bersabel.tadesse@mapbox.com","name":"brsbl"},{"email":"mallorywood413@gmail.com","name":"mal-wood"},{"email":"luis@mapbox.com","name":"luiswalter"},{"email":"pilar@mapbox.com","name":"piligab"},{"email":"galia@mapbox.com","name":"yurasi"},{"email":"matt.gosline@mapbox.com","name":"matt.gosline"},{"email":"kelly.young@mapbox.com","name":"kellyoung"},{"email":"incanus@codesorcery.net","name":"incanus"},{"email":"mully@mapbox.com","name":"zmully"},{"email":"mikel@groundtruth.in","name":"mikelmaron"},{"email":"danpat@danpat.net","name":"danpat"},{"email":"macro.shen@mapbox.com","name":"macro-shen"},{"email":"asheemm@gmail.com","name":"asheemmamoowala"},{"email":"john.sylak-glassman@mapbox.com","name":"jcsg"},{"email":"michael@mapbox.com","name":"michaelsteffen"},{"email":"aj@mapbox.com","name":"ajashton"},{"email":"lucie.daeye@mapbox.com","name":"patjouk"},{"email":"devin.boyer@mapbox.com","name":"drboyer"},{"email":"andrey@mapbox.com","name":"andygol"},{"email":"flippmoke@gmail.com","name":"flippmoke"},{"email":"safonov.ilya@gmail.com","name":"ilyasaf"},{"email":"denis.koronchik@gmail.com","name":"deniskoronchik"},{"email":"peterqliu@gmail.com","name":"peterqliu"},{"email":"accounts+npm-mapbox-machine-user@mapbox.com","name":"mapbox-machine-user"},{"email":"rasagy@mapbox.com","name":"rasagy"},{"email":"chethan@mapbox.com","name":"chetangowda"},{"email":"upendra@mapbox.com","name":"upendrayadav"},{"email":"cesar@mapbox.com","name":"calfarome"},{"email":"pavel@mapbox.com","name":"ridixcr"},{"email":"olivia.brundage@mapbox.com","name":"oliikit"},{"email":"aileen.s.rowan@gmail.com","name":"allierowan"},{"email":"richman@mapbox.com","name":"richrico"},{"email":"danny@mapbox.com","name":"dannykath"},{"email":"eliane@mapbox.com","name":"samely"},{"email":"nikinfour@gmail.com","name":"nikhilprabhakar"},{"email":"gokul.ganesan@mapbox.com","name":"fa7c0n"},{"email":"blannon@gmail.com","name":"boblannon"},{"email":"sean@mapbox.com","name":"sgillies"},{"email":"me@lukasmartinelli.ch","name":"lukasmartinelli"},{"email":"krishna@mapbox.com","name":"nammala"},{"email":"lindsay@mapbox.com","name":"lndsay"},{"email":"vestibule@anandthakker.net","name":"anandthakker"},{"email":"chris.loer@mapbox.com","name":"chrisloer"},{"email":"0o3ko0@gmail.com","name":"kepta"},{"email":"sam.kronick@mapbox.com","name":"kronick"},{"email":"manohar@mapbox.com","name":"manoharuss"},{"email":"alex.parlato@mapbox.com","name":"aparlato"},{"email":"yunjie.li@mapbox.com","name":"yunjieli"},{"email":"bharata+npm@mapbox.com","name":"bsrinivasa"},{"email":"aarthy@mapbox.com","name":"aarthykc"},{"email":"dane@mapbox.com","name":"springmeyer"},{"email":"dana.sulit@mapbox.com","name":"dasulit"},{"email":"emmanuel.sambale@gmail.com","name":"maning"},{"email":"miles.sackler@mapbox.com","name":"miles-dev"},{"email":"agafonkin@gmail.com","name":"mourner"},{"email":"hello@chau-nguyen.de","name":"chaupow"},{"email":"michael.krasnyk@gmail.com","name":"oxidase"},{"email":"r.ragupathy85@gmail.com","name":"rumc"},{"email":"vincent.sarago@mapbox.com","name":"vincents"},{"email":"tony.chen@mapbox.com","name":"tony-cj"},{"email":"arun.planemad@gmail.com","name":"planemad"},{"email":"patrick@mapbox.com","name":"themarex"},{"email":"laurier@mapbox.com","name":"l-r"},{"email":"ugo.vollmer@mapbox.com","name":"uvollmer"},{"email":"alice@mapbox.com","name":"aliceykuo"},{"email":"ansis.brammanis@gmail.com","name":"ansis"},{"email":"oindrila.gupta92@gmail.com","name":"oini"},{"email":"virginia@mapbox.com","name":"virginiayung"},{"email":"karito@mapbox.com","name":"karitotp"},{"email":"srividyabharadwaj26@gmail.com","name":"srividyacb"},{"email":"perry@mapbox.com","name":"perrygeo"},{"email":"colleen.mcginnis@mapbox.com","name":"colleenmcginnis"},{"email":"nat@mapbox.com","name":"natslaughter"},{"email":"nick.cordella@mapbox.com","name":"nickcordella"},{"email":"benjamin@mapbox.com","name":"benjamintd"},{"email":"fischer@mapbox.com","name":"enf"},{"email":"kai@mapbox.com","name":"kaibot3000"},{"email":"paul@mapbox.com","name":"pdgoodman"},{"email":"max@mapbox.com","name":"msirenko"},{"email":"abhishek@mapbox.com","name":"saikia.abhishek"},{"email":"jothirnadh@mapbox.com","name":"jothirnadh"},{"email":"ryan.baumann@mapbox.com","name":"ryan-baumann"},{"email":"dan@mapbox.com","name":"danswick"},{"email":"lily@mapbox.com","name":"lily-chai"},{"email":"amisha@mapbox.com","name":"amishas157"},{"email":"kara.e.mahoney@gmail.com","name":"k-mahoney"},{"email":"bhargav.kowshik@gmail.com","name":"bkowshik"},{"email":"alinapaz@gmail.com","name":"alinapaz"},{"email":"damon@mapbox.com","name":"dnomadb"},{"email":"lyzi@mapbox.com","name":"lyzidiamond"},{"email":"spam@freenerd.de","name":"freenerd"},{"email":"carol@mapbox.com","name":"gretacb"},{"email":"mayaqgao@gmail.com","name":"mayaqgao"},{"email":"camilla@mapbox.com","name":"camillacaros"},{"email":"saman@mapbox.com","name":"samanbb"},{"email":"bryan@mapbox.com","name":"bhousel"},{"email":"daniel+npm@trvx.org","name":"danieljh"},{"email":"decorah@mapbox.com","name":"katydecorah"},{"email":"ajith@mapbox.com","name":"ajithranka"},{"email":"pratik@mapbox.com","name":"pratikyadav"},{"email":"morgan.herlocker@gmail.com","name":"morganherlocker"},{"email":"hi@jacquestardie.org","name":"jacquestardie"},{"email":"mollylloyd@gmail.com","name":"mollymerp"},{"email":"john.firebaugh@gmail.com","name":"jfirebaugh"},{"email":"tim.channell@gmail.com","name":"tcql"},{"email":"ruben@mapbox.com","name":"rub21"},{"email":"mail@kkaefer.com","name":"kkaefer"},{"email":"brendan@mapbox.com","name":"brendanmcfarland"},{"email":"moritz@mapbox.com","name":"mokob"},{"email":"karen@mapbox.com","name":"karenzshea"},{"email":"david.dave.clark@gmail.com","name":"davidtheclark"},{"email":"amyleewalton@gmail.com","name":"amyleew"},{"email":"ian.villeda@gmail.com","name":"ian29"},{"email":"nicki@mapbox.com","name":"nickidlugash"},{"email":"jake@jakepruitt.com","name":"jrpruit1"},{"email":"scothis@gmail.com","name":"scothis"},{"email":"mcwhittemore@gmail.com","name":"mcwhittemore"},{"email":"siyu.song@gmail.com","name":"isiyu"},{"email":"ghoshkaj@gmail.com","name":"ghoshkaj"},{"email":"ulsh@mapbox.com","name":"alulsh"},{"email":"emily@mapbox.com","name":"emilymcafee"},{"email":"sam@mapbox.com","name":"mapsam"},{"email":"alex@mapbox.com","name":"lxbarth"},{"email":"will@mapbox.com","name":"willwhite"},{"email":"sanjay@mapbox.com","name":"batpad"},{"email":"sajjadkm@gmail.com","name":"geohacker"},{"email":"aruna@mapbox.com","name":"arunasank"},{"email":"kai@mapbox.com","name":"kaidalgleish"},{"email":"matt@mattficke.com","name":"mattficke"},{"email":"andrew@mapbox.com","name":"apendleton"},{"email":"nicholas.ingalls@gmail.com","name":"ingalls"},{"email":"tlee@mapbox.com","name":"sbma44"},{"email":"dubois@mapbox.com","name":"emilymdubois"},{"email":"young@mapbox.com","name":"yhahn"},{"email":"ian@mapbox.com","name":"ianshward"},{"email":"jeff@miccolis.net","name":"miccolis"},{"email":"ryan.clark.j@gmail.com","name":"rclark"},{"email":"lauren@mapbox.com","name":"lbud"},{"email":"bobby@mapbox.com","name":"bsudekum"},{"email":"tristen.brown@gmail.com","name":"tristen"},{"email":"accounts@mapbox.com","name":"mapbox-admin"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/appropriate-images-get-url-0.1.1.tgz_1499294743697_0.6954664748627692"},"directories":{}},"1.0.0":{"name":"@mapbox/appropriate-images-get-url","description":"Given an appropriate-images configuration, get the URL of the optimized image appropriate for a situation","version":"1.0.0","main":"index.js","scripts":{"precommit":"lint-staged","format":"prettier --single-quote --write '{,lib/**/,test/**/}*.js'","lint":"eslint .","test-jest":"jest","pretest":"npm run lint","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/mapbox/appropriate-images-get-url.git"},"keywords":["appropriate-images","responsive-images"],"author":{"name":"Mapbox"},"license":"MIT","bugs":{"url":"https://github.com/mapbox/appropriate-images-get-url/issues"},"homepage":"https://github.com/mapbox/appropriate-images-get-url#readme","devDependencies":{"eslint":"^4.1.1","husky":"^0.14.3","jest":"^20.0.4","lint-staged":"^4.0.0","prettier":"^1.5.2"},"lint-staged":{"**/*.js":["eslint","prettier --single-quote --write","git add"]},"jest":{"coverageReporters":["json","lcov","text","html"],"clearMocks":true},"gitHead":"b8a0c4ddeb83d9e74059384147c55c2b537be0c4","_id":"@mapbox/appropriate-images-get-url@1.0.0","_npmVersion":"5.4.1","_nodeVersion":"6.11.1","_npmUser":{"name":"davidtheclark","email":"david.dave.clark@gmail.com"},"dist":{"integrity":"sha512-HuEzIPBVtdhhzpDDNmGXaApHT8z0Sxdu5M6UimV+vq5o4GLtUgQMaeJGV6bcDi2+wQvB6EEmZ59ZDv8AUTAMog==","shasum":"1cc5a432feb8cdc6553d961ca9bd4c305dff5b9c","tarball":"https://registry.npmjs.org/@mapbox/appropriate-images-get-url/-/appropriate-images-get-url-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCM0wtLIlEEmQPooRS3SfDOC3oGPumF6WZwLu3eZ5NlcwIgIzRBa7wqROPgerTf+vXaA6gkWBKyE5sj0HvRqVUiOio="}]},"maintainers":[{"email":"joe.clark@mapbox.com","name":"jc-clark"},{"email":"xianny@gmail.com","name":"xianny"},{"email":"katherine.meng@mapbox.com","name":"katmeng"},{"email":"dave@mapbox.com","name":"dhcole"},{"email":"dave.prukop@mapbox.com","name":"d-prukop"},{"email":"lizzie.gooding@mapbox.com","name":"lizziegooding"},{"email":"mark.misener@mapbox.com","name":"markmisener"},{"email":"nick.italiano@mapbox.com","name":"nickitaliano"},{"email":"tara.adiseshan@gmail.com","name":"taziam"},{"email":"eli.fitch.prof+npm@gmail.com","name":"elifitch"},{"email":"nadia.barbosa@mapbox.com","name":"captainbarbosa-mbx"},{"email":"cameron@mapbox.com","name":"cammace"},{"email":"bruno@mapbox.com","name":"brunoabinader"},{"email":"langston.smith@mapbox.com","name":"langstonsmith"},{"email":"rafa@mapbox.com","name":"geografa"},{"email":"mxn@1ec5.org","name":"1ec5"},{"email":"liz.shigetoshi@mapbox.com","name":"lshig"},{"email":"hello@johnfurrow.com","name":"johnfurrow"},{"email":"andrea.delrio@mapbox.com","name":"aaaandrea"},{"email":"ali@mapbox.com","name":"alianthes"},{"email":"ann.millspaugh@gmail.com","name":"millzpaugh"},{"email":"hello@franka.tech","name":"franka"},{"email":"charlie@mapbox.com","name":"charloyd"},{"email":"julianne@mapbox.com","name":"juliannebg"},{"email":"dthompson@gmail.com","name":"dthompson"},{"email":"eric.alessandrini@mapbox.com","name":"ericdeveloper"},{"email":"jayana.charles@mapbox.com","name":"jayana"},{"email":"christopher.cailleaux@gmail.com","name":"chriscx"},{"email":"poornima@mapbox.com","name":"poornibadrinath"},{"email":"bersabel.tadesse@mapbox.com","name":"brsbl"},{"email":"mallorywood413@gmail.com","name":"mal-wood"},{"email":"luis@mapbox.com","name":"luiswalter"},{"email":"pilar@mapbox.com","name":"piligab"},{"email":"galia@mapbox.com","name":"yurasi"},{"email":"matt.gosline@mapbox.com","name":"matt.gosline"},{"email":"kelly.young@mapbox.com","name":"kellyoung"},{"email":"mully@mapbox.com","name":"zmully"},{"email":"mikel@groundtruth.in","name":"mikelmaron"},{"email":"danpat@danpat.net","name":"danpat"},{"email":"macro.shen@mapbox.com","name":"macro-shen"},{"email":"asheemm@gmail.com","name":"asheemmamoowala"},{"email":"john.sylak-glassman@mapbox.com","name":"jcsg"},{"email":"michael@mapbox.com","name":"michaelsteffen"},{"email":"aj@mapbox.com","name":"ajashton"},{"email":"devin.boyer@mapbox.com","name":"drboyer"},{"email":"andrey@mapbox.com","name":"andygol"},{"email":"flippmoke@gmail.com","name":"flippmoke"},{"email":"safonov.ilya@gmail.com","name":"ilyasaf"},{"email":"denis.koronchik@gmail.com","name":"deniskoronchik"},{"email":"peterqliu@gmail.com","name":"peterqliu"},{"email":"rasagy@mapbox.com","name":"rasagy"},{"email":"chethan@mapbox.com","name":"chetangowda"},{"email":"upendra@mapbox.com","name":"upendrayadav"},{"email":"cesar@mapbox.com","name":"calfarome"},{"email":"pavel@mapbox.com","name":"ridixcr"},{"email":"olivia.brundage@mapbox.com","name":"oliikit"},{"email":"aileen.s.rowan@gmail.com","name":"allierowan"},{"email":"richman@mapbox.com","name":"richrico"},{"email":"danny@mapbox.com","name":"dannykath"},{"email":"eliane@mapbox.com","name":"samely"},{"email":"nikinfour@gmail.com","name":"nikhilprabhakar"},{"email":"gokul.ganesan@mapbox.com","name":"fa7c0n"},{"email":"blannon@gmail.com","name":"boblannon"},{"email":"sean@mapbox.com","name":"sgillies"},{"email":"me@lukasmartinelli.ch","name":"lukasmartinelli"},{"email":"krishna@mapbox.com","name":"nammala"},{"email":"lindsay@mapbox.com","name":"lndsay"},{"email":"vestibule@anandthakker.net","name":"anandthakker"},{"email":"chris.loer@mapbox.com","name":"chrisloer"},{"email":"0o3ko0@gmail.com","name":"kepta"},{"email":"sam.kronick@mapbox.com","name":"kronick"},{"email":"manohar@mapbox.com","name":"manoharuss"},{"email":"alex.parlato@mapbox.com","name":"aparlato"},{"email":"bharata+npm@mapbox.com","name":"bsrinivasa"},{"email":"aarthy@mapbox.com","name":"aarthykc"},{"email":"dane@mapbox.com","name":"springmeyer"},{"email":"dana.sulit@mapbox.com","name":"dasulit"},{"email":"emmanuel.sambale@gmail.com","name":"maning"},{"email":"miles.sackler@mapbox.com","name":"miles-dev"},{"email":"agafonkin@gmail.com","name":"mourner"},{"email":"hello@chau-nguyen.de","name":"chaupow"},{"email":"michael.krasnyk@gmail.com","name":"oxidase"},{"email":"r.ragupathy85@gmail.com","name":"rumc"},{"email":"vincent.sarago@mapbox.com","name":"vincents"},{"email":"tony.chen@mapbox.com","name":"tony-cj"},{"email":"arun.planemad@gmail.com","name":"planemad"},{"email":"patrick@mapbox.com","name":"themarex"},{"email":"laurier@mapbox.com","name":"l-r"},{"email":"alice@mapbox.com","name":"aliceykuo"},{"email":"ansis.brammanis@gmail.com","name":"ansis"},{"email":"oindrila.gupta92@gmail.com","name":"oini"},{"email":"virginia@mapbox.com","name":"virginiayung"},{"email":"karito@mapbox.com","name":"karitotp"},{"email":"srividyabharadwaj26@gmail.com","name":"srividyacb"},{"email":"perry@mapbox.com","name":"perrygeo"},{"email":"colleen.mcginnis@mapbox.com","name":"colleenmcginnis"},{"email":"nat@mapbox.com","name":"natslaughter"},{"email":"nick.cordella@mapbox.com","name":"nickcordella"},{"email":"benjamin@mapbox.com","name":"benjamintd"},{"email":"fischer@mapbox.com","name":"enf"},{"email":"kai@mapbox.com","name":"kaibot3000"},{"email":"paul@mapbox.com","name":"pdgoodman"},{"email":"max@mapbox.com","name":"msirenko"},{"email":"abhishek@mapbox.com","name":"saikia.abhishek"},{"email":"jothirnadh@mapbox.com","name":"jothirnadh"},{"email":"ryan.baumann@mapbox.com","name":"ryan-baumann"},{"email":"dan@mapbox.com","name":"danswick"},{"email":"lily@mapbox.com","name":"lily-chai"},{"email":"amisha@mapbox.com","name":"amishas157"},{"email":"kara.e.mahoney@gmail.com","name":"k-mahoney"},{"email":"bhargav.kowshik@gmail.com","name":"bkowshik"},{"email":"alinapaz@gmail.com","name":"alinapaz"},{"email":"damon@mapbox.com","name":"dnomadb"},{"email":"lyzi@mapbox.com","name":"lyzidiamond"},{"email":"spam@freenerd.de","name":"freenerd"},{"email":"carol@mapbox.com","name":"gretacb"},{"email":"mayaqgao@gmail.com","name":"mayaqgao"},{"email":"camilla@mapbox.com","name":"camillacaros"},{"email":"saman@mapbox.com","name":"samanbb"},{"email":"bryan@mapbox.com","name":"bhousel"},{"email":"daniel+npm@trvx.org","name":"danieljh"},{"email":"decorah@mapbox.com","name":"katydecorah"},{"email":"ajith@mapbox.com","name":"ajithranka"},{"email":"pratik@mapbox.com","name":"pratikyadav"},{"email":"morgan.herlocker@gmail.com","name":"morganherlocker"},{"email":"hi@jacquestardie.org","name":"jacquestardie"},{"email":"mollylloyd@gmail.com","name":"mollymerp"},{"email":"john.firebaugh@gmail.com","name":"jfirebaugh"},{"email":"tim.channell@gmail.com","name":"tcql"},{"email":"ruben@mapbox.com","name":"rub21"},{"email":"mail@kkaefer.com","name":"kkaefer"},{"email":"brendan@mapbox.com","name":"brendanmcfarland"},{"email":"moritz@mapbox.com","name":"mokob"},{"email":"karen@mapbox.com","name":"karenzshea"},{"email":"david.dave.clark@gmail.com","name":"davidtheclark"},{"email":"amyleewalton@gmail.com","name":"amyleew"},{"email":"ian.villeda@gmail.com","name":"ian29"},{"email":"nicki@mapbox.com","name":"nickidlugash"},{"email":"jake@jakepruitt.com","name":"jrpruit1"},{"email":"mcwhittemore@gmail.com","name":"mcwhittemore"},{"email":"siyu.song@gmail.com","name":"isiyu"},{"email":"ghoshkaj@gmail.com","name":"ghoshkaj"},{"email":"ulsh@mapbox.com","name":"alulsh"},{"email":"emily@mapbox.com","name":"emilymcafee"},{"email":"sam@mapbox.com","name":"mapsam"},{"email":"alex@mapbox.com","name":"lxbarth"},{"email":"will@mapbox.com","name":"willwhite"},{"email":"sanjay@mapbox.com","name":"batpad"},{"email":"sajjadkm@gmail.com","name":"geohacker"},{"email":"aruna@mapbox.com","name":"arunasank"},{"email":"kai@mapbox.com","name":"kaidalgleish"},{"email":"matt@mattficke.com","name":"mattficke"},{"email":"andrew@mapbox.com","name":"apendleton"},{"email":"nicholas.ingalls@gmail.com","name":"ingalls"},{"email":"thomas.j.lee@gmail.com","name":"sbma44"},{"email":"dubois@mapbox.com","name":"emilymdubois"},{"email":"young@mapbox.com","name":"yhahn"},{"email":"ian@mapbox.com","name":"ianshward"},{"email":"jeff@miccolis.net","name":"miccolis"},{"email":"ryan.clark.j@gmail.com","name":"rclark"},{"email":"lauren@mapbox.com","name":"lbud"},{"email":"bobby@mapbox.com","name":"bsudekum"},{"email":"tristen.brown@gmail.com","name":"tristen"},{"email":"accounts@mapbox.com","name":"mapbox-admin"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/appropriate-images-get-url-1.0.0.tgz_1504911834998_0.8081071355845779"},"directories":{}},"1.1.0":{"name":"@mapbox/appropriate-images-get-url","description":"Given an appropriate-images configuration, get the URL of the optimized image appropriate for a situation","version":"1.1.0","main":"index.js","scripts":{"format":"prettier --single-quote --write '{,lib/**/,test/**/}*.js'","lint":"eslint .","test-jest":"jest","pretest":"npm run lint","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/mapbox/appropriate-images-get-url.git"},"keywords":["appropriate-images","responsive-images"],"author":{"name":"Mapbox"},"license":"MIT","bugs":{"url":"https://github.com/mapbox/appropriate-images-get-url/issues"},"homepage":"https://github.com/mapbox/appropriate-images-get-url#readme","devDependencies":{"eslint":"^7.23.0","husky":"^4.3.8","jest":"^26.6.3","lint-staged":"^10.5.4","prettier":"^2.2.1"},"lint-staged":{"**/*.js":["eslint","prettier --single-quote --write","git add"]},"jest":{"coverageReporters":["json","lcov","text","html"],"clearMocks":true},"husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"045e1936b90991219614c425054e90ce3298d0fd","_id":"@mapbox/appropriate-images-get-url@1.1.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.11","dist":{"integrity":"sha512-Od9GzK6isjMoVahWP7nPZgdrjY0O1R3XgnZTxZJ59nPnMRC0YKE3R0ftzP2wx58RLEnhdkZbUC0ofrPbG2uwUQ==","shasum":"91fddaed988c5dd91d774b8192e85784583b18d0","tarball":"https://registry.npmjs.org/@mapbox/appropriate-images-get-url/-/appropriate-images-get-url-1.1.0.tgz","fileCount":16,"unpackedSize":16801,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZG6dCRA9TVsSAnZWagAAi4sP/06n5XPjClflDq8OJ7LP\nvHsQ+vDrU9J8BNzcSKE1iT0JDv436BEZZgHoCEajXdntrQ+PhusDWtjVo5eh\nGGSQs/xuHwbQHj5m4Y2NCFANPq+qWPE5VcRXujRn8HDzVjehB8VR2TlnKmY0\n5JtWFfaz9WcNnm0CYOU5U9m6fI2tHIO20YrFyxnHSjzpwcSy6bZ17OoJid5J\nD/toxtw0GGOR6/IT0e7+L0a5tRmQMpx4nE4KryUW6pTzsEvoZw9oSyxq8kWY\nmW1NRh7nTIcq5nHpLRXv3lLhGj54kOriNRYxwlEN6Zy3ZOaeyyNaacx4wRc9\nbMJtbBVTc7mGdOMdqngCtdL3oc18NB8vybLbUtXJJOqrnEFF3U1ARV/Ptcb6\nDFFBSfxX8zTc3fMTymqJvzxxrcHl7XtqlylC1VULQEQ2GJVkRmOJjYrHnK8n\n7KDDSs72HOj15BhS25xALWrtqgO6vqd+kyJsk6FoypMpLelO3vHi2gUzrbeo\nSqEtyQrbbsouU55ykvqOk3VVs/mqW4MzUQMVed56amwt0t8mN3K5tvpqYXjL\nPcrSo/Hx6VbQuXJyhBocOFIDR5bD6r21wBVWDLIh3QKhQESXXko+6uN2ksw+\n9mx/t/BpfA503Od5mCb+zvGcSiPQRnOyOLAqm3PB1v2ea0IAVywI2B9tDP/U\nPulu\r\n=hRVR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTRyp5m2uAZE50IwPUkxZQbrICcQryWhInmiCLO+27HwIhAO67MLXzU2epu4UeKGGdWd3xcXR2cEtuZuB2CfH5A1F8"}]},"_npmUser":{"name":"mapbox-npm-03","email":"accounts+npmjs-03@mapbox.com"},"directories":{},"maintainers":[{"name":"mapbox-npm-01","email":"accounts+npmjs-01@mapbox.com"},{"name":"mapbox-npm-02","email":"accounts+npmjs-02@mapbox.com"},{"name":"mapbox-npm-07","email":"accounts+npmjs-07@mapbox.com"},{"name":"mapbox-npm-03","email":"accounts+npmjs-03@mapbox.com"},{"name":"mapbox-npm-04","email":"accounts+npmjs-04@mapbox.com"},{"name":"mapbox-npm-09","email":"accounts+npmjs-09@mapbox.com"},{"name":"mapbox-npm-05","email":"accounts+npmjs-05@mapbox.com"},{"name":"mapbox-npm-06","email":"accounts+npmjs-06@mapbox.com"},{"name":"mapbox-npm-08","email":"accounts+npmjs-08@mapbox.com"},{"name":"mapbox-npm-advanced-actions","email":"accounts+npmjs-advanced-actions@mapbox.com"},{"name":"mapbox-npm-ci","email":"accounts+npmjs-npm-ci@mapbox.com"},{"name":"mapbox-npm","email":"accounts+npmjs@mapbox.com"},{"name":"mapbox-admin","email":"accounts@mapbox.com"},{"name":"mapbox-machine-user","email":"accounts+npm-mapbox-machine-user@mapbox.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/appropriate-images-get-url_1.1.0_1617194653100_0.2545739353055603"},"_hasShrinkwrap":false},"1.2.0":{"name":"@mapbox/appropriate-images-get-url","description":"Given an appropriate-images configuration, get the URL of the optimized image appropriate for a situation","version":"1.2.0","main":"index.js","scripts":{"format":"prettier --single-quote --write --trailing-comma es5 '{,lib/**/,test/**/}*.js'","lint":"eslint .","test-jest":"jest","pretest":"npm run lint","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/mapbox/appropriate-images-get-url.git"},"keywords":["appropriate-images","responsive-images"],"author":{"name":"Mapbox"},"license":"MIT","bugs":{"url":"https://github.com/mapbox/appropriate-images-get-url/issues"},"homepage":"https://github.com/mapbox/appropriate-images-get-url#readme","devDependencies":{"eslint":"^8","husky":"^8","jest":"^29","lint-staged":"^15","prettier":"^3"},"lint-staged":{"**/*.js":["eslint","prettier --single-quote --write","git add"]},"jest":{"coverageReporters":["json","lcov","text","html"],"clearMocks":true},"husky":{"hooks":{"pre-commit":"lint-staged"}},"_id":"@mapbox/appropriate-images-get-url@1.2.0","gitHead":"fb7dfff953b1d59df51323402c030b9297382ebe","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-RwxsI9mHDkiOdvUf31pa0iCB6oIzBDAPrc3RjtnFOChpxC5Eb3mHnKNKInI7LqR22SFyQbh4kfbU0DgUVK4IIg==","shasum":"9768369e5f8b53884d1f7570abfd55b4811d3186","tarball":"https://registry.npmjs.org/@mapbox/appropriate-images-get-url/-/appropriate-images-get-url-1.2.0.tgz","fileCount":16,"unpackedSize":16882,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFKjjboEu/BT/aVBdWrqyNiEWxZGXNIMOK1kuRDzgX1xAiA2aCrCKBYEtoyMde4EpjPbSpscIjV2CatOQuZRYmUtLA=="}]},"_npmUser":{"name":"mapbox-npm-01","email":"accounts+npmjs-01@mapbox.com"},"directories":{},"maintainers":[{"name":"mbx-npm-ci-production","email":"yannick.meeus+npm+production+ci@mapbox.com"},{"name":"mbx-npm-ci-staging","email":"yannick.meeus+npm+staging+ci@mapbox.com"},{"name":"mbx-npm-advanced-actions-production","email":"yannick.meeus+npm+prod+advanced+actions@mapbox.com"},{"name":"mbx-npm-advanced-actions-staging","email":"yannick.meeus+npm+staging+advanced+actions@mapbox.com"},{"name":"mbx-npm-09-production","email":"yannick.meeus+npm+prod+09@mapbox.com"},{"name":"mbx-npm-08-production","email":"yannick.meeus+npm+prod+08@mapbox.com"},{"name":"mbx-npm-07-production","email":"yannick.meeus+npm+prod+07@mapbox.com"},{"name":"mbx-npm-06-production","email":"yannick.meeus+npm+prod+06@mapbox.com"},{"name":"mbx-npm-05-production","email":"yannick.meeus+npm+prod+05@mapbox.com"},{"name":"mbx-npm-04-production","email":"yannick.meeus+npm+prod+04@mapbox.com"},{"name":"mbx-npm-03-production","email":"yannick.meeus+npm+prod+03@mapbox.com"},{"name":"mbx-npm-02-production","email":"yannick.meeus+npm+prod+02@mapbox.com"},{"name":"mbx-npm-01-production","email":"yannick.meeus+npm+prod+01@mapbox.com"},{"name":"mbx-npm-02-staging","email":"yannick.meeus@mapbox.com"},{"name":"mapbox-npm-01","email":"accounts+npmjs-01@mapbox.com"},{"name":"mapbox-npm-02","email":"accounts+npmjs-02@mapbox.com"},{"name":"mapbox-npm-07","email":"accounts+npmjs-07@mapbox.com"},{"name":"mapbox-npm-03","email":"accounts+npmjs-03@mapbox.com"},{"name":"mapbox-npm-04","email":"accounts+npmjs-04@mapbox.com"},{"name":"mapbox-npm-09","email":"accounts+npmjs-09@mapbox.com"},{"name":"mapbox-npm-05","email":"accounts+npmjs-05@mapbox.com"},{"name":"mapbox-npm-06","email":"accounts+npmjs-06@mapbox.com"},{"name":"mapbox-npm-08","email":"accounts+npmjs-08@mapbox.com"},{"name":"mapbox-npm-advanced-actions","email":"accounts+npmjs-advanced-actions@mapbox.com"},{"name":"mapbox-npm-ci","email":"accounts+npmjs-npm-ci@mapbox.com"},{"name":"mapbox-npm","email":"accounts+npmjs@mapbox.com"},{"name":"mapbox-admin","email":"accounts@mapbox.com"},{"name":"mapbox-machine-user","email":"accounts+npm-mapbox-machine-user@mapbox.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/appropriate-images-get-url_1.2.0_1698774498016_0.7010688019758076"},"_hasShrinkwrap":false}},"readme":"# @mapbox/appropriate-images-get-url\n\n[![Build Status](https://travis-ci.com/mapbox/appropriate-images-get-url.svg?branch=main)](https://travis-ci.com/mapbox/appropriate-images-get-url)\n\n**Use in combination with [appropriate-images].**\n\nAfter you've generated resized, optimized images with [appropriate-images], you'll want to use them in the browser.\nIn order to do that, you'll need to determine *which variant* of the image to load — which size, and whether to load the `.webp` version or not.\nThat's what this module is for.\nThis is how the image configuration used by [appropriate-images] can be *reused in the browser* to select the appropriate image to load at runtime.\n\n**If you're thinking about using this function in combination with React, check out [appropriate-images-react](https://github.com/mapbox/appropriate-images-react).**\n\n## Installation\n\n```\nnpm install @mapbox/appropriate-images-get-url\n```\n\n## API\n\n### getAppropriateImageUrl\n\n`getAppropriateImageUrl(options)`\n\nUses the image id, image configuration, and width value to figure out the URL of the image variant that should be loaded.\nReturns a URL for the appropriate image variant that you created with [appropriate-images].\n\nThe returned URL will account for\n\n- the available width,\n- the resolution of the screen, and\n- whether or not the browser supports `webp`.\n\nThe image variant that is selected will be **the narrowest variant that is at least as wide as the available width, or else, if the available width exceeds all sizes, the widest variant**.\n\n#### options\n\n##### imageId\n\nType: `string`.\n**Required.**\n\nId of the image to be loaded.\nImage ids correspond to keys in your [appropriate-images configuration].\n\n##### imageConfig\n\nType: `Object`.\n**Required.**\n\nYour [appropriate-images configuration] object.\n\n##### availableWidth\n\nType `number`.\nDefault: `Infinity`.\n\nNot technically required, but you should provide it.\nThis is the width available to the image.\nThis is key to figuring out which size variant to load.\n\n##### hiResRatio\n\nType `number`.\nDefault: `1.3`.\n\nThe ratio at which you want to consider a screen \"high resolution\".\nIf the browser judges that the screen is high resolution, according to this ratio, the [`availableWidth`] provided will be multiplied by this ratio when determining which size variant to load.\nThis means that in a `300px`-wide space but *on a Retina screen*, the image at least `600px` wide will be loaded.\n\n##### imageDirectory\n\nType `string`.\n\nIf provided, this will be prepended to the URL.\n\n## Examples\n\n```js\nconst getAppropriateImageUrl = require('@mapbox/appropriate-images-get-url');\n\nconst imageConfig = {\n  bear: {\n    basename: 'bear.png',\n    sizes: [{ width: 300 }, { width: 600 }]\n  },\n  montaraz: {\n    basename: 'montaraz.jpg',\n    sizes: [\n      { width: 600, height: 500 },\n      { width: 1200, height: 800, crop: 'north' },\n      { width: 200, height: 200, crop: 'southeast' },\n    ]\n  }\n};\n\ngetAppropriateImageUrl({ imageConfig, imageId: 'bear', width: 280 });\n// On a regular-resolution screen: bear-300.png or webp\n// On a high-resolution screen: bear-600.png or webp\n\ngetAppropriateImageUrl({ imageConfig, imageId: 'bear', width: 550 });\n// bear-600.png or webp\n\ngetAppropriateImageUrl({ imageConfig, imageId: 'bear', width: 800 });\n// bear-600.png or webp\n\ngetAppropriateImageUrl({\n  imageConfig,  \n  imageId: 'montaraz',\n  width: 400,\n  imageDirectory: 'img/optimized/'\n});\n// On a regular-resolution screen: img/optimized/montaraz-600x500.jpg or webp\n// On a high-resolution screen: img/optimized/montaraz-1200x800.jpg or webp\n```\n\n[appropriate-images]: https://github.com/mapbox/appropriate-images\n[appropriate-images configuration]: https://github.com/mapbox/appropriate-images#image-configuration\n[`availableWidth`]: #availablewidth\n","maintainers":[{"name":"mbx-npm-ci-production","email":"yannick.meeus+npm+production+ci@mapbox.com"},{"name":"mbx-npm-ci-staging","email":"yannick.meeus+npm+staging+ci@mapbox.com"},{"name":"mbx-npm-advanced-actions-production","email":"yannick.meeus+npm+prod+advanced+actions@mapbox.com"},{"name":"mbx-npm-advanced-actions-staging","email":"yannick.meeus+npm+staging+advanced+actions@mapbox.com"},{"name":"mbx-npm-09-production","email":"yannick.meeus+npm+prod+09@mapbox.com"},{"name":"mbx-npm-08-production","email":"yannick.meeus+npm+prod+08@mapbox.com"},{"name":"mbx-npm-07-production","email":"yannick.meeus+npm+prod+07@mapbox.com"},{"name":"mbx-npm-06-production","email":"yannick.meeus+npm+prod+06@mapbox.com"},{"name":"mbx-npm-05-production","email":"yannick.meeus+npm+prod+05@mapbox.com"},{"name":"mbx-npm-04-production","email":"yannick.meeus+npm+prod+04@mapbox.com"},{"name":"mbx-npm-03-production","email":"yannick.meeus+npm+prod+03@mapbox.com"},{"name":"mbx-npm-02-production","email":"yannick.meeus+npm+prod+02@mapbox.com"},{"name":"mbx-npm-01-production","email":"yannick.meeus+npm+prod+01@mapbox.com"},{"name":"mbx-npm-02-staging","email":"yannick.meeus@mapbox.com"},{"name":"mapbox-npm-01","email":"accounts+npmjs-01@mapbox.com"},{"name":"mapbox-npm-02","email":"accounts+npmjs-02@mapbox.com"},{"name":"mapbox-npm-07","email":"accounts+npmjs-07@mapbox.com"},{"name":"mapbox-npm-03","email":"accounts+npmjs-03@mapbox.com"},{"name":"mapbox-npm-04","email":"accounts+npmjs-04@mapbox.com"},{"name":"mapbox-npm-09","email":"accounts+npmjs-09@mapbox.com"},{"name":"mapbox-npm-05","email":"accounts+npmjs-05@mapbox.com"},{"name":"mapbox-npm-06","email":"accounts+npmjs-06@mapbox.com"},{"name":"mapbox-npm-08","email":"accounts+npmjs-08@mapbox.com"},{"name":"mapbox-npm-advanced-actions","email":"accounts+npmjs-advanced-actions@mapbox.com"},{"name":"mapbox-npm-ci","email":"accounts+npmjs-npm-ci@mapbox.com"},{"name":"mapbox-npm","email":"accounts+npmjs@mapbox.com"},{"name":"mapbox-admin","email":"accounts@mapbox.com"},{"name":"mapbox-machine-user","email":"accounts+npm-mapbox-machine-user@mapbox.com"}],"time":{"modified":"2023-10-31T17:48:18.790Z","created":"2017-07-05T22:42:23.264Z","0.1.0":"2017-07-05T22:42:23.264Z","0.1.1":"2017-07-05T22:45:43.804Z","1.0.0":"2017-09-08T23:03:55.086Z","1.1.0":"2021-03-31T12:44:13.269Z","1.2.0":"2023-10-31T17:48:18.338Z"},"homepage":"https://github.com/mapbox/appropriate-images-get-url#readme","keywords":["appropriate-images","responsive-images"],"repository":{"type":"git","url":"git+https://github.com/mapbox/appropriate-images-get-url.git"},"author":{"name":"Mapbox"},"bugs":{"url":"https://github.com/mapbox/appropriate-images-get-url/issues"},"license":"MIT","readmeFilename":"README.md"}