{"_id":"@aaronlcj/use-last-fm","_rev":"4-36ace1e739243efe09115c6c002a7785","name":"@aaronlcj/use-last-fm","dist-tags":{"latest":"0.6.1-beta.3"},"versions":{"0.6.1":{"name":"@aaronlcj/use-last-fm","description":"Get data from last.fm as a React hook.","version":"0.6.1","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","author":{"name":"Aaron Jones","email":"npm@aaronlcjones.com"},"module":"dist/use-last-fm.esm.js","repository":{"type":"git","url":"git://github.com/aaronlcj/use-last-fm.git"},"engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","lint":"tsdx lint src","prepare":"tsdx build"},"peerDependencies":{"react":">=17"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"all"},"devDependencies":{"@types/react":"^16.9.53","@types/react-dom":"^16.9.8","husky":"^4.3.0","react":"^16.13.1","react-dom":"^17.0.1","tsdx":"^0.14.1","tslib":"^2.0.3","typescript":"^4.0.3"},"keywords":["react","react-hook","hook","music","spotify","last.fm","lastfm","use-hook"],"dependencies":{"swr":"^0.4.0"},"licenseText":"MIT License\n\nCopyright (c) 2020 Alistair Smith\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.","_id":"@aaronlcj/use-last-fm@0.6.1","dist":{"shasum":"46e4293d3ab875ea40258ca15737c0e26cfaae89","integrity":"sha512-khgkR4K7oLQxY3XPaCRQX9yjeROexaJJfUeTO29bKiGsWer8izXyphJ7DdVPX2dnJAuERUozmms33SZIN6XCCg==","tarball":"https://registry.npmjs.org/@aaronlcj/use-last-fm/-/use-last-fm-0.6.1.tgz","fileCount":19,"unpackedSize":27487,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNg1UCRA9TVsSAnZWagAAOzQQAI5wZFwn8byQYt72IW8T\nnrmWOaTyEvnGb1kE7eSv3aIrQle+hFBv/e6HtX7aOzu+mzng6lx0DXoV6sdu\n1hWUDdlA98tsqOWsk4MRS31gxOW7ME5QK7dhsz0z3FxYrjFeR83f9PNve7sw\nahTdtnC4pXfJ5l56Lke0qH9M2wyG3dNwM3ONVA05EuIRJOpkHN+lHoiQEpg+\n79gQmt8iH82+rtlZMSbY1EGOTwN4YtvxggeVQ3I+fACL5z7PaEA5fzCqh85O\nw6iDVhjbEsw0WPtub9tV330oeQ2IisBw95dJkiNq8ERdNx6/ryDL0kY3frHa\nsjYojUwDYU9+cwR5lRz4SGea9dv0s4QUeQX2diEAtCrboxkurYDTpUGkWqMg\n4q7q0X99M6kUL7OL7rVGwsYMPmKXlDmfH1arfGppsNC/SuE92gQ8GM9nlQzM\nh8JDjSGUlFXWjJV0fij9ol9qzC3koYFfCWL/iZV2dLAHn0a0t9XaiQj+f9OS\nt/O0BUy1muWu2MfvOXCv7gJRydg7Zg0yQs1+kAiyh17c2aKqTlOw67bIwHRO\nuhGX+WCCMswwv3b6iPHG77cs2E8tlML8ZPn5fDZ6xV67XBDG4ZDZcxdfQkSw\nxJdZhz8+b2pVfQlWgKdFBwf1/L14FefJ2Crs9KEpKQ8Ltq3eIrxcJGeoThbv\nyaiu\r\n=OiSk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAEGjcFI2Cmtuh/GvFN5UFyDukuGQTk5JSxxRpKdj3zEAiA7aV0wk0GZgKuWg9347wJnfI8L3+TUinHT3EC9OMSfLw=="}]},"_npmUser":{"name":"aaronlcj","email":"npm@aaronlcjones.com"},"directories":{},"maintainers":[{"name":"aaronlcj","email":"npm@aaronlcjones.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-last-fm_0.6.1_1614155091841_0.414336283105331"},"_hasShrinkwrap":false},"0.6.1-beta.1":{"name":"@aaronlcj/use-last-fm","description":"Get data from last.fm as a React hook.","version":"0.6.1-beta.1","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","author":{"name":"Aaron Jones","email":"npm@aaronlcjones.com"},"module":"dist/use-last-fm.esm.js","repository":{"type":"git","url":"git://github.com/aaronlcj/use-last-fm.git"},"engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","lint":"tsdx lint src","prepare":"tsdx build"},"peerDependencies":{"react":">=17"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"all"},"devDependencies":{"@types/react":"^16.9.53","@types/react-dom":"^16.9.8","husky":"^4.3.0","react":"^16.13.1","react-dom":"^17.0.1","tsdx":"^0.14.1","tslib":"^2.0.3","typescript":"^4.0.3"},"keywords":["react","react-hook","hook","music","spotify","last.fm","lastfm","use-hook"],"dependencies":{"swr":"^0.4.0"},"licenseText":"MIT License\n\nCopyright (c) 2020 Alistair Smith\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.","_id":"@aaronlcj/use-last-fm@0.6.1-beta.1","dist":{"shasum":"7a931611a6814bc3b7631b491a8548bae45a2b0e","integrity":"sha512-L4VpU3G5hGVKs2pRy8zKLi8X6gYBp8Gh88Y/4LpYTEqOb6yM+3tVe9B4XjIV9Am4FEwa8i6ZJOpKuc5vMyhAlQ==","tarball":"https://registry.npmjs.org/@aaronlcj/use-last-fm/-/use-last-fm-0.6.1-beta.1.tgz","fileCount":19,"unpackedSize":27606,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNg/ECRA9TVsSAnZWagAANE0P/05Ko1q2MGy04AH4gmqp\nIpFFNU/vk6nXStXkhTaHues9dPdNDHKD8K4LoBVJii+p4D1pWnWK0MvNw0kI\nxSF//CJ/fFNrN9FIY0lxCs1oapAI3YBaN7M0nT2s1FsNLoH2d3J2zsYh9trp\ntVfoLZBKAizC2rAoMRzhzdPDFEt29GpmP5cxcFIBD70Dihf9P+0I2WEHd1f7\n3IOI3/vN8f5qfBQJkIvir4E4EvHz2Xe7egxMByN4nFWclQQS9Y4XyXFKlPNx\nG+se/8yA2v1HItdcLQQw2LcoAwrllupAEoiRxLhOIUoD9K+BmWZjYksNYOC/\niDrcqZxF6y4+MUWWbtIfR+g3ZsiVBvvmVOpiRMi05nDSkYOo7JlcfQFQiqKX\nmwAdhuYGSzfPw5/v9CQ1pjcB42MIPmbk0RFTFjFY778KJDVgtmfOBijhrFam\nZ6NEnA90mBYTO0QC4ViXZpGPamL0ITkGVO8xh2ElD8d1HZEt84DifnW7RFit\ntwTCjh6Lg1MX9qb+jxBpmHJRcfsZYtgwxVu4rCdyXAq7tIyBTG2fMbysmjbA\n7NjzM4veWCRPtmI1oq0TWSgztpMlARZc3IYP4lZ8osfO7sYz0IeZc0aqAP3g\nx4+N52293WW9zqcJqpRQM6xMs5aKh3pOhVVBiGenSPoraYU8xfNozQEsn4DE\nNwsx\r\n=JA9m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCID9lVR4xSiz7cxQjE/czxsLWOZD3eSPiRO9f2Hx4pQQiAh9K1+cy9Cq+9ErMhtXpBzlBmgaCvtZUWbTgbwOyBbF3"}]},"_npmUser":{"name":"aaronlcj","email":"npm@aaronlcjones.com"},"directories":{},"maintainers":[{"name":"aaronlcj","email":"npm@aaronlcjones.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-last-fm_0.6.1-beta.1_1614155716238_0.35732358443526424"},"_hasShrinkwrap":false},"0.6.1-beta.2":{"name":"@aaronlcj/use-last-fm","description":"Get data from last.fm as a React hook.","version":"0.6.1-beta.2","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","author":{"name":"Aaron Jones","email":"npm@aaronlcjones.com"},"module":"dist/use-last-fm.esm.js","repository":{"type":"git","url":"git://github.com/aaronlcj/use-last-fm.git"},"engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","lint":"tsdx lint src","publish":"yarn publish --access public"},"peerDependencies":{"react":">=17"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"all"},"devDependencies":{"@types/react":"^16.9.53","@types/react-dom":"^16.9.8","husky":"^4.3.0","react":"^16.13.1","react-dom":"^17.0.1","tsdx":"^0.14.1","tslib":"^2.0.3","typescript":"^4.0.3"},"keywords":["react","react-hook","hook","music","spotify","last.fm","lastfm","use-hook"],"dependencies":{"swr":"^0.4.0"},"licenseText":"MIT License\n\nCopyright (c) 2020 Alistair Smith\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.","_id":"@aaronlcj/use-last-fm@0.6.1-beta.2","dist":{"shasum":"2840e4779ff8593b701f4ef2e7353e12bb64e895","integrity":"sha512-LQ/mbUo8qK+kPm0tEitA3/TLm98SbGeHywOQXrD+VgUipCHJ6csyZGLz+0egS1qXjVp+/K+q3EuAjr3ITvA3cw==","tarball":"https://registry.npmjs.org/@aaronlcj/use-last-fm/-/use-last-fm-0.6.1-beta.2.tgz","fileCount":28,"unpackedSize":28371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNjbbCRA9TVsSAnZWagAA+L4P+gI7oYIUYD9AKgaepVQ0\naujWtmSi5qOGra00BsBxBrFamo0If7vIEM0z8itD75F6WnahJMhA/uHleIlu\nnDUEh5QJFMmMg1sKRJzgBlha/ubHMyj5pGuO7NvgM41U2IN+gjyzSt/8Avnq\nZeR4qZ0/00ZXQOce52HbTWR6rib0+8YRPd/cYQYXWamM0hctyKOjIkJVy/eB\npau1qV4M6BMTkhtKCoQy5XXEri7/IcIcAzTz1XfupsS4ahCmi2BGcZcYGRoG\nD5UuNT5vXaT5cFHDjazt6qgTE62dzR7VxggIt0pGRfukBVsizkjbUToTboBG\ncl8nF3ddcdC2+ByllWAUoDMdfOK01nIRSuZQAMcsH9zpasE/hVCW8+xHIrZE\n9tBE335frsXpD7H2ljLHnLbQOZNmk5u838utHqstoCd1AJhYR6BVS2jJjK8W\nGKeTvsxmcRK0fKEiEIldjOK1NaCyUuTWoa0dOTtrynmGVFGYjecG7ABQh5t5\nIQIJN7GZRqxjy6+/tkqAfbRfqgHq1w6mjFJMg+3oTn2IYH69ByIqf8k0zbxm\nRxFOU3iPFPMQFQRb3ngGZOTuz9TKVnf6u0ZR8FNsd9bWnfpVgaJ68J3Zrof0\na8bfmaHuxdvY2s4om4q4iLu070m2LBjVFYunZl73v8qF7mNiwLKPc+v2+IOb\naeML\r\n=5Q3Z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBY3d8O9w2MJi2se6Bk6AcXM7ulTA28EeJh8hA2Zb6DcAiEAx53teP6aSE7zIq0KCZ4wRpyVJrwf1Cpo7fYB75l7TTQ="}]},"_npmUser":{"name":"aaronlcj","email":"npm@aaronlcjones.com"},"directories":{},"maintainers":[{"name":"aaronlcj","email":"npm@aaronlcjones.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-last-fm_0.6.1-beta.2_1614165723041_0.559281920864422"},"_hasShrinkwrap":false},"0.6.1-beta.3":{"name":"@aaronlcj/use-last-fm","description":"Get data from last.fm as a React hook.","version":"0.6.1-beta.3","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","author":{"name":"Aaron Jones","email":"npm@aaronlcjones.com"},"module":"dist/use-last-fm.esm.js","repository":{"type":"git","url":"git://github.com/aaronlcj/use-last-fm.git"},"engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","lint":"tsdx lint src","publish":"yarn publish --access public"},"peerDependencies":{"react":">=17"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"all"},"devDependencies":{"@types/react":"^16.9.53","@types/react-dom":"^16.9.8","husky":"^4.3.0","react":"^16.13.1","react-dom":"^17.0.1","tsdx":"^0.14.1","tslib":"^2.0.3","typescript":"^4.0.3"},"keywords":["react","react-hook","hook","music","spotify","last.fm","lastfm","use-hook"],"dependencies":{"swr":"^0.4.0"},"licenseText":"MIT License\n\nCopyright (c) 2020 Alistair Smith\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.","_id":"@aaronlcj/use-last-fm@0.6.1-beta.3","dist":{"shasum":"e27467f7f42a47fbab31fe25bd958f8bfe9c5ea0","integrity":"sha512-LsKWdCQLPt1RDNb7TRht3p7Hla6uWxuynJoCvDSyE7NkRokuEZLsTEc6fNcLpzlEX2GYG8cLjBouWaYf8gZrvw==","tarball":"https://registry.npmjs.org/@aaronlcj/use-last-fm/-/use-last-fm-0.6.1-beta.3.tgz","fileCount":28,"unpackedSize":28371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNjbyCRA9TVsSAnZWagAAkMAP/26UGQn844DjEN8GQT7C\nzadP14YxYb1D7IQFK7PqIPO3kRRaWWmQYG98quEMJ2sDzDvX7eNMBItI/Gx+\n5wr0a3Fr5hUCKXoZXcRI7krZSm5BTQvPiCvoDmvNZCPCaknA1O6RJsl1tiNb\nFPLvrRN5QdZCaZll+bJnPTcTSAES8YtLUP/jxJITPWCed+Pe++QxaNFhF/Bi\n2IqBp72KSaNALNcw8b9zVRI0QfcgCn5/ZhvonnRyOJpHuCjGxJU2jcezOz45\nSh6kvlmPP4QoEmnAx4HKL0mlqYl5d6/ZF0gzQaYTqNzcY/FT/mMlFe5oIkM8\nXDi2/vTw7xg4osVKFStO5wqQsxaMOyq6hE0DcSOKL2rTE+Kz3U85KFCoxDax\n2FNSfFPd8QRHncoSoVNV4eJ2s3x2sV55Wep73Nxb83riL2AiBGz0y3Kq2ssB\n1LGfa6jZtiP48NejL9ZPLfyZOXUUUhjvAqYz01nt4xoW0Dx2Rul7biPkNNPz\nAZ7afKjDzOlTiZHu0ah2a3Sh3+OFTwHs2KagCKVFMdjhDQOi/F67mRcmRhNp\naVrRhgMJYmpLpakR1OmYo3H8kd57C1G1+941mPjZFKhwX7Ei91KwnuD9gHTX\n4hBtaXyQtrMnwsF5bRS5kSHmDh6iIt5ZhBHrFFKDNX71Mn4TH7M6acn4mENR\nnMai\r\n=1B5E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCo8Xtsk7XeyGYQdyKULj+3IjF6HaMbBR1QDmKq5JRRrQIhAJWJbSikqBWZr4tVL15FyiBmBuX5pBAGXiz3u54Agmhy"}]},"_npmUser":{"name":"aaronlcj","email":"npm@aaronlcjones.com"},"directories":{},"maintainers":[{"name":"aaronlcj","email":"npm@aaronlcjones.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-last-fm_0.6.1-beta.3_1614165745914_0.9623716802163491"},"_hasShrinkwrap":false}},"time":{"created":"2021-02-24T08:24:51.780Z","0.6.1":"2021-02-24T08:24:51.966Z","modified":"2022-04-04T10:55:42.800Z","0.6.1-beta.1":"2021-02-24T08:35:16.347Z","0.6.1-beta.2":"2021-02-24T11:22:03.224Z","0.6.1-beta.3":"2021-02-24T11:22:26.098Z"},"maintainers":[{"name":"aaronlcj","email":"npm@aaronlcjones.com"}],"description":"Get data from last.fm as a React hook.","keywords":["react","react-hook","hook","music","spotify","last.fm","lastfm","use-hook"],"repository":{"type":"git","url":"git://github.com/aaronlcj/use-last-fm.git"},"author":{"name":"Aaron Jones","email":"npm@aaronlcjones.com"},"license":"MIT","readme":"![use-last-fm](docs/use-last-fm.jpg)\n\n![CI Status](https://github.com/webmail/use-last-fm/workflows/CI/badge.svg)\n\nStream your currently playing song through last.fm as a React hook.\nForked from Alistair Smith - aliii\n# Features\n\n- 📦 **Tiny**: `use-last-fm` weighs in at **less than** 700 bytes minified and gzipped.\n- 🌳 **Universal**: we dist esm and cjs modules.\n- 👨‍💻 **Developer friendly**: Helpful development messages that are stripped away in production\n- ⌨️ **Strongly typed**: `use-last-fm` is written in TypeScript and encourages good practices this way\n\n## Installation\n\n##### With NPM\n\n> `npm i --save @aaronlcj/use-last-fm`\n\n##### Or, with yarn:\n\n> `yarn add @aaronlcj/use-last-fm`\n\n## Usage\n\n```tsx\nimport { useLastFM } from 'use-last-fm';\n\nconst CurrentlyPlaying = () => {\n  const lastFM = useLastFM({method: {type: 'user', node: 'recentlyPlayed'}, param: 'aabbccsmith'}, '[add api token here]');\n\n  if (lastFM.status !== 'playing') {\n    return <p>Not listening to anything</p>;\n  }\n\n  return (\n    <p>\n      Listening to {lastFM.song.name} by {lastFM.song.artist}\n    </p>\n  );\n};\n```\n\nA full example can be seen in the [examples](https://github.com/aaronlcj/use-last-fm/tree/master/example) folder\n","readmeFilename":"README.md"}