{"_id":"@addasoft/album-art-component","_rev":"2-bfbc7ce5983e134ee79eb79b7a0eddc5","name":"@addasoft/album-art-component","dist-tags":{"latest":"3.1.0"},"versions":{"3.0.0":{"name":"@addasoft/album-art-component","version":"3.0.0","private":false,"description":"A webcomponent that fetches album and artist art from different sources","main":"src/album-art.ts","module":"src/album-art.ts","scripts":{"copyindex":"cp src/index.html build","copywc":"cp -r node_modules/@webcomponents/webcomponentsjs/bundles build && cp node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js build","build":"rm -rf build && mkdir build && npm run copyindex && npm run copywc && tsc && rollup -c","start":"tsc && serve build","tsc:watch":"tsc --watch","tsc:build":"tsc","postversion":"npm run build && npm publish && git push && git push --tags"},"author":{"name":"Lucien Immink","email":"lucien@arielext.org"},"repository":{"type":"GIT","url":"git+https://github.com/lucienimmink/album-art-webcomponent.git"},"license":"MIT","dependencies":{"idb-keyval":"^5.0.4","lit-element":"^2.3.1"},"devDependencies":{"@babel/core":"^7.13.14","@babel/plugin-proposal-class-properties":"^7.13.0","@babel/plugin-proposal-decorators":"^7.13.5","@webcomponents/webcomponentsjs":"^2.5.0","rollup":"^2.44.0","rollup-plugin-babel":"^4.4.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^7.0.0","serve":"^11.3.2","tslib":"^2.2.0","typescript":"^4.2.3"},"bugs":{"url":"https://github.com/lucienimmink/album-art-webcomponent/issues"},"homepage":"https://github.com/lucienimmink/album-art-webcomponent#readme","gitHead":"ff2031ab765dfc46000ed181142b56ecb43ed3b8","_id":"@addasoft/album-art-component@3.0.0","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-9HsmdHeWG1be7ZD+GKVNdMdaHR/EPX0IajO6kMk7gWbF0q49i2cIsz5guDhNws9vnb6KCEese9Q5Y7pNlr2WaQ==","shasum":"93c5e658cdc3e5957120655c848b714a1b56a282","tarball":"https://registry.npmjs.org/@addasoft/album-art-component/-/album-art-component-3.0.0.tgz","fileCount":37,"unpackedSize":2537132,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggdpqCRA9TVsSAnZWagAA5OYQAKNST+pyCs+uyVUenMvI\nH8dHIDf8O9X7Tm4usjVX08o10ZeoqqZurK/RQ0kwvJm3lsUyeNNWIIC7YTV6\nsGrh15XLodFhOxMsEwMLwH6qeA4FOUJbdQ1Alc7JrcwwnR0zJrQJ/q4s9s7e\ncJ0kSYlyKduaOGkUfP5iRnh56ZEdOEi+hFWQmaJw9trq9YZrOFIG7UwWN1C3\nwZ63/Lu9qok+h49K4r729W6jR46is6N65LNyZN9xRymdLdproMu71a3rjAKz\nH7bUjyNgmpvKjaXpuBYH7cCVUTQIIzc+crMDwZ6TR2V4MNR8dx5OLwbhrl4T\njvDJb6PT3Qin4iBv0G01sJtFhWgQy6aHuRPUGGC8gaUJZMRcjN6X+S4uxiVk\n6AX2Vyl6OtyDeUldbFnwdO3kYYL4wMRR1oDl/sp0qla8GUhUY94rfEhj6Q3W\nufy/aeJCrIQlrA4zubEv2DmAe0B+zgIKCvIBW0HZq7GeDKtMxS6yjezecnEF\npkSeiVpfjcp5qbWCchsfXgT06vZkUMzBKKY6ttJnsGNvO7DqrEjhiqS9usdg\nxE1Tv7k1SDeHfYfCI5XZMaEGX3/7RZBgv3i8lgIMS/d2kDEmWCOoi51PqI04\nqS7Jr6n2UoYi0kW5R0SAVTi7lV4gtH2XzGIMlEiLzvad2SPHmzcNdmw3IeHQ\nouUj\r\n=Ra4M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjZzeTVq4HDCdt41VeCZDRzXRtVgVEfP/lG9LGXK4aPAIhANayUxVL/ptWFjYyGMnYfj2U2YYWisy4ON71nOOQjAMP"}]},"_npmUser":{"name":"arielext","email":"lucien@arielext.org"},"directories":{},"maintainers":[{"name":"arielext","email":"lucien@arielext.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/album-art-component_3.0.0_1619122793807_0.7815887032206843"},"_hasShrinkwrap":false},"3.1.0":{"name":"@addasoft/album-art-component","version":"3.1.0","private":false,"description":"A webcomponent that fetches album and artist art from different sources","main":"src/album-art.ts","module":"src/album-art.ts","scripts":{"copyindex":"cp src/index.html build","copywc":"cp -r node_modules/@webcomponents/webcomponentsjs/bundles build && cp node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js build","build":"rm -rf build && mkdir build && npm run copyindex && npm run copywc && tsc && rollup -c","start":"tsc && serve build","tsc:watch":"tsc --watch","tsc:build":"tsc","postversion":"npm run build && npm publish --access public && git push && git push --tags"},"author":{"name":"Lucien Immink","email":"lucien@arielext.org"},"repository":{"type":"GIT","url":"git+https://github.com/lucienimmink/album-art-webcomponent.git"},"license":"MIT","dependencies":{"dotenv":"^16.0.0","idb-keyval":"^6.1.0","lit":"^2.2.3","rollup-plugin-dotenv":"^0.3.0"},"devDependencies":{"@babel/core":"^7.13.14","@babel/plugin-proposal-class-properties":"^7.13.0","@babel/plugin-proposal-decorators":"^7.13.5","@webcomponents/webcomponentsjs":"^2.5.0","rollup":"^2.44.0","rollup-plugin-babel":"^4.4.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^7.0.0","serve":"^13.0.2","tslib":"^2.2.0","typescript":"^4.2.3"},"bugs":{"url":"https://github.com/lucienimmink/album-art-webcomponent/issues"},"homepage":"https://github.com/lucienimmink/album-art-webcomponent#readme","gitHead":"3c2ae7c6b140e23c638cb0d75689eadd248405e0","_id":"@addasoft/album-art-component@3.1.0","_nodeVersion":"16.15.0","_npmVersion":"8.1.4","dist":{"integrity":"sha512-wCqmocbyFU3p1wU6C8q7AG3QnZeixtx/qkWoNHxPTURABVx4aEYJga7yijiYr2+QXczq6Cs7yypz9rePgWRfRQ==","shasum":"3beb431c0bfa92964d789e6fe520a1b8cbc5bb5e","tarball":"https://registry.npmjs.org/@addasoft/album-art-component/-/album-art-component-3.1.0.tgz","fileCount":36,"unpackedSize":2526713,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyRGPZCxUK61liZVs56dR4Pk3hv7V5ilVOGNAEQ9FOhAIhANbi13nxtJ9XkGc1jy+ZaNLtbKWMOyW7JGl54EYoP8ym"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJidSggACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqVVA/9EcYRa5WYLug+fJPVok7QQQd+3aJNSdEVpIllgkV71vjAp/ZI\r\njT5rUPx4AX71gpgbdmC7OQCMjvE3FZcqQWvRPIo7PC9BQQsIfVesCUdxDgKS\r\n9KCxpfmDbuk4i+7PUy4CtP22jSvin2zukO4zBfBIB4k92BsmDxa3zP8WsnF3\r\n0LoRmT6gb6dwAUgUT8Qu24AjYHL9FhsLp01SaSj5NqJVLgkO71j2G7SWpy2T\r\n7hlj0CzHkUSEixOEqpG219XKKiBlo7nqbnfGvpRGCdhBENYgGJRILSjU2woU\r\nm1QyHJ4XdPDoZkoLcw1VKf+Izc5c8y3kP+yfUXYKSISS/f0zKI0y9OgBRZK5\r\nLElU253f9QrLMeKXl98/BkjEilphdG1Z5cYq1P3yI4vyPUxNzZKeYkkFIKla\r\nG+8eCMz7IUg3JpTQNTmdkmhIlKJSJO2yRPZY2FbhBd/3OU1qKPXPp1/zEMH0\r\n2ubPH4F6O1TpJQQuKg1iRqVRtVVsHWVlbyMDLeK6QOrK/LNKQVUh4wpyi4fj\r\nZNP1PyGwJcL1zRkgpj0WJzOjFMgYSK2W2TmSddM77EzqdSbfEG9kJp8ElWFx\r\nmpxBikw3ftvZjp2IOYIQ4+WZZK3Iih+Ljzq6eKtEpQfvjXAx3fJK8G0vOm9o\r\nIIoznx6AZWboJg/nTfHL1P85wy/OBzI6++g=\r\n=PedN\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"arielext","email":"lucien@arielext.org"},"directories":{},"maintainers":[{"name":"arielext","email":"lucien@arielext.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/album-art-component_3.1.0_1651845151823_0.83608497930615"},"_hasShrinkwrap":false}},"time":{"created":"2021-04-22T20:19:53.448Z","3.0.0":"2021-04-22T20:19:54.055Z","modified":"2022-05-06T13:52:32.114Z","3.1.0":"2022-05-06T13:52:32.036Z"},"maintainers":[{"name":"arielext","email":"lucien@arielext.org"}],"description":"A webcomponent that fetches album and artist art from different sources","homepage":"https://github.com/lucienimmink/album-art-webcomponent#readme","repository":{"type":"GIT","url":"git+https://github.com/lucienimmink/album-art-webcomponent.git"},"author":{"name":"Lucien Immink","email":"lucien@arielext.org"},"bugs":{"url":"https://github.com/lucienimmink/album-art-webcomponent/issues"},"license":"MIT","readme":"# Album art WebComponent\n\nInstead of having to know all different APIs for Artist and Album providers what about a webcomponent that does it for you?\n\n```html\n<!-- artist art -->\n<album-art artist=\"the gathering\"></album-art>\n<!-- album art -->\n<album-art artist=\"the gathering\" album=\"home\"></album-art>\n```\n\nIs all you need to fetch and display artist art for the awesome band `the gathering`. You can easily provide the width and height for the art by setting them in CSS\n\n```css\nalbum-art {\n  width: 200px;\n  height: 200px;\n}\n```\n\nYes it is that easy.\n\n## Develop\n\n```bash\nnpm run start\n```\n\nfor a development build and\n\n```bash\nnpm run build\n```\n\nto build a new distribution build.\n\n## API keys\n\nAdd the following to your local `.env` file in order to use last.fm and fanart\n\n```ruby\nLASTFM_APIKEY=[your key]\nLASTFM_SECRET=[your secret]\nFANART_APIKEY=[your key]\n\n### Add a new provider\n\nTODO: the idea is that we, the community, can add new art providers which will be discovered during the build process and all of them will be used till a proper image is found. For now though, surprise me with a pull request\n","readmeFilename":"README.md"}