{"_id":"yet-another-medium-zoom","_rev":"8-1c97782e1c390cb7e50ca1ad33f289eb","name":"yet-another-medium-zoom","dist-tags":{"latest":"0.4.2"},"versions":{"0.1.0":{"name":"yet-another-medium-zoom","version":"0.1.0","description":"Highly configurable medium-like lightbox","keywords":["lightbox","image","image zoom","picture","medium"],"main":"dist/yet-another-medium-zoom.umd.js","module":"dist/yet-another-medium-zoom.es5.js","typings":"dist/types/core.d.ts","author":{"name":"birjolaxew","email":"johanringmann@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/birjolaxew/yet-another-medium-zoom.git"},"license":"MIT","engines":{"node":">=6.0.0"},"scripts":{"lint":"tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","prebuild":"rimraf dist","build":"tsc --module commonjs && rollup -c rollup.config.ts","start":"rollup -c rollup.config.ts -w","test":"jest --coverage","test:watch":"jest --coverage --watch","test:prod":"npm run lint && npm run test -- --no-cache"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testEnvironment":"jsdom","testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"moduleNameMapper":{"\\.css$":"<rootDir>/test/__mocks__/styleMock.js"},"coveragePathIgnorePatterns":["/node_modules/","/test/"],"coverageThreshold":{"global":{"branches":90,"functions":95,"lines":95,"statements":95}},"collectCoverageFrom":["src/*.{js,ts}"]},"prettier":{"semi":true,"trailingComma":"es5"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,css,json,md}":["prettier --write","git add"]},"devDependencies":{"@types/jest":"^23.3.2","@types/node":"^10.11.0","husky":"^3.0.3","jest":"^23.6.0","lint-staged":"^9.2.1","prettier":"^1.14.3","rimraf":"^2.6.2","rollup":"^0.67.0","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-json":"^3.1.0","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-postcss":"^2.0.3","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.18.0","ts-jest":"^23.10.2","ts-node":"^7.0.1","tslint":"^5.11.0","tslint-config-prettier":"^1.15.0","tslint-config-standard":"^8.0.1","typescript":"^3.0.3"},"gitHead":"51c9a3bd9e5d992bdcbc880052fd19310806dbad","bugs":{"url":"https://github.com/birjolaxew/yet-another-medium-zoom/issues"},"homepage":"https://github.com/birjolaxew/yet-another-medium-zoom#readme","_id":"yet-another-medium-zoom@0.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"birjolaxew","email":"johanringmann@gmail.com"},"dist":{"integrity":"sha512-lvMG79pEOb/3pq/7sA4HilgWrsYTb82wHoy6hwg3avU1gMK304RliiHLJXyZdUDrOhcDqjoso1wknTjH3XMY+w==","shasum":"71fdc816a7bd167d48126361ad8ec811d6bb0cf6","tarball":"https://registry.npmjs.org/yet-another-medium-zoom/-/yet-another-medium-zoom-0.1.0.tgz","fileCount":23,"unpackedSize":229207,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd6VdgCRA9TVsSAnZWagAAPHYQAJ1iu8i4qmO1PsPGf9bQ\npbl4CHgIAFZkoV0ccF5ErFUuwvRO381yDUsbNgu4+wG8CoKxYJCcCVjX+5bZ\n6h4iIA6ZF+9j27r+ri1sM9v2x3obPlCBnxH5GJXrZHI1ry6YDspYqsLAN9kS\nbK1GkRsk8cpDgaYU2EmzdXDlHRz9WPdI4e4a6IeG8hRGuqi194JOG27sAI8C\n9xufpcJz48Go32Oc2MXP3kuTta8ej0q0p2mFg4KWoVXCyCKqkNHVsVYrjq5t\n93A72WdI4EjqxoMaX5LUbw6rYvXYxfH8xaVryDQWpNG4gvjy8yaWVxjjwOSW\nYtcCkbAw/eTnMvU0z4JtZTJz4irNPtaiNEIh1hskbIfaoD31wFlX07J9XlcA\nBV+Ff8ztac0yE0FITC+kh8KzkodRj1HdT8vjAfAfJBVvFnUoJGwuDqyXsapp\nmHKBBkd5A9tLu/p7nLefZpxvrFipfKHwhhhcCcjFDClR0BOdh349P+Ev3UtB\nfADwT72lRLnESKdRni3V79jrtS696isB381Csjnva+TOaFt/tW30hHbATWt7\ntgUEzvJPqRPn4hKOQ5yP91xupkWUCeuCZS7yzOZv7J5vaEeJ6uTsLJqKQn3A\ndR1o7aJR8AuGyRT6FOvaIhA8vy2GOEF11SZGs28/JCV045VUzyJsA3dz7DYV\nv4Zz\r\n=/GQC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHm7AyojFUc3xmJ8YzBvvMVNAQXZVdwvlVzJkzi4jAZOAiBtEqVO7CZyQRW7D77WjRUZXGDc3j7t9RJIv5bL0g6pnw=="}]},"maintainers":[{"name":"birjolaxew","email":"johanringmann@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yet-another-medium-zoom_0.1.0_1575573344161_0.7356383293695972"},"_hasShrinkwrap":false},"0.2.0":{"name":"yet-another-medium-zoom","version":"0.2.0","description":"Highly configurable medium-like lightbox","keywords":["lightbox","image","image zoom","picture","medium"],"main":"dist/yet-another-medium-zoom.umd.js","module":"dist/lib/index.js","types":"dist/types/index.d.ts","author":{"name":"birjolaxew","email":"johanringmann@gmail.com"},"homepage":"https://yamz.jfagerberg.me/","repository":{"type":"git","url":"git+https://github.com/birjolaxew/yet-another-medium-zoom.git"},"license":"MIT","engines":{"node":">=6.0.0"},"scripts":{"lint":"tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","prebuild":"rimraf dist","build":"tsc --module commonjs && rollup -c rollup.config.ts","start":"rollup -c rollup.config.ts -w","test":"jest --coverage","test:watch":"jest --coverage --watch","test:prod":"npm run lint && npm run test -- --no-cache"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testEnvironment":"jsdom","testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"moduleNameMapper":{"\\.css$":"<rootDir>/test/__mocks__/styleMock.js"},"coveragePathIgnorePatterns":["/node_modules/","/test/"],"coverageThreshold":{"global":{"branches":90,"functions":95,"lines":95,"statements":95}},"collectCoverageFrom":["src/*.{js,ts}"]},"prettier":{"semi":true,"trailingComma":"es5"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,css,json,md}":["prettier --write","git add"]},"devDependencies":{"@types/jest":"^23.3.2","@types/node":"^10.11.0","husky":"^3.0.3","jest":"^23.6.0","lint-staged":"^9.2.1","prettier":"^1.14.3","rimraf":"^2.6.2","rollup":"^0.67.0","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-json":"^3.1.0","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-postcss":"^2.0.3","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.18.0","ts-jest":"^23.10.2","ts-node":"^7.0.1","tslint":"^5.11.0","tslint-config-prettier":"^1.15.0","tslint-config-standard":"^8.0.1","typescript":"^3.0.3"},"gitHead":"95062ab4ab006d2ecf339d0918f84d9380df3a70","bugs":{"url":"https://github.com/birjolaxew/yet-another-medium-zoom/issues"},"_id":"yet-another-medium-zoom@0.2.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"birjolaxew","email":"johanringmann@gmail.com"},"dist":{"integrity":"sha512-IVX2R1f6HYsaOKyW1r600KOljN9gUGSzZ2mDvAWvGkJLOERpt86GfMG93Ok27TZskj4Lr/eiTGWsd7rNiHlaCQ==","shasum":"a89acb202df3e7fe3ae848a6386ae818f7209309","tarball":"https://registry.npmjs.org/yet-another-medium-zoom/-/yet-another-medium-zoom-0.2.0.tgz","fileCount":37,"unpackedSize":329212,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+bTiCRA9TVsSAnZWagAAyJoQAI/16qgw9I9h5g0vAHuh\nILf9w1TyvwkydNeX/M2txzfndGuTeN2DVRO6CT9FYWamr+CBfOm/28Yxu52j\n4IQ9b60KIpWCBahh8Eu2iNavLwHyB0qCMMe1q6qTD+yBMgwj5LmsueRaudsY\nnVzPvMfNoNebp2mrrbcSALk7AuSyy6HArBh++/gYSycoUWmOdBuPBYYJ/T1Z\n2udICab1NuZcbAyMIW0c7tCejcePLSld2mMs/FayGn3IlM7sjaMKn9R0iXZY\ns2+3nAi2DijYRdu0lbwyplpIQxyy+0qUraASET8G7LGNyvlf8hFxrAXYWmjt\n+eB8pgBXaPpNjCYit4YvLsCTY0zMHF07FDwHuR4Lisoo9iZuu5aaxatjzcQp\n05FFzN8ref4SugjZKBeW1hpcRp+IWd/oc3L3xad7fCL2/gWk1YGrFJm28WyF\nC0skltLgoq1yWx2EMTLiQsHTi4gU16bMHvcYa4o3jdbSJFiCH/1LaiOIU7Aa\nj71RoSiLYjT10uaofvo5Qo/moV6eA9nMmFZnw3bLmjU3FVSKFD690hTim9dH\nT2pybZzl/lAD6Ys2vBCjSHJGPseG5D8f1LKuDxJqN17fC5kO12HFDLUvZXoO\nezZqDsFrI9LNVLjYPADkd4snPmZNdF+wB8TWRZS0m7azcOzIRv26DA64XDeB\n92ms\r\n=amal\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEPDDGD6XfCzCjahmz02M8y0fE3EAVr0vZe9ljjvWroPAiBOHj0YgRuZOLz1YvBNApmCiqeh2eKqPrUiwrM7dD0tLw=="}]},"maintainers":[{"name":"birjolaxew","email":"johanringmann@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yet-another-medium-zoom_0.2.0_1576645857658_0.33155261841727435"},"_hasShrinkwrap":false},"0.2.1":{"name":"yet-another-medium-zoom","version":"0.2.1","description":"Highly configurable medium-like lightbox","keywords":["lightbox","image","image zoom","picture","medium"],"main":"dist/yet-another-medium-zoom.umd.js","module":"dist/lib/index.js","types":"dist/types/index.d.ts","author":{"name":"birjolaxew","email":"johanringmann@gmail.com"},"homepage":"https://yamz.jfagerberg.me/","repository":{"type":"git","url":"git+https://github.com/birjolaxew/yet-another-medium-zoom.git"},"license":"MIT","engines":{"node":">=6.0.0"},"scripts":{"lint":"tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","prebuild":"rimraf dist","build":"tsc --module commonjs && rollup -c rollup.config.ts","start":"rollup -c rollup.config.ts -w","test":"jest --coverage","test:watch":"jest --coverage --watch","test:prod":"npm run lint && npm run test -- --no-cache"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testEnvironment":"jsdom","testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"moduleNameMapper":{"\\.css$":"<rootDir>/test/__mocks__/styleMock.js"},"coveragePathIgnorePatterns":["/node_modules/","/test/"],"coverageThreshold":{"global":{"branches":90,"functions":95,"lines":95,"statements":95}},"collectCoverageFrom":["src/*.{js,ts}"]},"prettier":{"semi":true,"trailingComma":"es5"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,css,json,md}":["prettier --write","git add"]},"devDependencies":{"@types/jest":"^23.3.2","@types/node":"^10.11.0","husky":"^3.0.3","jest":"^23.6.0","lint-staged":"^9.2.1","prettier":"^1.14.3","rimraf":"^2.6.2","rollup":"^0.67.0","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-json":"^3.1.0","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-postcss":"^2.0.3","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.18.0","ts-jest":"^23.10.2","ts-node":"^7.0.1","tslint":"^5.11.0","tslint-config-prettier":"^1.15.0","tslint-config-standard":"^8.0.1","typescript":"^3.0.3"},"gitHead":"ca049126b6453accb8ecd757a509466d7deb4edb","bugs":{"url":"https://github.com/birjolaxew/yet-another-medium-zoom/issues"},"_id":"yet-another-medium-zoom@0.2.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"birjolaxew","email":"johanringmann@gmail.com"},"dist":{"integrity":"sha512-sHS+vLCR0lKrLgs7jrsA8i+t3Wpzkv1PO7H+Y1ZPsq9iZyNuIpny7Njlkdh8r9CBzx7kE4akr51XamNr3HotvA==","shasum":"c428ed387e54708791da123bddbdfdc14ebef4f9","tarball":"https://registry.npmjs.org/yet-another-medium-zoom/-/yet-another-medium-zoom-0.2.1.tgz","fileCount":37,"unpackedSize":329374,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+t60CRA9TVsSAnZWagAAPdsP/jpDzhZrX6/99hccvm1q\nNYycz1EgRob65+NhbZngP/yQ24d0hLOQrCf65dSJRmS5gqThxwve4+QaKoKb\nG40ooPKL5eYPo9AVLvq/iGpsBszFbfyEUyFV+GjpZG/9917cr1IXX4TbR6YA\n+6qsJowNekTQCq06s/xS5nY+wqSfrjcLYY+X+aghouDYAAO7ObES4IlnRK6E\nFrSnvgPey2+dvdGQUpjd4YRMU0pIesqWmr6f1uEfwiatYonx7Nwn8KaOo9pY\nDiRaf/KiO1WmepbYWVuHQ42MTiLIZLvCp/FzI71jIjMXB0LcMA2FFj0GJ6cf\nSqvIMm6BU60XtHRMqL61KFL7mCFm/iCWko/rSojcnnH9dVaY9FgKDDFpeZnj\nyHfUOkL9SoQARdb/npUUNA62YiOEOsGFGmM9AwTG7DbHAOo6V1t/XoNn+x9w\n/VRRhCfP7oZGWOOXRSvf0e+farfzHv67DpCeOUoLg+crBthubCsuoTnXD/p0\nhnBk1wADSoB/2moCd6b+NHWBD+WMel82hUdHy3Ht6t2YN+DzN3F5+/tuzUtx\n6oBac6zU5aXpbYmn/9eHPVBHMLm3XMaD8/dwYmWVt/s9McKx8W9IZCKFxrA6\nOdFoEucsJ4rP6s9/zVwUpNdzAvvlmrLcO+5sqU2res0lz065gj7Y2yJxFIiS\nT5mB\r\n=OgAt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEnfHYvTHuaTsE1Ox7PDEGTOkcIMHEWtY9PyzHLpSjdqAiBcbx/W3N+xAr0gXDUknj9iFMdN/GNembmn5TbVuHzeiA=="}]},"maintainers":[{"name":"birjolaxew","email":"johanringmann@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yet-another-medium-zoom_0.2.1_1576722099780_0.9738794124339811"},"_hasShrinkwrap":false},"0.2.2":{"name":"yet-another-medium-zoom","version":"0.2.2","description":"Highly configurable medium-like lightbox","keywords":["lightbox","image","image zoom","picture","medium"],"main":"dist/yet-another-medium-zoom.umd.js","module":"dist/lib/index.js","types":"dist/types/index.d.ts","author":{"name":"birjolaxew","email":"johanringmann@gmail.com"},"homepage":"https://yamz.jfagerberg.me/","repository":{"type":"git","url":"git+https://github.com/birjolaxew/yet-another-medium-zoom.git"},"license":"MIT","engines":{"node":">=6.0.0"},"scripts":{"lint":"tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","prebuild":"rimraf dist","build":"tsc --module commonjs && rollup -c rollup.config.ts","prepublishOnly":"npm run build","start":"rollup -c rollup.config.ts -w","test":"jest --coverage","test:watch":"jest --coverage --watch","test:prod":"npm run lint && npm run test -- --no-cache"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testEnvironment":"jsdom","testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"moduleNameMapper":{"\\.css$":"<rootDir>/test/__mocks__/styleMock.js"},"coveragePathIgnorePatterns":["/node_modules/","/test/"],"coverageThreshold":{"global":{"branches":90,"functions":95,"lines":95,"statements":95}},"collectCoverageFrom":["src/*.{js,ts}"]},"prettier":{"semi":true,"trailingComma":"es5"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,css,json,md}":["prettier --write","git add"]},"devDependencies":{"@types/jest":"^23.3.2","@types/node":"^10.11.0","husky":"^3.0.3","jest":"^23.6.0","lint-staged":"^9.2.1","prettier":"^1.14.3","rimraf":"^2.6.2","rollup":"^0.67.0","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-json":"^3.1.0","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-postcss":"^2.0.3","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.18.0","ts-jest":"^23.10.2","ts-node":"^7.0.1","tslint":"^5.11.0","tslint-config-prettier":"^1.15.0","tslint-config-standard":"^8.0.1","typescript":"^3.0.3"},"gitHead":"576268f716263d16fc37787dcf37e6798969b319","bugs":{"url":"https://github.com/birjolaxew/yet-another-medium-zoom/issues"},"_id":"yet-another-medium-zoom@0.2.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"birjolaxew","email":"johanringmann@gmail.com"},"dist":{"integrity":"sha512-nA0Wzf5CAIxpDiFWaOOpn5V85EX6d73jmnUbnL6I2YdX0yr/nVdc5PcAB+PSsJo7VZVV2vA4L6oY7Qkl8LZ6lA==","shasum":"2dc10216a9bc4d74a687ccb27e091084481b5698","tarball":"https://registry.npmjs.org/yet-another-medium-zoom/-/yet-another-medium-zoom-0.2.2.tgz","fileCount":35,"unpackedSize":329597,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+uEtCRA9TVsSAnZWagAA6IYP/iXQhvxVJnclxQZTKuDs\n15uDw9OIVl21IjjeTGBXJn5W0mFIy4a92GNKXr+rN747IC0L4vEpyhcsyLZ7\ncy4d/49BIdvzxdYBZuQyH3Fh1kxyXV2ocwh+3n7HgkVbvOxDMHFAdFpBnlTC\np5CPLGxY8LgAI9/YzWb6VS9MKLAvuz0CcoY6oq0aqblZRC9hGoXF1axt6Hbo\npaPqXQNorXGlo9dp3+5VJ68UZF768sD9tGHdQwh4YU/2gV6ocCPp7jqLGxoK\nrQYZepq5MmIY9sdAxvcrzm1Y9bfGtsplAK4BkzDoKu+17p5N7hro2WYHmsCK\npGPXmjKhMQQ7qczJ1MZ3ccfg3ZT5jmAiuoKSlfppQNKjmF2JZjptKxMc9LZM\n47MudOY6K4Pw8bijlsre8HQkQhPWm2hBEmGMH/zQBzma5vmaRwM6J9SAkkir\nBqaV/0KaePHxsCgnpOZNb+ic/l8OOPmdC8mphzqIWeBk2AqWm0459saxw/vQ\nzABc1uyiD3QDAeEYQfC8tc7ZOFoPozErB5LSLni0+LyRL4PLb8pUvVNIdpiO\n3sinJms65HvHtRuW2TIVCKwfIQbwKKxenrTJ5HYFGYCE/Ghklrngek282Wlh\n04AvNFOR45AKa0QYmKjlh6hVt7bD6dZleFyd1oHrpezm2uYUeW9EvJoNvzOE\nvo3H\r\n=Iuj0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7Rj36rBnGzW2G+fwHSH04uC6roTmq9p65acGRpucQHwIhAL31yEd5ewy2/R7SmPC6UNXXiPl92bwC8OurPx+tCBy9"}]},"maintainers":[{"name":"birjolaxew","email":"johanringmann@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yet-another-medium-zoom_0.2.2_1576722733507_0.44775872166587916"},"_hasShrinkwrap":false},"0.3.0":{"name":"yet-another-medium-zoom","version":"0.3.0","description":"Highly configurable medium-like lightbox","keywords":["lightbox","image","image zoom","picture","medium"],"main":"dist/yet-another-medium-zoom.umd.js","module":"dist/lib/index.js","types":"dist/types/index.d.ts","author":{"name":"birjolaxew","email":"johanringmann@gmail.com"},"homepage":"https://yamz.jfagerberg.me/","repository":{"type":"git","url":"git+https://github.com/birjolaxew/yet-another-medium-zoom.git"},"license":"MIT","engines":{"node":">=6.0.0"},"scripts":{"lint":"tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","prebuild":"rimraf dist","build":"tsc --module commonjs && rollup -c rollup.config.ts","prepublishOnly":"npm run build","start":"rollup -c rollup.config.ts -w","test":"jest --coverage","test:watch":"jest --coverage --watch","test:prod":"npm run lint && npm run test -- --no-cache"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testEnvironment":"jsdom","testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"moduleNameMapper":{"\\.css$":"<rootDir>/test/__mocks__/styleMock.js"},"coveragePathIgnorePatterns":["/node_modules/","/test/"],"coverageThreshold":{"global":{"branches":90,"functions":95,"lines":95,"statements":95}},"collectCoverageFrom":["src/*.{js,ts}"]},"prettier":{"semi":true,"trailingComma":"es5"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,css,json,md}":["prettier --write","git add"]},"devDependencies":{"@types/jest":"^23.3.2","@types/node":"^10.11.0","husky":"^3.0.3","jest":"^23.6.0","lint-staged":"^9.2.1","prettier":"^1.14.3","rimraf":"^2.6.2","rollup":"^0.67.0","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-json":"^3.1.0","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-postcss":"^2.0.3","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.18.0","ts-jest":"^23.10.2","ts-node":"^7.0.1","tslint":"^5.11.0","tslint-config-prettier":"^1.15.0","tslint-config-standard":"^8.0.1","typescript":"^3.0.3"},"gitHead":"22b3e891e52ba3a8105f715c8ebace552b569736","bugs":{"url":"https://github.com/birjolaxew/yet-another-medium-zoom/issues"},"_id":"yet-another-medium-zoom@0.3.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"birjolaxew","email":"johanringmann@gmail.com"},"dist":{"integrity":"sha512-vOcd/gSh3BoLikJNwizJwY4/eDzcIWnoSxnJpvVwrfW+Euw0gGF96mGLX8bhiLnnjS/ymrINCLMFRSHJqyVIGA==","shasum":"17e5bdbee3a19b4fdeee665c2eed5f542aed3a34","tarball":"https://registry.npmjs.org/yet-another-medium-zoom/-/yet-another-medium-zoom-0.3.0.tgz","fileCount":39,"unpackedSize":452990,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeBd4ACRA9TVsSAnZWagAA+NQP/3xVnGx2YmRmP/tPcFhn\nugVPcZfKidceNoPrT2z8aVgrGM6B7CEjISHLf2jyCoLHilYq7EZQxyUrDS83\nZd0dF9No6cpJkjPZaMoEkalyyRVNPkxp9efjQqIVOUrXCBk63wEaG5/8VjMy\nodxog7K9suqg4L/b1+urAtFjkhszgffabD0HCAukeIfrAyS/GVuE4diybPfZ\n3jniCqBN8KIrceV/K5/ygo0ng2W44tEtL3pcMaw3/mQIkIPb3+Bb16fD2uJQ\ncJ40UwNb8ayX9e39m2urvrsUuTYKfTJWVhij6mNM1fOIk+0D2LBCNBbXt7wS\njZll5xn8aiAxMAoqoHbC+XRElcUVpxVsuD0C/tCS471pVV/9o2W99Hk2MjNH\n+YGma2D3GRu0B74Sr6iGIONle7/Ji31MB7b0zfg47blS/VHl6UqC4rMaXFZU\n44RT3gt5iUFWQAOojcp2/vC4ey9BRuXmpHYe2mGeVGODVjTimnIXdQP5KqzO\ngaOeMoF/uqhG/czgVAXWWqOdCRV+J/OiM/JmljSp9qMp6tdJgZi1skRAkvqX\nrIEtNd3tusBEV8KhF/e2mhdFMrdHYTDAT7OlS94GaeJ0wGNp/MC1US4yg1Ky\nzY6wA6HBgmQefHV/p1sKfAOG508UXGyJXK4fNRqQ1wygPMwgcHUFAuX+kb84\nJ1AU\r\n=aZ+V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDFE1NilBkhVug+QBEhTjEwE7u6lv2vy3DgyO6H/vF8sAiA4J1zHdS2BXqVbpvrXz+SoGtwIJw63UNGmTMY/uFWDrw=="}]},"maintainers":[{"name":"birjolaxew","email":"johanringmann@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yet-another-medium-zoom_0.3.0_1577442816220_0.815908920602731"},"_hasShrinkwrap":false},"0.4.0":{"name":"yet-another-medium-zoom","version":"0.4.0","description":"Highly configurable medium-like lightbox","keywords":["lightbox","image","image zoom","picture","medium"],"main":"dist/yet-another-medium-zoom.umd.js","module":"dist/lib/index.js","types":"dist/types/index.d.ts","author":{"name":"birjolaxew","email":"johanringmann@gmail.com"},"homepage":"https://yamz.jfagerberg.me/","repository":{"type":"git","url":"git+https://github.com/birjolaxew/yet-another-medium-zoom.git"},"license":"MIT","engines":{"node":">=6.0.0"},"scripts":{"lint":"tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","prebuild":"rimraf dist","build":"tsc --module commonjs && rollup -c rollup.config.ts","prepublishOnly":"npm run build","start":"rollup -c rollup.config.ts -w","test":"jest --coverage","test:watch":"jest --coverage --watch","test:prod":"npm run lint && npm run test -- --no-cache"},"jest":{"setupFilesAfterEnv":["<rootDir>/test/setup.ts"],"transform":{".(ts|tsx)":"ts-jest"},"testEnvironment":"jsdom","testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"moduleNameMapper":{"\\.css$":"<rootDir>/test/__mocks__/styleMock.ts"},"coveragePathIgnorePatterns":["/node_modules/","/test/","/src/index.ts","/src/types.ts"],"coverageThreshold":{"global":{"branches":75,"functions":95,"lines":95,"statements":95}},"collectCoverageFrom":["src/**/*.{js,ts}"]},"prettier":{"semi":true,"trailingComma":"es5"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,ts,css,json,md}":["prettier --write","git add"]},"devDependencies":{"@testing-library/jest-dom":"^4.2.4","@types/jest":"^24.0.25","@types/lolex":"^5.1.0","@types/node":"^10.11.0","husky":"^3.0.3","jest":"^24.9.0","lint-staged":"^9.2.1","lolex":"^5.1.2","prettier":"^1.14.3","rimraf":"^2.6.2","rollup":"^0.67.0","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-json":"^3.1.0","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-postcss":"^2.0.3","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.18.0","ts-jest":"^24.2.0","ts-node":"^7.0.1","tslint":"^5.11.0","tslint-config-prettier":"^1.15.0","tslint-config-standard":"^8.0.1","typescript":"^3.0.3"},"gitHead":"20b08e34e8f649a882fdb359646f8e210e9020f3","bugs":{"url":"https://github.com/birjolaxew/yet-another-medium-zoom/issues"},"_id":"yet-another-medium-zoom@0.4.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"birjolaxew","email":"johanringmann@gmail.com"},"dist":{"integrity":"sha512-RSMzeG6rEMD9Gft5ADERTQ69xeRZbrIcUl9ZAciMT+Chg6p8bFX4YXw+ISamyVTK9YY5gMJb/ZmkFQCn6DF40g==","shasum":"97c66f6e6215d5a562fc8e745676bee147b034ab","tarball":"https://registry.npmjs.org/yet-another-medium-zoom/-/yet-another-medium-zoom-0.4.0.tgz","fileCount":44,"unpackedSize":484254,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeE3/LCRA9TVsSAnZWagAAf2AQAIlpY+EFd4tZ1TfXsW67\nl2aQeeWxYRAfH/84HT/iCgqoYG5mUjqSfq+g23JG6sr394ueeMJYn+Ctinv8\nDdi6QZb8kcSYtw96fBc99443jVKG4RymVaqZd4Bl+rTUqol6NlgInUKUXmmm\nyvEsLt0RV30IS1EtCbwZnRdiBhqjDyVn+oNG3n3gs3waGt9eyxIrgVhOC+KG\nvRiPP9kukfY/IgE5jc/nvGKPVKSVbMrp5MI9cqKrbdzXWvcewQATlhhLIrKb\nW5eUDZIYMD12TLv7QWctSZMG8MS9XwsEj2vgxNPh8q6dErAwn9nUZPcAO9X6\nqgTy0BiydOYBJU6NX96QDnIgvA+PZGv6KU/3s/rwY07+3gK7HBTg4n5qW9Jg\nGFLDMJIBTRmeDStVgdToGiNdMsoSa8I75ntLpG4yRgdDhE2PH1EPWVbg2okH\nNL1DNlgiQzUggQCbNQZG5LOm3/KB7xaxKrrFzwCxdSB1Iu1VCACQv63TvcN6\nmXNyHAXFOdgkzhCjxqKSSey3q8mQ1Xf8jlCTh0tEn+lbInAamfWHh1avP3kr\neV+V44AXsX5+duL1kjJ2Mkn0+Ly+kI/ndeZi3OJjzsJGnn7AfyP43stAxhmY\nAotyhNwD/+72A9LDeSIDFidJL0kwpG1Re5XX835zo8HHh8yWOrDLNK+FTOgY\n8WtG\r\n=3Afc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICB/KdvDwWx8FMhz0WklvjHiPxS+mTZOHQkDygbNc6aNAiBNyo2RRS2K0u6zvf153uW967K7ZyCPj4bo7RlDTgnTsA=="}]},"maintainers":[{"name":"birjolaxew","email":"johanringmann@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yet-another-medium-zoom_0.4.0_1578336203178_0.026516208546419673"},"_hasShrinkwrap":false},"0.4.1":{"name":"yet-another-medium-zoom","version":"0.4.1","description":"Highly configurable medium-like lightbox","keywords":["lightbox","image","image zoom","picture","medium"],"main":"dist/yet-another-medium-zoom.umd.js","module":"dist/lib/index.js","types":"dist/types/index.d.ts","author":{"name":"birjolaxew","email":"johanringmann@gmail.com"},"homepage":"https://yamz.jfagerberg.me/","repository":{"type":"git","url":"git+https://github.com/birjolaxew/yet-another-medium-zoom.git"},"license":"MIT","engines":{"node":">=6.0.0"},"scripts":{"lint":"tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","prebuild":"rimraf dist","build":"tsc --module commonjs && rollup -c rollup.config.ts","prepublishOnly":"npm run build","start":"rollup -c rollup.config.ts -w","test":"jest --coverage","test:watch":"jest --coverage --watch","test:prod":"npm run lint && npm run test -- --no-cache"},"jest":{"setupFilesAfterEnv":["<rootDir>/test/setup.ts"],"transform":{".(ts|tsx)":"ts-jest"},"testEnvironment":"jsdom","testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"moduleNameMapper":{"\\.css$":"<rootDir>/test/__mocks__/styleMock.ts"},"coveragePathIgnorePatterns":["/node_modules/","/test/","/src/index.ts","/src/types.ts"],"coverageThreshold":{"global":{"branches":75,"functions":95,"lines":95,"statements":95}},"collectCoverageFrom":["src/**/*.{js,ts}"]},"prettier":{"semi":true,"trailingComma":"es5"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,ts,css,json,md}":["prettier --write","git add"]},"devDependencies":{"@testing-library/jest-dom":"^4.2.4","@types/jest":"^24.0.25","@types/lolex":"^5.1.0","@types/node":"^10.11.0","husky":"^3.0.3","jest":"^24.9.0","lint-staged":"^9.2.1","lolex":"^5.1.2","prettier":"^1.14.3","rimraf":"^2.6.2","rollup":"^0.67.0","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-json":"^3.1.0","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-postcss":"^2.0.3","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.18.0","ts-jest":"^24.2.0","ts-node":"^7.0.1","tslint":"^5.11.0","tslint-config-prettier":"^1.15.0","tslint-config-standard":"^8.0.1","typescript":"^3.0.3"},"gitHead":"cea9fca86fe124619261e8dfe486e3419a7d0a18","bugs":{"url":"https://github.com/birjolaxew/yet-another-medium-zoom/issues"},"_id":"yet-another-medium-zoom@0.4.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"birjolaxew","email":"johanringmann@gmail.com"},"dist":{"integrity":"sha512-DkWyiGc3NsNpR2qMsKveAQnGsNbOWrSAOFYFWVyNwIcvpMzSml3Fh57qSaNhMAFdl5Nf+sM0POtbl8UQSb9jhQ==","shasum":"654ba0154fff301c72dd8f844633d8ecae815f54","tarball":"https://registry.npmjs.org/yet-another-medium-zoom/-/yet-another-medium-zoom-0.4.1.tgz","fileCount":45,"unpackedSize":492595,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeIiirCRA9TVsSAnZWagAA2gsQAIhvnkaVp+VIDAnAJS9B\nGuHcuVvjSCKa7cYRI5r/jQV4uYp6XrHRB1+Jx07g9QlFGbCWsq1smEgJGa9f\n7fjVqeMZ5qBicAW+xnAk61NkrNpcHf/U6KvTnCtzH04+mG9nLmVGEc/15Jws\neUmNrwukp0MtCgkQA+knGdn7e0fPVtHKbWM4AoFQS8UKXLxc0zTCU3sy1wAk\nnIYNkHnLq+FaBQ+awR7y5L+P9JjI2kLDJmRUFrktGdavh+ZDE8cB2lBhln1X\nQC+zyH3sWiQfMhKrV2xev/bhRL4Otc7f9sTc4+PQ228rfJuCY2UZagrlymOX\nN7RuoUNFg91EgztDUOR6lcEjrRdaRm0PqIYYyZC0J2e/i8KlPfnCRZKJpIz2\nMtXDsZTxG4dLZ+Rb4CrCntzxZW8icIlS6gcM/Id/mQ81iZaXNP95PgtXestO\nhNRv9ZgtcoUoS0HqWbmY2hxT3JuTqDjPBoxbLp+gWuHWc8sb6fipOEuiWjLG\nrt7jEXsFrzEW8VsNfgE0Jz+UZDW6Lsz606hZosy0WBH885rDglK/aLS2HsY9\nam7PEAkFyoLDxCtU0OxARCgiaj/vntp4jJ457+FNvvM5+knUS2vht8vyzR5y\nKhnRHvIvYaIxoDebA1mr2Q+Rwek1jLl5JocZIkhDy5iee6NmR+21skNPl3Gt\nnKXz\r\n=c2ql\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMjOMAtmLkzDTmT0Tz/CMuniWgYWCOO9NVHM0KCQoMXQIgYuGLAFwdodNt4WsuVOv+TaUxvn6hmujGFf5d1Y5AmV0="}]},"maintainers":[{"name":"birjolaxew","email":"johanringmann@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yet-another-medium-zoom_0.4.1_1579296938751_0.9402227854944851"},"_hasShrinkwrap":false},"0.4.2":{"name":"yet-another-medium-zoom","version":"0.4.2","description":"Highly configurable medium-like lightbox","keywords":["lightbox","image","image zoom","picture","medium"],"main":"dist/yet-another-medium-zoom.umd.js","module":"dist/lib/index.js","types":"dist/types/index.d.ts","author":{"name":"birjolaxew","email":"johanringmann@gmail.com"},"homepage":"https://yamz.jfagerberg.me/","repository":{"type":"git","url":"https://github.com/birjolaxew/yet-another-medium-zoom"},"license":"MIT","engines":{"node":">=6.0.0"},"scripts":{"lint":"tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'","prebuild":"rimraf dist","build":"tsc --module commonjs && rollup -c rollup.config.ts","prepublishOnly":"npm run build","start":"rollup -c rollup.config.ts -w","test":"jest --coverage","test:watch":"jest --coverage --watch","test:prod":"npm run lint && npm run test -- --no-cache"},"jest":{"setupFilesAfterEnv":["<rootDir>/test/setup.ts"],"transform":{".(ts|tsx)":"ts-jest"},"testEnvironment":"jsdom","testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"moduleNameMapper":{"\\.css$":"<rootDir>/test/__mocks__/styleMock.ts"},"coveragePathIgnorePatterns":["/node_modules/","/test/","/src/index.ts","/src/types.ts"],"coverageThreshold":{"global":{"branches":75,"functions":95,"lines":95,"statements":95}},"collectCoverageFrom":["src/**/*.{js,ts}"]},"prettier":{"semi":true,"trailingComma":"es5"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,ts,css,json,md}":["prettier --write","git add"]},"devDependencies":{"@testing-library/jest-dom":"^4.2.4","@types/jest":"^24.0.25","@types/lolex":"^5.1.0","@types/node":"^10.11.0","husky":"^3.0.3","jest":"^24.9.0","lint-staged":"^9.2.1","lolex":"^5.1.2","prettier":"^1.14.3","rimraf":"^2.6.2","rollup":"^0.67.0","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-json":"^3.1.0","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-postcss":"^2.0.3","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.18.0","ts-jest":"^24.2.0","ts-node":"^7.0.1","tslint":"^5.11.0","tslint-config-prettier":"^1.15.0","tslint-config-standard":"^8.0.1","typescript":"^3.0.3"},"licenseText":"MIT License\n\nCopyright (c) 2020 Johan Fagerberg\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"yet-another-medium-zoom@0.4.2","dist":{"shasum":"5956b8dc35d41c75258bcb3c5590cc5631ed2921","integrity":"sha512-UWWul47VnEQiHL4Brnv7WqTexEnmbMetEI8uBfNXWEsK23t8+7aTZw7hcZMRvwIPLyyKI4YPJIUy9ztnGciWKQ==","tarball":"https://registry.npmjs.org/yet-another-medium-zoom/-/yet-another-medium-zoom-0.4.2.tgz","fileCount":59,"unpackedSize":493103,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeKOGTCRA9TVsSAnZWagAA1+gP/3jUyc01/loDnivFUcnl\nV5SNjMyjd7xL8Sc4wq2CxGEFXFRZoRgKDfM6hO//p55xA9ZKMrNeJdyHtUZC\nRwwtUa4jsu0qKMY3GCB39XHOeiX0G9qs5cKNr1KVGJhOFfnkKV5MkHZEtEm2\nX3ltjvazdxewqm7loKMawEG1zu+xJ10A9csRCdfa1S6Hrsa9gulut7+5gx+x\nfL8XxdxLPiuKfMULsqIdbgHNGZazRxo9VU2Rx4bsXzlOQ1jGO/UeQcjx+X87\nDUC2qe7R6/9rDliRNFB2ikXlqWozOnnEqjtx/qc4HT8RYw+PZ3FYM3dhnBYN\nWdhp/hhh9l6sD7idu1Prg9ZVe4T7Rt2CwPkzHU85lzMNUfZuRjFJfBRbnm2f\nfeXXqiiEwqroRjHDft5pTp5tJByis90smrTv7iXMmoK5w3B2KazOqlXqsU4h\nyXZZfqpolopW8zz2WQUsxYBgK7a6Clqa8lPZSvjJQFmWI/m6sFfVZER4Q659\n5yctEWD+/V9q8a4cEo1ubGMUysqU6hH85/THtlHplJtg62tpI7Y3dLrrkg6c\nPCwP4NfpN5ak6TJAdgfMMnG6Z9FXVoBDexDboLbOFnDiB6gWYa/BvKp6MwmQ\nBVMFdlYlqQQQlTsTbz/isfJk+nPXCA67zH0zHz0VpFdToiNbCYjI0Q9vMuRJ\nGLkg\r\n=iwsd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGYgGwZSjYPj+1UgDAD4xlZwCqcnlEK7B16ER7tQ3dqgIhAPq90NfTbq0VXk6KkfAwIcw6XTeevbkSFGZuqmkD186L"}]},"maintainers":[{"name":"birjolaxew","email":"johanringmann@gmail.com"}],"_npmUser":{"name":"birjolaxew","email":"johanringmann@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yet-another-medium-zoom_0.4.2_1579737491197_0.3944001943487325"},"_hasShrinkwrap":false}},"time":{"created":"2019-12-05T19:15:44.161Z","0.1.0":"2019-12-05T19:15:44.256Z","modified":"2022-05-25T05:15:13.963Z","0.2.0":"2019-12-18T05:10:57.852Z","0.2.1":"2019-12-19T02:21:40.070Z","0.2.2":"2019-12-19T02:32:13.641Z","0.3.0":"2019-12-27T10:33:36.414Z","0.4.0":"2020-01-06T18:43:23.344Z","0.4.1":"2020-01-17T21:35:39.167Z","0.4.2":"2020-01-22T23:58:11.316Z"},"maintainers":[{"name":"birjolaxew","email":"johanringmann@gmail.com"}],"description":"Highly configurable medium-like lightbox","homepage":"https://yamz.jfagerberg.me/","keywords":["lightbox","image","image zoom","picture","medium"],"repository":{"type":"git","url":"https://github.com/birjolaxew/yet-another-medium-zoom"},"author":{"name":"birjolaxew","email":"johanringmann@gmail.com"},"license":"MIT","readme":"# Yet Another Medium Zoom\n\n[![codecov](https://codecov.io/gh/birjolaxew/yet-another-medium-zoom/branch/master/graph/badge.svg)](https://codecov.io/gh/birjolaxew/yet-another-medium-zoom)\n[![david](https://david-dm.org/birjolaxew/yet-another-medium-zoom.svg)](https://david-dm.org/birjolaxew/yet-another-medium-zoom)\n[![license](https://img.shields.io/npm/l/yet-another-medium-zoom.svg)](./LICENSE)\n\nYAMZ is a lightbox library heavily inspired by [Medium](https://medium.com/).\n\nIt provides an easy way to add smooth, minimalistic, and highly customizable Medium-like zooming to your images.\n\n## Usage\n\nTo use the library, you simply tell it which images to bind to:\n\n```js\nimport yamz from \"yet-another-medium-zoom\";\n\nconst $images = [...document.querySelectorAll(\"img, picture\")];\nyamz.bind($images);\n```\n\nThat's it. The library will automatically extract the appropriate high-res source from your images if you are using `srcset`, and will otherwise just use the image's own source (or a high-res source [you specify](#configuration)).\n\n## Configuration\n\nIf you want to have more control over what's displayed, you may want to change some of the options. You can set an option globally, or you can specify the options on a per-image basis. This can be done in JavaScript when you open the lightbox, or in HTML by specifying the options on the image you bind to as data attributes.\n\n```html\n<!-- set the options as data attributes -->\n<img src=\"example.png\" data-scroll-allowance=\"-1\" data-duration=\"600\" />\n```\n\n```js\n/* or specify them when you open the lightbox programmatically */\nimport yamz from \"yet-another-medium-zoom\";\n\nyamz.setOptions({\n    // set options globally\n    /* ... */\n});\nconst $img = document.querySelector(\"img\");\nyamz.open($img, {\n    // set options on a per-image basis\n    /* ... */\n});\n```\n\nThe following options are available:\n\n| Name                | Data attribute          | Type                                                    |   Default value | Description                                                                                                                                                                                     |\n| ------------------- | ----------------------- | ------------------------------------------------------- | --------------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `scrollAllowance`   | `data-scroll-allowance` | `number`                                                |           `128` | How much the user can scroll before the lightbox is closed. `-1` to disable                                                                                                                     |\n| `duration`          | `data-duration`         | `number`                                                |           `300` | How long the animation should take, measured in milliseconds                                                                                                                                    |\n| `container`         | None                    | `HTMLElement`                                           | `document.body` | The element to render the lightbox inside                                                                                                                                                       |\n| `class`             | `data-class`            | `string`                                                |          `null` | Class to give to the lightbox element. Mostly useful for styling                                                                                                                                |\n| `highres`           | `data-highres`          | `string`                                                |          `null` | URL of the high-res image to load. Can't be set globally                                                                                                                                        |\n| `caption`           | `data-caption`          | `string \\| HTMLElement`                                 |          `null` | String or element to insert as a caption below the image. Can't be set globally                                                                                                                 |\n| `album`             | `data-album`            | `{ img: HTMLElement, opts?: {} }[]`                     |          `null` | If set, the album that an image belongs to. Can be specified in HTML by using a string - all images with the same album string will then be considered part of the album. Can't be set globally |\n| `wrapAlbum`         | None                    | `boolean`                                               |         `false` | Whether to wrap albums, so you can press left on the first image to go to the last one, and vice versa                                                                                          |\n| `lightboxGenerator` | None                    | `(img: HTMLElement, opts: ImageOptions) => HTMLElement` |          `null` | Function which generates the lightbox, if you want to use a custom one. See [below](#advanced-customization) for more information                                                               |\n\n### Advanced Customization\n\nThere are two main ways to perform more in-depth customization of the lightbox:\n\n#### CSS / DOM customization\n\nYou can style the lightbox however you want by simply using CSS to overwrite the built-in styles. You can also change the DOM structure of the lightbox by using the `lightboxGenerator` option, which lets you completely change what the lightbox contains. You can see an example of this on the [project website](website/js/index.ts). The animation will automatically adapt to your new styles.\n\n#### Plugins\n\nPlugins can be created if you need more advanced control. These are implemented as functions that augment a given YAMZ instance with whatever features the plugin implements. These plugins can then be composited if you want to use more than one at a time. An example of this can be seen in [our main export](src/index.ts).\n\nBoth the caption and album support are actually implemented as plugins (that are enabled by default), so if you want to create your own plugin it might be useful to reference the implementation of the [caption](src/caption/caption.ts) or [album](src/album/album.ts) plugins.\n","readmeFilename":"README.md"}