{"_id":"react-use-localstorage","_rev":"49-52186340fc3d81c16bf885cd8b73dd66","name":"react-use-localstorage","dist-tags":{"latest":"3.5.3","canary":"3.0.1-alpha.50","alpha":"3.5.2-alpha.0"},"versions":{"0.0.1":{"name":"react-use-localstorage","version":"0.0.1","description":"Use Local Storage with React hooks","main":"dist/index.js","scripts":{"build":"babel src -d dist","prepare":"npm run build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@babel/cli":"^7.1.2","@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","babel-preset-minify":"^0.5.0"},"peerDependencies":{"react":"^16.7.0-0"},"author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","gitHead":"e1b3d5630448a157c99f41bca09bc6e1cfbb5d65","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@0.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.1.0","_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"dist":{"integrity":"sha512-s+Bo7NFu49ZmdvVBkWMRjj3gryWZTLfSWtBXQDtie9v2puK0/STexxY2jNhAaEH9QhW+yO7Y7sSB570cBuE6mQ==","shasum":"f5a1d7195d5d49aa9b34bf0fdffaf7355affe111","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-0.0.1.tgz","fileCount":4,"unpackedSize":1980,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0lfjCRA9TVsSAnZWagAAztUP/0JznsjLF62HkvdSZbHe\nDCvPrYiDIYUZRreRVaZmYwYEXArx/usAEl3VHSF6JDlMKdMYRdshMjZZx5Tp\nT2AgYHdIp+reh3+YtZX6/FfiO0n0IjqufjSSRdZ1KaQeKQDVGAU2XW5he9Id\nK+6WfFGp6LpyPs6nqIF0aGkJs/zRr6C95vozRBvMJGQ+vq5PsZVf/+BINX5n\nDzNZg3pmyhqV786vV+n3HRioWps/4H5vBpuT0mdcL/FYLVt7RhvtuIne047J\nTz6VtzIrtSdkObDBKRFGkelPyxrEMWJGw25Nvz4O6N24F21BjL0tC0I/Q4fl\nvb8ZqYSE7MYkqYzzODcfLSKh4+2hc35EivOsa+pLqWNVGdqXBVmPln8Bi8oL\nFDC6sX+uRT1T5j/K7WPCq5OjLESrrqnoFTfj+XAhV8qgZY2JmTlcY5Og0dAS\nwUizNzJEj1D9CsJ/GrmB9z/XplMh2AhjO4bMMQ00+72i8uwTzR5KbF8rueMD\nlMrvZXHOtCTEM3q9kEcP7IdryB+gq3lGFpiKM+ZBTfyg3QXl2LV6DXKj/B+x\njv5PBu6uh3NT1gx6V+VlDRaox34RNlhyrfgvWpog3Fvd/T4Yfsd93dSM0ZlK\nB3NsYl72MU8XYRE4FahWEcMjlPRzSm6iUEM+nL7MIP+YvEqiv0WhIF/tXbqH\niue4\r\n=cN4E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDt8rpIkNCTFJg0RD43x56CIpcTGfJKacmRn728vcLpcAiEA/xGVw+CuT3Jhbl10w0q9b731WWU60c6nSwFvca4x+6k="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_0.0.1_1540511715077_0.47504490099895835"},"_hasShrinkwrap":false},"0.0.2":{"name":"react-use-localstorage","version":"0.0.2","description":"Use Local Storage with React hooks","main":"dist/index.js","scripts":{"build":"babel src -d dist","prepare":"npm run build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@babel/cli":"^7.1.2","@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","babel-preset-minify":"^0.5.0"},"peerDependencies":{"react":"^16.7.0-0"},"author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","gitHead":"7a6c92a5c8fdaa44947d65ea907dce157b84fbb4","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@0.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.1.0","_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"dist":{"integrity":"sha512-9pNn3Y3ZWSTfvUyucan5dJafy5UbFY83yZoiSm1xJh0jxw6APMjOQ6eFSWQDfss2c0vl4j1JWAQX1256+8o/4g==","shasum":"69dff7f285ca864c1cbeabfaac6399efe093890c","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-0.0.2.tgz","fileCount":7,"unpackedSize":37199,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0lo/CRA9TVsSAnZWagAAACkP/2JY5AOMylqsQovpadYj\n7hcc4ofNigXexBSvbUbAmpACjl94iT8pgNt0+4MP68lvc0AlYsSxLbjgROe4\nGsnYj+xyBwxffMEF7jZiYjK6rRWQ2CJp25TTWV5hfFdbD6mIucbLqymYNnlO\nxclP/hqvy8FIZGydhaab9OjtSMkSklrwl7xtHA2zk2h02ncjluSeg9s+xmMw\nUeKON/DjIKAPmgYpprwWYBR8ZERKCznIsN+w3HAo7yRnMoaKAlOfYVZ8zZUf\nM6VPKecA+g0LpyWSaaOWQwmaF8WRERd1NliOPyACOR1iqmAczEkafRn4yqj+\nJZqoA+KCcGlbItd4whZo+I+FqhLfQVL5KD/hnuMYvuAXO4S40Dv+Z/Jf+oSI\nFIPB+ITCx4EW/E7XyaMTKk5/bFVcj5VGizXOKTzXHB6hSMS4GyWRoPDAtCx1\nMpOdX/85TuxeEris1FeWvF/H1gthst6xXq+qs0uyLeLqJ0sjR9r8BzoaVTcO\noeE7YaCqd9F0tbxsN02p/NMMyYw5CAmNM+LPplvKz7Pnlk1aauae0GlCj3HP\nZ6E6elbwA9XAzqANqhl6qyJEu3DqAupJq5uhxdXmqcG9wh5mywI+c4l6pwmz\nC/9BfspB+nR06RnqZzNC9WLIYFwtZ5ZdtyJTbVRVWAL+5XLPvRWqob1xxMDV\n1JCb\r\n=Ye9D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDshsr4DhvzUBpTQ7VB0Df3XYR0L4eWXT6ES33EPUwYbQIgPluSv7CW3lJaaIDoA1I2krTXqrzYPtIY0kZrR78RouY="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_0.0.2_1540512319240_0.33950242817499543"},"_hasShrinkwrap":false},"0.0.3":{"name":"react-use-localstorage","version":"0.0.3","description":"Use Local Storage with React hooks","main":"dist/index.js","scripts":{"build":"babel src -d dist","prepare":"npm run build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@babel/cli":"^7.1.2","@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","babel-preset-minify":"^0.5.0"},"peerDependencies":{"react":"^16.7.0-0"},"author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","gitHead":"2c16ef648dcb6623fd6c374b528395c89e2645a5","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@0.0.3","_npmVersion":"6.4.1","_nodeVersion":"10.1.0","_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"dist":{"integrity":"sha512-b4nre513zG+5K8NFNxjQ6JdFCJ9fCKG/0GDoZC4I375iFryqre1jUlhdKTzvgptGh+drEAZTcD+hMIA2uCHMzg==","shasum":"e0098b57c162bf8a7c18a8e8985991a1de6d4447","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-0.0.3.tgz","fileCount":7,"unpackedSize":37349,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0ltPCRA9TVsSAnZWagAANyUP/A+CsKNOigrw+0q0GWMg\n+piM9IUtBBirIW7Dff2KTkKOJkn1+h2mE+jj6USwFzxeTgZDVIuD1oAe/6bx\nuD5Jv3pkyP3q4RamyLzzsiWmb7iJ9eaSO75/B23jdwUy6JbEgFmiNswLkw/z\n3pLBXbY/AcAkbPL/qyF9A7W3lKKmnVSqi/L8v+6bacsyYIAIlbAo2m2zmnPr\nrxEWbuMZ7ucod+9ZpaarKdZMqCDI53TMqO8pQbzsBJkXJ3Q+TfDUXwjJsey2\n0eQK7ZeG9SYWrGScBKLrYuWz78tRpLFCB++gz9Za0CrqlMCmE4CLPXPV6xjq\no98xR0GXV4YA/Wxm/0KKLsgadDN5UcPMk+xjJ8REJH66UJXLrvf0pqIAyiI+\nSWW66naXeSfrq6Z/87PnZvzPlViN94toFsxOMABfa3Si/Te8FXQW2jLDl1ji\ny3QAZe+QO6vT1cc/MyZ0Le/kLuWzZCeQbnp66g4ltTSakiI8CXTmoXvHnLTe\nZ0FEYwprq7rJpGWJ3/wmDxkrc6QJI/dJtY8dmy4I/J4JVy+UqhKi0TL56cYO\ne1/9kkaqxsmIyEMSCwU+JyHhsTL4y/LDT9qPv6uR5Pl+OCClcMmG9UM2MpgI\nWDcsqdCygi5KdNFif3SU8xy3nzx056Y0CAic2oLPqck0RXoiLOmap9/dZxu7\nLwCF\r\n=tD2Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICcenxdmWSdzp2e99r4WE/go+pWlVbTV4LUOF3Prlx6MAiEAiu+EdqNz6Jis9LkGnzRIZDfYAoFp8Gz9Qdh4Ld9WuME="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_0.0.3_1540512590945_0.3396561575343786"},"_hasShrinkwrap":false},"0.0.4":{"name":"react-use-localstorage","version":"0.0.4","description":"Use Local Storage with React hooks","main":"dist/index.js","scripts":{"build":"babel src -d dist","prepare":"npm run build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@babel/cli":"^7.1.2","@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","babel-preset-minify":"^0.5.0"},"peerDependencies":{"react":"^16.7.0-0"},"author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","gitHead":"ded1796c128af10a45fbc46e87d97338c387b33f","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@0.0.4","_npmVersion":"6.4.1","_nodeVersion":"10.1.0","_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"dist":{"integrity":"sha512-2uiO6oF3GLEFQxMov+caUlPZ5C0rpAO7xwM/4tRASoBUJy91eaCnsBHvJfZrJmspeZVpE0UEXWoJVE9/Uk9TXA==","shasum":"b4448ad622b02315e7dda0d6c519d122dbce4c2f","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-0.0.4.tgz","fileCount":4,"unpackedSize":3823,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0lzcCRA9TVsSAnZWagAAENIP/iEVCRAV4nHxN9n39DGq\nyrA3D3EeU5gQ1F16B8RHQDIjo8IVCxhM3BMJS07bMipfHRyO1/QxlnE6jgpw\n0jEDR7iNH9DeBP1Y41rWAeYD4bYHJzxDw6hTUw3bfYA7EkajYcK+79urM72v\ncJlRgPFGF0Dn1q0JwBdVi3qdNLJaRyFXDEK+PKymRyJ71zDyvAHYWONg1peo\n+VuGUu9EXSvqgzgNYK5pMnd6+f518H9NAyR2AJVRhouusXq3cELnshYZVQzR\nWZh3udxF9AvaBxwTt++PPtWS4lVhtU2SPlt7ktCJWv2bjUZSRIegSH9KE2U4\nlboUBl6s4Yo1iI7t+kgra18MByWoXNXkVILNVhgBacK6Y46r1vQq5KYDCL+i\n0dKNvoF/40hkK1YN3dVich7xXNesTPnWglharf5QMXpF/X0+6cKcubtn6r+O\nTdOrEh/g2fRtqRknpo2sFKxHYxY3G/xmN3FZrcW+PRR72wDXRbJJk/gQjlGp\nW1Qjw+dbsMxorBkC/EwnkcRGc4NH5B/XS0YeALwY/0pEqxWL9il5L84M6DZs\nlyjUv32BxThlaNLbe0veq5FP5bJHdfZpaHPEOTovlUleb2DlunjMo5UHeXVk\nNIwdw+esJw6CSh8GgHZDqQQ+A/F0OU5QojvR+7H8M/1oKDwSwzntsrWYxaub\nxjvP\r\n=ud8d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHaP9c1TqACe0f2rpiCgGLKjMVJiuE7p2YVJgjK99p9sAiEAlx0g0qAhXeVXsDXyeGUBoymdk9JRruMMxa/5JLBzKOk="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_0.0.4_1540512987388_0.6789425779417273"},"_hasShrinkwrap":false},"0.0.5":{"name":"react-use-localstorage","version":"0.0.5","description":"Use Local Storage with React hooks","main":"dist/index.js","scripts":{"build":"babel src -d dist","prepare":"npm run build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@babel/cli":"^7.1.2","@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","babel-preset-minify":"^0.5.0"},"peerDependencies":{"react":"^16.7.0-0"},"author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","gitHead":"5e33445c8959855a1f02df37932c7a77de4470b6","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@0.0.5","_npmVersion":"6.4.1","_nodeVersion":"10.1.0","_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"dist":{"integrity":"sha512-C5R/y+yGikeEfnkRxYq+YT9s3yAVW9vQaW8LJGtvjEX0kYe14CYQ1NruuWlEyfGwQH1PQss38P+qI5FfRmO3jA==","shasum":"e40858ac3bf4e83be15df663a502cfafa8fdd797","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-0.0.5.tgz","fileCount":4,"unpackedSize":3823,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0mFbCRA9TVsSAnZWagAAbTIP/1OUtjPBZR6B3PfFvVZi\nNyu1Tyw4Y9d0em4erUESa3Yoo8x32lDaTOgkr7ObLy1M57HLSOtJ62QBjt34\nyOA2j0eXnTt2NpHRD1KTvuzrTWQCvCgukYgOmlpTCyXnR7Td/ifo0/OYwZRA\nKn4SD6CF6d0xO03FZv+T5KtAIrm3I4usXAt+gZqP8NS6PEJenQ6zfGaAch3X\nAGqNtCQNsiyaWVIt7jGQgROE+DANaoTo2q5fJNTusSGYV4KA0G6kcVvU4lTw\n6gcqZpmlrLWcMVZQwut7BgJW5E8o6ANcBvTbdl5DKP/UgyfDMdVx4/5cRbPi\n15o9djGuwokGhsZs9OXkIj0jjAVMKqWLRrVasSQBQxX1wNoTqVmhAnQbyF5T\nUg5oyYJKZZn7YiJRdoh0U79tRI9A5u/I4YhpvHoF+srjpjET7k7/xBjhimrk\nMcUBGq6aLhb3FSAWIs1jc29oiClkjsSr+gkgXkQPj6ipERCl/nSJr9VBmGUd\n2Uc1x5DhLkAL6eoF/IFMi4qKc0dvKXKziru5nIJ+34HmnJsBJmboJFutH7hX\nJRnawZ33iG+qpUScH3IDwdbVSQLuJdPqeOUZ/6srwC//V2cscmNB8G6aW0/m\nWFiQ31BkO/ki7AerV5B6OW4/5fOlZgiSiqIfNBiitrAttHHNpibFONp9Qs2W\nfOiy\r\n=LnsB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF+xEuhr9kxBV0ECDC0745o5hHDxVPtgLEJAxi850WSuAiEAqscVBjEX+7hDacpGoP4chMirzqiJV1G7ipLjWZuX034="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_0.0.5_1540514138857_0.39184692387357734"},"_hasShrinkwrap":false},"0.0.6":{"name":"react-use-localstorage","version":"0.0.6","description":"Use Local Storage with React hooks","main":"dist/index.js","scripts":{"build":"tsc && babel temp -d dist","prepare":"npm run build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@babel/cli":"^7.1.2","@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","@types/react":"^16.7.20","babel-preset-minify":"^0.5.0","react":"^16.8.0-alpha.1"},"peerDependencies":{"react":"^16.8.0-alpha.1"},"author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","gitHead":"b9196716cd54e9f90b67c173bd7c4cefaf943681","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@0.0.6","_nodeVersion":"11.6.0","_npmVersion":"6.6.0-next.1","dist":{"integrity":"sha512-0WmtAEN4wsO2RzAmtCI3rZ+XNw+LW94oDt8Gu6O7WVmPtTOt3b4i/mmSc3PxzopKIqIUKYtvCnopPRJbJMMu8Q==","shasum":"f840bafbf9ea730f949f0f71594609d127945504","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-0.0.6.tgz","fileCount":8,"unpackedSize":9613,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcP84dCRA9TVsSAnZWagAAwbgQAIA9BXqzb6uD5CI6iTVu\n0hjNbM4a3oYvOmMlZ9Z+0F+edEIo74odXzkxfQY20g0peGZgobWkCPgM5ZQj\nItlrBxu5mt5PbR8SIh8qAxx40BaRZbaeAsWlmOQaaPoKJGWyGKluQdeSqPhH\nKWrlzRZWdSBmIBPBSg9rI0Us2Ag/tGsCSb+4uTcZCRgQno1GAVggHdxI9+DD\nWaiOcdnc/4ehgCLl1gKSZaipPmb9am/Cfxj6eO0T0rLK9l9Y0T3QOJYXXw0c\najuW03eZGwFtKzWxJjDYHvraveu+0EL+8stp+tgAomAxZHV5eZEpiZDT2E6L\nnh0ZU3DtnZMjAerZGt2BhyoxL57Nx9g0RE4Z7qt5uOiKpLYMR+h+Ia/8r5pi\nQR8R+8e02TlJt+1cXcFrkVDHCdWrr79aEq+Q2LPvdD/DPaxqFLkOpl8QqX4A\nXe+HaE7ONUQ8mg+w6M942pMySI+9wcX0fVUFyiltllsQMLFBTKmLDrmjyxi/\nn3YOPUxM6lfEHY65q2ExFYX7mYO+Tmi2sqbjptZ04TLQZcBheVCiOJRmd45e\nbWGUN7iaZxuqEkz2nsE5VHT+HKqU2++Xl5MqnWhbONyVbIcjJEMR39Meerd/\ndfclPBu0sNaXtePzV14vw5jRsMYdIzhtlKCnMbhtCG2Y1rCIWnVrhfEKXY5d\nF8Jr\r\n=+EAy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCG1cX9srZsVd+hlQQgKde1ZNnqXQkdPLHFVInYzfTDWQIgFkH5i8H/YGLLrQU1ZYBuWPQazL2HcO/fOiruKFOoiIg="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_0.0.6_1547685404097_0.18485332088718387"},"_hasShrinkwrap":false},"0.0.7":{"name":"react-use-localstorage","version":"0.0.7","description":"Use Local Storage with React hooks","main":"dist/index.js","scripts":{"build":"tsc && babel temp -d dist","prepare":"npm run build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@babel/cli":"^7.1.2","@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","@types/react":"^16.7.20","babel-preset-minify":"^0.5.0","react":"^16.8.0-alpha.1"},"peerDependencies":{"react":"^16.8.0-alpha.1"},"author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","gitHead":"8eb5e6c81367d45335b5e8f13af0603fa12324a5","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@0.0.7","_nodeVersion":"11.6.0","_npmVersion":"6.6.0-next.1","dist":{"integrity":"sha512-oE/M22pUflOBB7dYeauDJHStvZXOwAxlrXADMcsinx2ASDPd656jgFtdGtk5U7j9+XeljC6Ldh6RUWcIwLZW/Q==","shasum":"c888f80a46351b45dda5ee2cc621a3f3f8f76b9e","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-0.0.7.tgz","fileCount":6,"unpackedSize":8873,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcP87hCRA9TVsSAnZWagAAMmsP/jgXHfAVLO1i9a5jboPR\nGDABGbg+dyjlld9vYQDEDo37uy6hfKJWyt8sqef1C515PPtS6vqiBAt95t7V\nuV5pz3+3/3Syk1WEfA3vQHH27UT1UVCbUX4ICGGtwmm9X9MbtlW+1eo8N9Ep\n/bOshX4M5ZMphU4Z6Xo1ZJTMByklewjbtQVk87FBU9ey9WSIojI4o6EXIHgY\nxrH5Xrviyf9Pp+Q3yp5qqU5FEpI1j3mdxcncmmzAtmdT/EiNs1D/eTKltXso\nEaO8/lIGcWmYf2ozC+gfspOBbrXWCdr/GqlUZCP34lSB8fAPEhidksuygIVZ\nfVvI+tJ453zpvt1AeI+iaNiJFVQWFqsyeW4egyYXY1NLLJF9cYQXKMefy8Z4\n9LG90BpClhuyUVEPaoSKhn/cRlQsy8/hlZNp1AWxBtL49cKIzMO+8EdRbAfC\nSkhSOEvRHf0eJCdXKk5pgQ7Ufc28ZJFICb4bahV1XVh7XcKu4xznjlwfkcID\nMhWrpNiq0sODPnUivIlNjz9hrfk5LI9uSauyOAJqpitTQVSTLiXj5czsCE/c\nIfdcYoLipYE/0cdF2YntDfxrv77Ktx4QpLZ3cpZObpXMCVbc0RAkXpGpC0bo\nXBxSx++Gc+aZ4QdoHvpfTPhbIIWLKrzZ1TjiAz738KuSHSS4hBJpW3ig9BVp\nVJOO\r\n=Sz2R\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRcKNhrSYvuGwirTQqUNPUhABYacBfQUiJG9Jvi+mMdQIgQj8AimiU2czGWJS8lM/0yW77yFxT5urSSwnaZJGt0pk="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_0.0.7_1547685601278_0.802826366955518"},"_hasShrinkwrap":false},"0.0.8":{"name":"react-use-localstorage","version":"0.0.8","description":"Use Local Storage with React hooks","main":"dist/index.js","scripts":{"build":"tsc && babel temp -d dist","prepare":"npm run build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@babel/cli":"^7.1.2","@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","@types/react":"^16.7.20","babel-preset-minify":"^0.5.0","react":"^16.8.0-alpha.1"},"peerDependencies":{"react":"^16.8.0-alpha.1"},"author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","gitHead":"0cdf5cc19728452ee1a81a2cbae213c4cd15e26c","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@0.0.8","_nodeVersion":"11.6.0","_npmVersion":"6.6.0-next.1","dist":{"integrity":"sha512-qx5RfGSFAqWx3/61B2ZkcX7xWRHDs49KWN5NOrlfG9LkzD2PrMVnlQuPqPhsExh4r6iQ7to7DxU1NRmvedMFfw==","shasum":"10d026a1e536995c53a0e6ff0c483abbb8a18a03","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-0.0.8.tgz","fileCount":6,"unpackedSize":8873,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcP9DYCRA9TVsSAnZWagAAAM8P/0LoQVFlyyWnrtNTTdCY\nN7jgnuAr1FNhKdMWEucYG1HIVMveVMQrbF+FsuvyLKqr2eeVF5Kz71KgZFjI\nPeEIpcnSLEX4aP5W8lDrNTOE1JnpOX7aaxpLs3bU3Pw3sMg39nNgaczOykaK\nsLu92r2EU8vhNvyP+q6pxW+/JSJnfz+5KGqbXUsqyRE55+FUQAS9T3gLMOV+\n8IUkfGJmS/uVSpdCmVCFMYUzGj+KOwXW/n5iveI1C4SqP1FKqrOIQp4wjJRV\nNGDSrlkDOMgHmAMIeSLhSjYY9G1phL3hhzef4qXEFwj3TFO8BRtoSnTnRNhL\nvEqV0xgWQWG2J+kJQELQbnnC5atxbB+gvEaJgEDMGGR8ajg65jkxhNFFXaU6\nI8P0zCC76UqhiGvfmVfqL0Lktd4jL66KLNtj4s19KQlYZB1RK4cdKArPZDlE\nz4giFsoeOlom0FMltmERGr+0DTGFr9GfZFi0iqnP44FB9YzMTwOu/lni+gBR\naF/a7inLEaUEeD8mTCnod5xLNSymstuOIl752Y5dbkEY4eUhyix5F1AO/q+D\nd1FBjyo0iESLDF9XIRVI+AH+bBCx7VZPh/93EOxYadmPtU7To6nE7GWjp4gz\nvjUvDmR0U1NgRHt2ngOuCFGMcrFEqzN5NtxeCMKA+1y3+cFfy96Q9aKiwAWl\nGuqW\r\n=CtXT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC04rINIr0PZMF5H/bUfzJCyf67vjJ+J8znWdVdbyZTaAIgZ4aO1lP0om2hDJzX/v3z87XJgYH0GlVpr7Ya9ABRpk8="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_0.0.8_1547686104225_0.6797635228006582"},"_hasShrinkwrap":false},"0.0.9":{"name":"react-use-localstorage","version":"0.0.9","description":"Use Local Storage with React hooks","main":"dist/index.js","scripts":{"build":"tsc && babel temp -d dist","prepare":"npm run build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@babel/cli":"^7.1.2","@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","@types/react":"^16.7.20","babel-preset-minify":"^0.5.0","react":"^16.8.0-alpha.1"},"peerDependencies":{"react":"^16.8.0-alpha.1"},"author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","gitHead":"f218ec410e8fc30912343b69c61376a31e719231","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@0.0.9","_nodeVersion":"11.6.0","_npmVersion":"6.6.0-next.1","dist":{"integrity":"sha512-v1FcyVbatwR2K3NiMUMzA58Zr8toyQxwkayd/6Dr5fNAHZ+NjVk1Bzzo3QsZ85fPJtF0NoKlgQCbt8f2kIH44w==","shasum":"5072ed0b0efc68b6bb5847eae988fff7a971215d","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-0.0.9.tgz","fileCount":6,"unpackedSize":3803,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcP9FQCRA9TVsSAnZWagAAkKUP/1NJ9YSv2Hu3+Dt4Xk4k\n/460XztvZxYvxHUz9+xE6ymaXhbxQZVUXa+a8UgXua53hXUKdCqA5HFl007M\n7H3jdAC2kOd5Rk7KekRRrpKtGwdrrOQ+mAJmRl8BCp+R0c/jBXBt48wNZJPo\nPtsnLSIex4dDqRP8VGBPAFXa32RGyRsebfw/SgHQWGRmCSavL4+niuzzTgqN\nD1e/hrKPOvyF8hleLepDV565yWVQujKXX6NmgscjL+wLkG7poKCIev7fV1UT\n5Q0SKS/OZrquHLyvWFqQgxmeJd82ZqeyYFrHa+N+Yt4y6kpd5Q4ZEXUHocJa\nMN44ddqKjMJ8IdP+8/Zz1GzREQUP6sih+zFjmKLRq53agVTfaeCj9lvexCB0\nuK9RsJxEk5Hhd83LCSkkFCr9F3nwhmkGQHu6FRJTikNneLNxSZFyzM+Frc21\nMIgUnfFKNQaw+Fwki1NDrHlfEhArlIgw2k4XsqJNX18flfRydAOrgonflb87\n2eOYKJzKzJ9FtV9OcRjGzU63BK7ZMdCZU3iK3E8hUFT6WcUFPEoSvxjBefIK\nBd1jAKIK+klaYee6egq1gzI1KV8jkwWzezpVYyY4KrISU6Y+5DfXWnceSOjo\nwG0rizkQ2IxQIV9aensc9GEmmXFa4GQLodS037DWlMU9BO/DAATRCz5a2Occ\nu6ZJ\r\n=1N0g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRmnd/l8WXO68AWH985wG5ixtsNN98Xxt1IG4YxYtuVgIgO91tHBAejd1xP3CI1mpdWDOAEKrTwRzFzTfddVdcxz0="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_0.0.9_1547686224351_0.2700288844458636"},"_hasShrinkwrap":false},"0.0.10":{"name":"react-use-localstorage","version":"0.0.10","description":"Use Local Storage with React hooks","main":"dist/index.js","scripts":{"build":"tsc && babel temp -d dist","prepare":"npm run build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@babel/cli":"^7.1.2","@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","@types/react":"^16.7.20","babel-preset-minify":"^0.5.0","react":"^16.8.0-alpha.1"},"peerDependencies":{"react":"^16.8.0-alpha.1"},"author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","gitHead":"0ed9a8615f3cb88d295d7de196b4b0e822793858","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@0.0.10","_nodeVersion":"11.6.0","_npmVersion":"6.6.0-next.1","dist":{"integrity":"sha512-mOskG8kMNyC64Jq4eRXRm1SihsshzQcpg63VoxE4opeoGplQ+ik/GHywNuHdokEsCRDKH1isKhfa7BiUi2tfQg==","shasum":"9231eb856e8336e3394096b5e14f9e7d95f6755e","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-0.0.10.tgz","fileCount":6,"unpackedSize":4223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcP9SbCRA9TVsSAnZWagAAw3cP/j+kckx8BZCpAe6R7ypg\nr0Tzx0Ksc27PRkG53xDQRq2gzdpKNLk6JD8iYVSmj9nVjwmgiD4rt3ltsnUz\nmixjd7xzc4xU+sFB2AxYCEtj8P34xoRYIx9L0y1iJ5UPSEzkSLRX1QoXLgFX\npuhyZxu1r9v/BBqRg+mEAKjsf5sb8VVwDIZxvxcdWEcD+GAwMCuLYZImyNeG\nxV6+5qi5xFJzUcDuuJ/zk2GYlsB9dq8dun3ZF6DhGVtek/7jNjHo2y4voMkR\ntrLZXQ0ygaPlTs92uh6a8x0NnNWED4TlWkaao+u/xE1H7UaBfld2eLZ6ytQ2\n9ki1Zfwm4bfmkrpkHucI5Xv1qMYSxgR3TzHpMT2jwJVr2JL5EYUrHVLvzsxR\nepeTKCtBoNrFPZd+ZYqXTyHaJkQoiaLBZyd/DOgfVXRURQhvPRPtEoNng3y0\n0ZlWtThBLQP0w7B3i/quvFKsOgPYpeuu0F3MO2CIGDpmg8QrVmfM+iSUPF7E\nzZeZbdpejbnxPPCwUjF9ah/L1/DoJa064p1qArTBzDLseoPweL8PDPp+4sDm\nuDfjJhe5BRG1+8AwK8Zgqp6wfg9OV67SnPdmsumeCjDYnvbrWiK+a9LHNFGK\n5RnDu/E0llL27GYRuDLUC7N9qyUFiBqgN33SvSFI804HUYkYIu7CB0+twNwt\nUykF\r\n=+vfX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHPs+kUjRqOCoQKYusGGhRCFktPPr4A9jmQ3KMdD2KskAiAH3BRZc4Cfnn9YggmWkwqy6bMxw4wneoZ/AnoFNBMD1Q=="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_0.0.10_1547687067282_0.23775466630101905"},"_hasShrinkwrap":false},"1.0.0":{"name":"react-use-localstorage","version":"1.0.0","description":"Use Local Storage with React hooks","main":"dist/index.js","scripts":{"build":"tsc && babel temp -d dist","prepare":"npm run build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@babel/cli":"^7.1.2","@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","@types/react":"^16.7.20","babel-preset-minify":"^0.5.0","react":"^16.8.0"},"peerDependencies":{"react":"^16.8.0-alpha.1"},"author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","gitHead":"65dc7fcde3eda84dc4735df9d0f85a793fb415d3","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@1.0.0","_nodeVersion":"11.6.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-oIwwsTaSkBJ45VC7XBUaDJZNVcFt0+nldR7zy+vODmwICDiKAFKpz6Uq9RDjfxGwLh5ee1whBCJtIMhe7fzwhg==","shasum":"1ce90db46b78eefb2b5dd8b72f0d00fe8f864327","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-1.0.0.tgz","fileCount":6,"unpackedSize":4214,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWvGSCRA9TVsSAnZWagAATOYP/0G6dOuMKD6qOy+e79eJ\n8pODqlaFXm5TVX4bTF/zeHts2nSXJ/aZ+9GPjQWno/wlhf89X922UkhWLVYd\n1JOebV73Jw20M9eaQiLhdtkoqB+kaV5GMrkCEUE0MBbraP5+XTNSokCtaR8L\nRsSHwTDLPDZqjLe2BF49isY5xPAhSZGa7c/skeT+8tJxfbsm9XmV1tk4Nw1K\nnPKJ+kBCeHVFMDZxIYWGcjMLEnqTTFerE3kvkbkTlCZfuDtPEh3AMfuNED0G\nno+UFFi+RO1MfRGGU7vP2unl9ZeG7Bw16TyAbcmKdKUm0pzzPL4eZfkKZpWN\n8eoD7GUZmdEq3hO+bdD5bDxP39RSnAANxAxpehvH40OBvdZ9JYBZpy+VXy8d\nmAAFVe2SIrQUwAy+udNE50wXmdhf+IGodYozIOQRLfMgsy+USCyfeN+NdX7X\n3p3trAxZGqbk2HDWzvkMIIQseBTlNGcw5xqVQIXv3JYTLG+MnuEeIYGe9+il\nCDx3igEirBLgavyNza2/F+OLr0EVsuczvvAy3phuEQOUqP8GKpMi8ZulRnDs\n/ZBf9GKTTh+kCo0rZ8ZeSn0UevPsH/hqOfIt4pZ3MU0DPwdC3+WEBE8O8VYs\nFb0NZQSm1tLLjhDiF99Xu+HWCJPTQ5JgIcxmw+8NP6qPGBx8YaDISlju8Vpx\nyPly\r\n=MYIG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCH3pGVDdbag0XrJX6inqSAV0V5BSLVUevdIkfmTGGlAcCIQCNCAQ6bsRgFtcCqzXSAZTGYluLP2bhrAhHqXy/q9yPqw=="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_1.0.0_1549463953669_0.621668921673245"},"_hasShrinkwrap":false},"1.0.1":{"name":"react-use-localstorage","version":"1.0.1","description":"Use Local Storage with React hooks","main":"dist/index.js","scripts":{"build":"tsc && babel temp -d dist","prepare":"npm run build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@babel/cli":"^7.1.2","@babel/core":"^7.1.2","@babel/preset-env":"^7.1.0","@types/react":"^16.7.20","babel-preset-minify":"^0.5.0","react":"^16.8.0"},"peerDependencies":{"react":"^16.8.0"},"author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","gitHead":"7d9d42a53c25de4a1779ce1989564f789a715b95","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@1.0.1","_nodeVersion":"11.6.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-RLaSXshwzeTKeKHl3pS/aqIuNc2KF/MtvW4w4lh2gkrOkkP3w+PF5TCoz379AjPmrozfBbAaNSoHfRoKEGISHQ==","shasum":"17904c0ff34e53b61ed989b44f5212934ebd67f1","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-1.0.1.tgz","fileCount":6,"unpackedSize":4238,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWvKcCRA9TVsSAnZWagAAbkkP/R0o9lXXFm61jEpPtOOo\nzI6/F3dCzd8tx1maiIcEXKbiMWg8nmrK55USwDL31pGNlToTJmwv+WMz97YD\nWIdL/FoO/vgVG1ZO0jkOSZ784h5KMmcjth6g8yLdVyv+S+MkoBRchSPKUekO\nbyUwdoi/6Vbq3wgUwFxv1P76l2Sfy6h9YS0ca3vaaJCHbTpZDy7nxHvgFwzz\nAore2h+9jwPITby8QPO/qDZGNAbEINS2lZ4uurOYcJFrSP5uSeWdpy97ZjHY\nqO0+ghRBt0rQBT9cGo7ibVV4KqAVRfqrfQG2dk/pwOHs+M71oaD9xcbIe6Fz\nVA6FL161mhfpFRxY9gNAA0tvoxTzl3hxUNtOdL5goyiARj3dGTwz/P8VEbwx\njF6HIQU2sSoFnQHU3E6LsZFU0/Kc3jCloYxQRhyy8dXNzdf5J6BPAmB8gCsT\nWS3B+7ma5KYmFDaAs6DCumkH450UmRlovAk08CbRE0I3pBwdYuU2Dlg4xAtj\n/LlFIlQNVOOq4c4t6VYRKPf/ts13MQrYuDre8i9WonWI2o2xYEywIbRC5K5o\nUCLPIAjpSWHjOtSaDx5rMZ/kaSiC/xVp6dDRXz7ctSdf9GzgpTnUM0hM0CTs\nojtAOs6g6wxwXA9YhZWwJkxhhtgtlGDARwvxBuhc3jXS5S2Pyvfkx/0XXtzU\n62bU\r\n=FIEk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICNx6oeOdNvc1yrEx1p2ln9s5UAlL8QMctYg14xFuU8aAiEArXn2UJERzfgh/kAnzA3PNSw781mwphET7kniU2H0Xy4="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_1.0.1_1549464219629_0.3510916823150707"},"_hasShrinkwrap":false},"1.1.0":{"name":"react-use-localstorage","version":"1.1.0","description":"Use Local Storage with React hooks","main":"dist/index.js","scripts":{"build":"tsc && babel temp -d dist","prepare":"npm run build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.2.2","@babel/preset-env":"^7.3.1","@types/react":"^16.8.2","babel-preset-minify":"^0.5.0","react":"^16.8.0"},"peerDependencies":{"react":"^16.8.0"},"author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","gitHead":"544523a1e80618d55c4647ad450cffc246743445","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@1.1.0","_nodeVersion":"11.6.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-qZHvQLeCYIG0DgXrHdk7aPi9sHndQApUYtkdNhMkmBblivxnccEol4AFFyFqtjVpBMUkOg2zXwltxd+HrJMZ0w==","shasum":"3998922f91fd516368f75a3b5b1ac6b5c73f7ab6","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-1.1.0.tgz","fileCount":6,"unpackedSize":4237,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWvNSCRA9TVsSAnZWagAAH9QQAJaIl0zNabITdQLRjES9\nEchF5fq1ha6vCbF6RQBKtRrhOoI3VPxCz1qOsTr74QviU4tOCGOqECiCCiKy\nVHbOe8c1G6U9JtBWc0WpT+ZSGCr0wU3LnPiucUOX8AoC4EzRnK7rGRQ1YudI\nFeLiv/myFQzYQ3XRSpOz7HhSiVhRLuJti8HWf5341dXuiVMxn9rYtAPFlpiS\nyIDrq1sGZ/xF1tN30NzG2qu8zkmHoGSLLet8ui4eSVURhy8Etl5dLsq3PgCd\nbANDe/kij/RDIkpHVnVLYus42Xj3L6Uxz/GBR6w34WKpFu3QobbnQhQ9/PQF\n/aHNgQDfGfEspd8c/N2PnTmSZKgs1ITIkq48Oq32JdQR1mnc/U04vsqFp9dq\n8rqBPS8JMk9ZMngsoPGz1bb9U4DGNkgxSXyCdp92k+hj1D6aHIJH82Ah5OhI\niz0VIR6sYdTjEFfPc139zoz69NbdkPSADws5kOQtU5+iIciWrUqiLDwD8R4B\nUD4eg8gj6x63k5hcJQKDkbKk0g1KrJFYzWxUUL16SfkltFUqqgpvugoam9p2\nBwMK3FCEvrMbSyfkshe7cuLwzF2Pr6C8GzBp4fcA0qWovwV7hJ28f3ZSmQxV\nn+Uy1lVpE3AyCEKcGqB4qOhFoidSihJNTgigH8lwJ1L0w1JuQYs84m+cYgt5\n841a\r\n=w5Rx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFDxoClDFnrAn6xWWN5hKC/V7C9aeLE7E5nf9Zmd4lAQIgPlVD9FunBNcPZcdXYwYvMfzda8OcjM8pW2ZnfZPWWBA="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_1.1.0_1549464401973_0.782139741857828"},"_hasShrinkwrap":false},"2.0.0":{"name":"react-use-localstorage","version":"2.0.0","description":"Use Local Storage with React hooks","main":"dist/index.js","scripts":{"build":"tsc && babel temp -d dist","prepare":"npm run build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.2.2","@babel/preset-env":"^7.3.1","@types/react":"^16.8.2","babel-preset-minify":"^0.5.0","react":"^16.8.1"},"peerDependencies":{"react":"^16.8.1"},"author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","gitHead":"d1716005d162ddb3c505ddd1a3eb4de4d5ce645c","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@2.0.0","_nodeVersion":"11.6.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-1jxeI3qe5E2YdwKCwNwCFgamVoSuwNDgCLHyOl4or8H1Q4CjNdkOMenFxj6J75AEYjMjugChGOOy9A3iDR0q/A==","shasum":"0d0f3519859508d0ba8a494bb4ac9023cb89038f","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-2.0.0.tgz","fileCount":6,"unpackedSize":4474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYD/uCRA9TVsSAnZWagAAsj0P/AtUKBGhxpFFx9cKcprD\nTc9ZkmziTYRBKEEwoHynUryiAqRmCcyEypc1RenITw5Go2F7J7Bwk4X+glHY\nLrLimDdlTkjUqaYENyEK+hJRqTH+POig/6JSX6DLi9MK7FnzSw+vR+YioXYb\nQYGggVXmjVZ3bfNLMnHfLp35K3bcEkcntxrjo+EJD7e9+5QjI4fx7m/7je+3\nrSvfuJXrwo9zZvkj/xFpoeAxHPQP6MwQLgTuLblyRt3S/4v2/HxW5FaRH6/8\nW0Yg+y0MBlAPlrp75igZyUgXbc3u1cFArAEX6O9pOCTEd/YioPASzD1jqo6P\njquaWA3u30YTEpB96wCuIZAXxtbp8WBu5uCuROFGcDj7Xq8gW3nrl1eYESvY\nt3tl+6PAgxTSwkNnKxl7twEIfYIdXfDAUgGN13MCYPep01KFDfzoefHJLThN\ny3MOmHmmUzrLEA/YfYFT5UICtC8hLKEcCngjC2Hv1tRSDtgsWWcAWjoTlRga\nuFzz9XHwWnzpiZA87AUkBs1lScdWVjiOLsLTyZpkmvtgoKTrDF0QaO2ETX29\n1yw+ii04nV7sHzWhkW/jhuov92oojmY392iaaIsB+0sBXj6Hks8I0gUakrD5\nxCqtRTHBrV8uXBpjlp1SNm8m+9+ASFelCUno3FQpHunc8VgjroygWOXYCSnV\noYOS\r\n=q5sG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDURntlZZGs1xwKVAILqqhXNj200PRrR0lecz6RXcdf1QIgIyl4k6jeplM4/DOJ2QrYeuTDLxLWjHrug7py9ZjFKas="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_2.0.0_1549811693238_0.43776697063419423"},"_hasShrinkwrap":false},"2.1.1":{"name":"react-use-localstorage","version":"2.1.1","description":"Use Local Storage with React hooks","main":"dist/index.js","scripts":{"build":"tsc && babel temp -d dist","prepare":"npm run build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.2.2","@babel/preset-env":"^7.3.1","@types/react":"^16.8.2","babel-preset-minify":"^0.5.0","react":"^16.8.1"},"peerDependencies":{"react":"^16.8.1"},"author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","gitHead":"2795f8c3d69775834b3e8bca5c08398cd0801f91","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@2.1.1","_nodeVersion":"11.6.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-EHGkl2JrfrcbjhlBFLgcJ38qVRas+1lCV0sk3epXER+xtOlUEvUwmqZCsrXdawGC4m+GkGBTitdFy6A60mSWJg==","shasum":"ed275b6d4a3087d5a5c8e586872664232721585c","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-2.1.1.tgz","fileCount":6,"unpackedSize":4622,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYERBCRA9TVsSAnZWagAA/kIP+wVfJhol98YTKq7FNyS7\noudyJL/lMycbb+3ErDxpjzx/6Biwwxmz1q4ZbuH6yq83ScndLaT3GooGmmbr\nfJZgQniJ9dfGizOfx8rjFwhvkE3L7C0yMvqk6lxz0F6VqOO3PCICKkrKj1Rq\nj/sHq31cKuanOOkh6YeUDy9gTB9tVXZ0YzwkbNIrZsAC2oBs2gqdjm85W1mm\n2n7stm+WN+pxpn2coYjK4zUrnOI1QWxS5VyaNVN+AntwOKAIDfXyz8T0zZ5z\nWEznpnoZMj59vFAXVyouERRhbE4Oj2uBvcnuGeiRvrCrYgmm5GgSJUDw09AM\nnl0lgoAulf96ZFJORih7wTsoYXoUuGUDOkaOPlwCdtOr/amSVKNUNYKJ21YW\n09d4bkiJTk1JXwdyY6RxMGKhyH3m8FXrmF+hg7YdEpkRMrgju4zuK9b7lHxP\n602Aj69jKa+KRyDEfAK973Ia1aeHUzsxM0/D0gfLQU6P1yT7rutn8B+KohHi\n2C58prJPE/hwZ8GIxgEUVNuKuHI3lIvbMiJDs/DSPtPjae4qjATAhS9hZqnO\nvQm8JOGoCnUNfsaJ06A+xeNsFwf+i07kTHy5Uhyp3tHGthOGT70q3rO4g5in\naDQiiYga4rttdtV5zkuG0LBfDRkOVnz+gVKTRYhg6DKLj4ES0njg7ES6UydD\n7oBr\r\n=Noov\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDgn05WEr8nMYdZvhQlvDN+qQ3/kuGoNYTv2SKneUDCRAiEAhk383yb3u5DksUwntGdC7YlBHHdDi0LWcDh39DntvNc="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_2.1.1_1549812801225_0.6389711840118528"},"_hasShrinkwrap":false},"2.2.0":{"name":"react-use-localstorage","version":"2.2.0","description":"Use Local Storage with React hooks","main":"dist/index.js","scripts":{"build":"tsc && babel temp -d dist","prepare":"npm run build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.2.2","@babel/preset-env":"^7.3.1","@types/react":"^16.8.2","babel-preset-minify":"^0.5.0","react":"^16.8.1"},"peerDependencies":{"react":"^16.8.1"},"author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","gitHead":"5e4bedc328c8aab02d8ebf0db1b3b7831ac91957","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@2.2.0","_nodeVersion":"11.6.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-m3DWtnh80yUwVFgbJy5fe+Yq0/RZbBXi5j3FXpIoSxfW7ajKNj3/dV23Xyc+bDZKn5pxlny+3JBmBJdpIFAtYQ==","shasum":"48bf241b9e88e1978a0fd44f345d85669e29f44c","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-2.2.0.tgz","fileCount":6,"unpackedSize":4689,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYEXZCRA9TVsSAnZWagAAtwoP/ArGhdIcBX3HSZ5wPD8h\nagYRfJJDXTzOyGQXQybCYf9DwGD1cgqarPA+kyc3/hvUzDLoUxo6KourdOoO\nOpRJ7WkjM96X7mBN7uS+kHuFsRQTVSuCYZfpqconvr/oCpR4gwinVnE5CR66\niifLcP0Y685jGpM4YFNJ6M6186ZMUfGRlpsuKAA0FaRWAvxTENU283mXJwrS\nl2uqNTzNvvzRolhUVtIIv8yGfdOHsvMcJ1bbxjufICFYPZSrnpGzhfn406WC\ntxtg0+MXozmUmDU+jj3+54erf92B9UTmFU9PXteDO6qIZG0X/d+ptBssE44Y\n0xc2Mvn0BNOzg/xs1fIMUYUwIvLPIMFXw43h2kHgdmxqfBM5+zFNDoqZBoFM\nJgeU4WCIlQe+kpRjyriUV8X2cJVNPPXG1Vf6CYiVq1aa65sHvOwqq6cf45OW\n1euLPS+eYAVH9W7/wjPnBjzM+qS6uYSdw49HHMm+lzKxIxCcQ81TbojA9ryF\nVL8UpiCdmpQXCoVSm+TOzkoh4OGYLbyrOkuo9I3IXuK6yA0+xMpBMn4D06CT\nacuRrhEaU2hgbaIbSokmA7iA0El6hwQxFfhAiiDXYVBsSKSOmrL6KoiiuwDX\nKcXrsUndu9JxeubQGceeT0ZQT/CyOemnwx5tQFzy7+JfTgxINz+zDM9AKILL\n7eVM\r\n=URKX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG4ba+h2SG8Q2HGsVNWsUbMetmK+WPjZ9Su0f7kxtBt9AiEAxKYwT3nPsfHHA+BPeoy0X6arYiN+Y6ca3q1dQisippI="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_2.2.0_1549813208550_0.44929710759546904"},"_hasShrinkwrap":false},"2.2.1":{"name":"react-use-localstorage","version":"2.2.1","description":"Use Local Storage with React hooks","main":"dist/index.js","scripts":{"build":"tsc && babel temp -d dist","prepare":"npm run build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.2.2","@babel/preset-env":"^7.3.1","@types/react":"^16.8.2","babel-preset-minify":"^0.5.0","react":"^16.8.1"},"peerDependencies":{"react":"^16.8.1"},"author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","gitHead":"c7026f18a3363c85a8ea1add94f1655bc5ad156f","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@2.2.1","_nodeVersion":"11.6.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-fvYr2RTx3TV5V1hbl6rdkrI3W+ELMR5BkizdjdTxAUZvmCWFRmPb4nMzBmGvAX9A8J76rvOkkDffv18FFJ7+Hg==","shasum":"deeced629930c4e8a8953efff1dbc23ece32f057","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-2.2.1.tgz","fileCount":7,"unpackedSize":6772,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYEhPCRA9TVsSAnZWagAA6BQP/R6UopIYyzR4GPrDyypD\noDkJyeI8SJGrM80psp1NSOLAYQyoKO2pN3y09a2F4DgIwgnharXz+taD4JbX\nmEy2HTp176NqlFmzVeMdmIKCQ2ytOUM0IgufOj5BUfV/s4SF2VD7GUyYsGZg\ncnm2UxZpDB4FXeP2NsC2eIzj775fkPbf7WpLdgof17rXvNctNiB5aKmeWzsR\nGrgr1RxU3MAkERsk+4h/FQ9pmKaxQLGUXtYNxfZQrPdAhCXDZIlY/nhgBpBp\n/axovV7iKXFmzPgHSNhXXDaj2Y1TOTh7TpU9ZwS5yVDMp4ZpF0rFV1fIpu/K\nCGaTb+N/OSBNgRpHMeAWfggE79Ni/qRBYn9tZG0ps5vyOS3DT/DthM091BiI\nhfrk634TihrswKiiKXquELxdSmWZ+OXK2mc/8F5fSkEXJtWdXCN8aZQd/e8U\nzZqcih/CCI7rh7tfskHqVF+5Jm9mNrDYiTEo6uhp1yreL03ivyELlXLwLbKt\nDopywoOgxN4kxdB1J6baoMI3QMkok4SDayb44ySFqMKUOB6d2qnuAGzUnQ2T\nTW5pUn0rwYPBgzqleGw5LU5SwqAvg3i1WgIsW1M3VPHTFBheT7iuyGdzuGL7\nyDnN5hCnW+IDn4z97fAA6VrWncvJuGlGLNFa8dWDFz0/yjFhrKdyQpfRjKWL\nO7mG\r\n=d6/k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCN7hcVl5hFSPzh0G4fEeVKYaX8iNy0hxCb0hUOcqj5lgIgNn09Wh/9ZEyw8qnR9rjXOK9pJ24+2lTD2bhJY0VQonI="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_2.2.1_1549813838434_0.9261242486185657"},"_hasShrinkwrap":false},"2.3.0":{"name":"react-use-localstorage","version":"2.3.0","description":"Use Local Storage with React hooks","main":"dist/index.js","scripts":{"build":"tsc && babel temp -d dist","prepare":"npm run build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.2.2","@babel/preset-env":"^7.3.1","@types/react":"^16.8.2","babel-preset-minify":"^0.5.0","react":"^16.8.1"},"peerDependencies":{"react":"^16.8.1"},"author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","gitHead":"2c93209d3f984e4ca955f71606ac7825615ef6ec","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@2.3.0","_nodeVersion":"11.6.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-dqRc/gw6ccVVIukBFJdNMnt5WHYDQIMw2Y4g6jaapXXsQF1vgPN2zoSfbW+m5YLXPg2QACVFi+wW4vFZxX4ktg==","shasum":"841d6ad9e5c2f5adf9b2c34dfa77268e2d844c08","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-2.3.0.tgz","fileCount":7,"unpackedSize":7104,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYFfrCRA9TVsSAnZWagAAp2QP/R0P3RCx7NsIZ9tT5F4Z\nyuyDnLEy4gSCKOJvPsbYTcqaozhpxG0nzE9JS4kY1eQFNGPgWv/p+3dcqDZI\nHsptuDUr7OFo4JnEEgouaI1S+1TERBeD1zTSMiBOsGnA3Ye8uWfSh4KD6s+i\nT8D3Pc04VqsctjCsN2EtmU2KHifI53+3MEdRKbm18GxdpxQ3yAaS/p8QDNn+\nbA6h95dVgnEOBkMy7nnMeZSHPMjDF5g2xqRt52ACy1LxZxGGvQ69Y8LvXlSw\nxf7mjNwn5G7dvyG+v7diwFE0O8FosvqXb9f1w4bNCtQnLJiShoppiQtQSGCS\neSA7f5V5R7FQ641uuN6bpeEAzB1dFQS5l7U+jyfZp52oNnn/l+GDMskv1eTq\njfKvP/6AMd9QzjzGJwUapAoRvdaZmZEWzTMMr8l/9xhuoPurMRz32ta8XhZn\nK4Mf7qUE0KMBTgtW0ei/HJM7zB/WN7IQdYFuIDL1xVLmdn3CgTs+3bd3+3nY\nleTGzQZMayKs8OE+T306JRn8QQUQ3f7wPGRcJCBvPHyVlfQ/Uryb3HrY+T2N\n0fQVm9WFISRJm0sbMk+f+M707VS+X3344R+AaB9mCHT/JXscHHj4yNCc++qE\nd1M00Yt1L1UFvAR/+x50xWlCljM+oYHEa8OFcsb95DhJSgam+r0ADTRj+eQh\n7lyB\r\n=BkEe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCy7KOLMmpW/4bJQ0NoBAqbW88AxnMMADDIgSv8eosRgAIhAJhuBqIC9w2OU6lQT7Gq3RRjRvAfcPqqLU3LOxbEqmr+"}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_2.3.0_1549817834590_0.4678789264731755"},"_hasShrinkwrap":false},"2.4.0":{"name":"react-use-localstorage","version":"2.4.0","description":"Use Local Storage with React hooks","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc && babel temp -d dist","prepare":"npm run build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.2.2","@babel/preset-env":"^7.3.1","@types/react":"^16.8.2","babel-preset-minify":"^0.5.0","react":"^16.8.1"},"peerDependencies":{"react":"^16.8.1"},"author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","gitHead":"d800a8cce793bff12f0b52ab4c00be1d0092d371","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@2.4.0","_nodeVersion":"11.6.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-n388a54lTCiNdd8zdy5UbKpNHJC2+M5JoGdFFMzP3upSYhSqiiNAdIVZ+JqeRlZccf/UGbwNC4G7rc/GxwiOOQ==","shasum":"a295f58e4c1211bf0c1541034ea6f181c1470ce2","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-2.4.0.tgz","fileCount":9,"unpackedSize":8142,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYGUdCRA9TVsSAnZWagAAlsEP/0fZN7czjOsVZabcyQEV\nyg//vbwyYnxk5uyIopmGgPznyncn7HB14FIg5W4l7NFlOWKK/iNe1q+/sMJM\n6LkV+h9/Khm2gvqTL1laNwePJZj/FU7ohCAfRHZeI3uBsMvfR+J2bzPq45KH\nNEVrdAqDKIv+UtqZ69EOd5IoKJLIkJLcFq+HhEhv/XBuIoq2R+fSZERXfyMJ\nNtJ/NEvoU61hm8GMKwAPHnxqn+BgMgmzTN0DKh7ikLvd+dZ+4VLoW2SV+ir/\nz7VTbMs1Wis9WppuwRThKV6e0GxVwsLztTDl5jG5LDCMM4FRvcFuP/o7GvWf\nn79Txq5PZRQy9jiP7GUq8TAdRgRdeIdwrY4UJ5OONFSLmgG7zkFUCyqGSJmG\nEs6cKRpGp6hpSJKFWLQv9Jo9b7PynQGKDGs6O30knw20eQkMMpWgW5vizZg1\n/DlIHDMLDfosxVgBbAJuIWVVkNXLr6zOmXIfv0v18FWzQcBc5/aNcCGZP1Vp\nSoqoh1jKvfdWqhe8G2Rhf3wuAEWSIeB2nH9MtrQkadJse6DdJ+pBZtztFYuz\nBGLNZhhClfWusrMHwhYUYSLYbuvUESepXXiNS5Tc4ed3YGvmlWHlsF3NKEUP\nEsDOEMWsb2nXSaD7trc5m3wIJsvkANs2kBwrPg6DjnQhwEhWaeIjBNgsFRlt\nSZwz\r\n=3q9I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/f6Y1FVtRX6+pTrjTgesfTaYhC3k4wCal3hoOZZ002QIhAMLcCylJGb6YGJ3S1Fmm1xoseqHBNmVEu4v8RvV+JCFF"}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_2.4.0_1549821212437_0.23233066546486358"},"_hasShrinkwrap":false},"2.4.1":{"name":"react-use-localstorage","version":"2.4.1","description":"Use Local Storage with React hooks","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc && babel temp -d dist","prepare":"npm run build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.2.2","@babel/preset-env":"^7.3.1","@types/react":"^16.8.2","babel-preset-minify":"^0.5.0","react":"^16.8.1"},"peerDependencies":{"react":"^16.8.1"},"author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","gitHead":"278860095436510d50ab18caa4057d5b317eaec3","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@2.4.1","_nodeVersion":"11.6.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-otneBdGF09Gx4mP3sw2ymJ4s3vXrYwLL6SRj+8vrcwnGsOo8FSWxHHsg6Y7N+t1AT8kAj/y5FbXCCk4y3j5mrg==","shasum":"a82c6acaf2507a9672bfc97fc24464b28a097515","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-2.4.1.tgz","fileCount":9,"unpackedSize":8296,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYGmGCRA9TVsSAnZWagAAN5kP/jR1jNR6KtcgcpIKByZ8\naGPWKO24eEyyf6+SyB+01o+cMg6Zz6sfexucOaSyT2meHpqC2hWsuArDX8lu\nWfGd2gw10sV+TdJwdPQe2ZON7v0npF2ArdZ+nfjQgosHBj0sFTrwq87DEECA\nAnHNGkuARRmuiT41/PQddYYPCaQhWx5t/WKewmwUXt0OxQCitvIgRPw7as6H\nEOKSMAOigLhL9p6E/Gk/zmU/bUawa17bT1mTXJZCIhFz01198ZVHehjYjPvR\ngjAhrKmmUw8Lz6J0QIByyASNg+h1aEDG9Zgy8SMfFoofFYZPIoUWT0R1PyCX\nHq4x5moMdg1aOyEKbgPXG2E7vMw4Bn3cmmxKSL2voeLvyp6gOpJJUNiYud63\nkJ9/tDjPBECc6LcFhuASXCbqqfqdkaIkGgiFd+rB4fQkR3NX56svUqBCW4TW\nUFmyj2cFeTp5Prudx/IHRdTc0UBbaoxRX/6bE2LY3nWQhtGP2daBMTuZPbE8\njSoQlDgGW/zzxKMpPhFS2/5lyrPEuv5ElbbODGfi6JOmC95pv9L7bfNJm/l9\nCNLDNA15gv5dYzFWVCCo3hLlVlZQPfO60388TbSAvbjsQczgafaLtpN7I50o\nhAeL3Kuv1+HA9ug+g5aUTJjzMZ16/c/V5B2eWjCDrDe35UbSwKraQvGzJhjl\nYVBd\r\n=nzEE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2cT5YIk5eWwZ823jNQQ53Tnd02VjDT7BLqfJWB1EPTgIhAKW41SEfIZhjOKFeSR2YjmfAWfrY2e3kOHGRm1r8XDoG"}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_2.4.1_1549822341978_0.6472279852824792"},"_hasShrinkwrap":false},"3.0.0":{"name":"react-use-localstorage","version":"3.0.0","description":"Use Local Storage with React hooks","author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"clean":"rimraf dist","build":"run-s build:*","build:src":"tsc","build:uglify":"uglifyjs -c -o lib/index.js lib/index.js","prepare":"run-s clean build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@types/react":"^16.8.2","typescript":"^3.3.3","tslint":"^5.12.1","tslint-react":"^3.6.0","uglify-js":"^3.4.9","rimraf":"^2.6.3","npm-run-all":"^4.1.5","prettier":"^1.16.4","prettier-tslint":"^0.4.2","tslint-config-prettier":"^1.18.0","lint-staged":"^8.1.3","husky":"^1.3.1","react":"^16.8.1"},"peerDependencies":{"react":"^16.8.1"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.md":["prettier --write","git add"],"*.ts":["prettier-tslint fix","git add"]},"contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"}],"gitHead":"9477853a12cc240acf45aae015782df4f8fcd510","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@3.0.0","_nodeVersion":"11.6.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-MLaVep/W/DZNVDp4CakFe5opzy1RBOtYAYkni4Nx4Ks7HK05/Fr1VCppd2BU0wl8YfwCKBI4dU04X9WaXLSUnw==","shasum":"b309ddd58a3b4b94c5b57b7bc3c6a04c71091eba","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-3.0.0.tgz","fileCount":5,"unpackedSize":8219,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYOZ8CRA9TVsSAnZWagAAJpkP/0iVXFQPPn+Kg6K5elBv\n8nuSO3y1JP05fZEsmWd4+urL6+NgU3zcgmN9aiUEeq/Nwok7rBwEk4mELc6l\nDpyFZEjDREwDgslVlOfpLm1rksqv6DUDNnUzr7asBuGRPWYq0odVOv4PO81C\nh9r/viKEBS8L4dMAsJQ+SmHfwIwdL01IuKgtq1v5WGzyJU3dZvHBHYSMyHiF\nXTwngMpdeQIlGbMbFdkNPthWgFKuusbyey70Z3dHI1F3Atf4fFhuPjIQ272q\nbFcTytKqeU03sUlaRfImBD8UL/g40g7GzEuIrgIgO8cg79VNU5ek6/sUNq90\n9B0TFKPGjzbrNsN7LC5X0R8erp2+9opLj6hSORHbHv065GqcQfhWnqB67wxl\n6Xkqjo6OH4uGct51YGHOUGw1jo26XecxBF/Xwyl99bvr3/9ypN3m3QlCcofm\ncU+T6Kwzg6UoMZmVnIlI518Ry7QmAmte/DTzNtcohplWPtwU0HdjhNS7Riuy\nTLsFLb2RRZCempvAKd0nXaYvJsVBp0uBeYU/XVbGhzEIRfb82NGYZGpupXBB\nooGxLpIgXD7gL8NBhngtKXeKbES196jTBh2Q3SkyFCI7HqX8D/B+RhOJz4H/\nHi5iQIdBIYf0aIGRuowB7h0jBQ6mTVmHzArWi1uPq2FHA5t321P0R7VcGm/r\nltM4\r\n=XS1v\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvZebqazpcITmcbMroXiPdcSyHf29sFhBWAUTnxCCe9AIhAMOhQuBwhAhUTQjtyyFXpjjOeIUzs6X3cdmR6LjIpKtf"}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_3.0.0_1549854331103_0.47019188799383604"},"_hasShrinkwrap":false},"3.0.1-alpha.50":{"name":"react-use-localstorage","version":"3.0.1-alpha.50","description":"Use Local Storage with React hooks","author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"clean":"rimraf lib","build":"run-s build:*","build:src":"tsc","build:uglify":"uglifyjs -c -o lib/index.js lib/index.js","prepare":"run-s clean build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@types/react":"^16.8.2","husky":"^1.3.1","lint-staged":"^8.1.3","npm-run-all":"^4.1.5","prettier":"^1.16.4","prettier-tslint":"^0.4.2","react":"^16.8.1","rimraf":"^2.6.3","tslint":"^5.12.1","tslint-config-prettier":"^1.18.0","tslint-react":"^3.6.0","typescript":"^3.3.3","uglify-js":"^3.4.9"},"peerDependencies":{"react":"^16.8.1"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.md":["prettier --write","git add"],"*.ts":["prettier-tslint fix","git add"]},"contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"}],"gitHead":"408df503d2f2dd3ef119c1bbfc49c26eac107c9a","readme":"# react-use-localstorage\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors)\n\n_depends on stable v16.8.1~_\n\n![version](https://img.shields.io/npm/v/react-use-localstorage.svg?style=flat-square)\n![size](https://img.shields.io/bundlephobia/min/react-use-localstorage.svg?style=flat-square)\n![minzippedsize](https://img.shields.io/bundlephobia/minzip/react-use-localstorage.svg?style=flat-square)\n\nAccess [Local Storage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) using [React hooks](https://reactjs.org/docs/hooks-intro.html).\n\nFork it on CodeSandbox\n[![Edit usestate-useeffect](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/09xj95vxl)\n\n## How to use it\n\n```javascript\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport useLocalStorage from 'react-use-localstorage';\n\nimport './styles.css';\n\nfunction App() {\n  const [item, setItem] = useLocalStorage('name', 'Initial Value');\n\n  return (\n    <div className=\"App\">\n      <h1>Set Name to store in Local Storage</h1>\n      <div>\n        <label>\n          Name:{' '}\n          <input\n            type=\"text\"\n            placeholder=\"Enter your name\"\n            value={item}\n            onChange={e => setItem(e.target.value)}\n          />\n        </label>\n      </div>\n    </div>\n  );\n}\n\nconst rootElement = document.getElementById('root');\nReactDOM.render(<App />, rootElement);\n```\n\n## Demo\n\n![demo](https://github.com/dance2die/react-use-localstorage/raw/master/react-use-localstorage.gif)\n\n## Changelog\n\n<details>\n<summary><b>Expand Changelog</b></summary>\n\n3.0.0\n\nDecided to go with @TheAifam5 the following breaking change as the type is derived from React type definition.\n\n- Breadking change: `setIteme` type is changed from `(item: string) => void` () to `React.Dispatch<string>`\n- Updated infrastructure by @TheAifam5 🙏 in [PR #13](https://github.com/dance2die/react-use-localstorage/pull/13)\n\n  - Dropped babel in favor of `tsc` + `uglifyjs`\n  - Replaced npm with yarn\n  - Added husky for pre-commit git hooks\n  - Source map has been dropped from distribution\n  - distribution is moved from `dist` to `lib` folder\n\n    2.4.1\n\n- Added `useLocalStorage` return type explicitly to generate correct `index.d.ts` typing file.\n\n  2.4.0\n\n- Added TypeScript typings as suggested by @TheAifam5 in Issue #9\n\n  2.3.0\n\n- Fixed a bug where initial value is returned all the time #7 by @lilasquared 🙏\n\n  2.2.0\n\n- Sets initial value in local storage\n\n  2.1.0\n\n- Can optionally pass an initial value\n- This is to prevent form field from being uncontrolled.\n\n  2.0.0\n\n- Breaking change - `setItem` doesn't require `key`\n\n  1.1.1\n\n- Updated to React v16.8.1, which contains the patched Hooks\n\n  1.1.0\n\n- Updated dev dependency version\n\n  1.0.0\n\n- Updated to React v16.8.0, which contains the stable Hooks\n\n  0.0.6\n\n- Changed the language from JavaScript to TypeScript\n- It has minimized the distribution file greatly\n  </details>\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://github.com/all-contributors/all-contributors#emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore -->\n| [<img src=\"https://avatars3.githubusercontent.com/u/3036779?v=4\" width=\"100px;\" alt=\"Aaron Roberts\"/><br /><sub><b>Aaron Roberts</b></sub>](https://github.com/lilasquared)<br />[🤔](#ideas-lilasquared \"Ideas, Planning, & Feedback\") [🐛](https://github.com/dance2die/react-use-localstorage/issues?q=author%3Alilasquared \"Bug reports\") [💻](https://github.com/dance2die/react-use-localstorage/commits?author=lilasquared \"Code\") | [<img src=\"https://avatars1.githubusercontent.com/u/8465237?v=4\" width=\"100px;\" alt=\"Sung Kim\"/><br /><sub><b>Sung Kim</b></sub>](https://twitter.com/dance2die)<br />[💻](https://github.com/dance2die/react-use-localstorage/commits?author=dance2die \"Code\") [🐛](https://github.com/dance2die/react-use-localstorage/issues?q=author%3Adance2die \"Bug reports\") [📖](https://github.com/dance2die/react-use-localstorage/commits?author=dance2die \"Documentation\") | [<img src=\"https://avatars3.githubusercontent.com/u/2192274?v=4\" width=\"100px;\" alt=\"TheAifam5\"/><br /><sub><b>TheAifam5</b></sub>](https://theaifam5.eu/)<br />[🤔](#ideas-TheAifam5 \"Ideas, Planning, & Feedback\") [💻](https://github.com/dance2die/react-use-localstorage/commits?author=TheAifam5 \"Code\") [🚇](#infra-TheAifam5 \"Infrastructure (Hosting, Build-Tools, etc)\") |\n| :---: | :---: | :---: |\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@3.0.1-alpha.50","_nodeVersion":"11.10.0","_npmVersion":"lerna/3.13.1/node@v11.10.0+x64 (linux)","dist":{"integrity":"sha512-j96b/u0ILIIdH16gBqfq5za5VUCjSdl+XtmYlDMyIgMykGZK3BSCeAX1ZyfzW32cfThe5hAPAJ16buXCPfAV2g==","shasum":"3ae51c406b3d0d7d73225e78aca7b90f63789410","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-3.0.1-alpha.50.tgz","fileCount":5,"unpackedSize":8202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcjclCCRA9TVsSAnZWagAAzEYP/AlRb7rqiNLTOeOVIQAc\njtwMmfBcmZW+6GwtiUQPZK++vNw4STKLLxAnkq8c2HIJ9y4be8YePgMTIXKB\n73wIkwJ7pLD8HzSPAP6BO6uBbST++4jANxHO1vo9RqlUPKTz7nue0YswNqJt\nWpaYdUt8n8P6EGGeTmT7aSh5cS9eQ4QofexTYIvpq6Oq0w1lmgJMaCFwDCIU\n3djXXasBJDmXB3kLxhpP9Wk87/0IyOoR1Xh0pWLjO7IvaT2QwwiRKLqY8iOF\n16YvJmJdLi7k5mxY4gd9Nm9nZDZstKa2hz8kzp5f8Q/Uhe/oJoi5B6kDNH/w\nZ40H0KEHCQs/OBK/WY/Hap3hwrj/yYSIJQIZhUb8IJ9YrvijqZsqTs/3ZCdg\nKp+k920CWLvBZlwmSeIqYFXJEUpSq1mEpt8Blm4uqLW4IjXDsi6EQc/sZW+X\nEQ4aHtzhqhL7odIXofRKICkS7Kng0Q3lBkX0SKu8h08/q9LMpZbPbdxRXlKG\ncaVxEKf96FBwrnxOs3RC8rsIlpPnkoZBbar970aEPcxWhmBg8KAdVlHgT+uf\n//flJ68C6KE0DCDrJOfRpdY/7Q1g+tmzMvMSAzgvyJMSRPpLeU6+vc0SMydX\nypaeOTPosaE8V1vtZNXiRmVMayfRNveh5f6OQDJU7BQU3D6ZXuMu4/D4yark\nFAaw\r\n=Goff\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDND/oQWjj0HKEQIRjUpK4SIO3sYF1ABe/FyMe22TQRuQIhAKSHcva0B8W2Rrlywmsn6Kodrl8biUOPPN3pdmRwJ6cL"}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_3.0.1-alpha.50_1552795969480_0.6901999250272646"},"_hasShrinkwrap":false},"3.0.1-alpha.0":{"name":"react-use-localstorage","version":"3.0.1-alpha.0","description":"Use Local Storage with React hooks","author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"clean":"rimraf lib","build":"run-s build:*","build:src":"tsc","build:uglify":"uglifyjs -c -o lib/index.js lib/index.js","prepare":"run-s clean build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@types/react":"^16.8.2","husky":"^1.3.1","lint-staged":"^8.1.3","npm-run-all":"^4.1.5","prettier":"^1.16.4","prettier-tslint":"^0.4.2","react":"^16.8.1","rimraf":"^2.6.3","tslint":"^5.12.1","tslint-config-prettier":"^1.18.0","tslint-react":"^3.6.0","typescript":"^3.3.3","uglify-js":"^3.4.9"},"peerDependencies":{"react":"^16.8.1"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.md":["prettier --write","git add"],"*.ts":["prettier-tslint fix","git add"]},"contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"}],"gitHead":"e3f88545c810f6119f662cbbb876633139b16546","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@3.0.1-alpha.0","_nodeVersion":"11.10.0","_npmVersion":"lerna/3.13.1/node@v11.10.0+x64 (linux)","dist":{"integrity":"sha512-2rVIepBi3RrFtzoclpTDDIjLxXPQEWpVMrgrLO0EunQJDv5g5M9ORE+gXXnPYf0Zs7kg/+khQiDZajCgyILz3w==","shasum":"b53268f9c3ec908afe9a79a92d3f1d5bd5ae03a2","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-3.0.1-alpha.0.tgz","fileCount":5,"unpackedSize":8257,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcjcpWCRA9TVsSAnZWagAAbMgP/1YEMCwCbumXhV4ohho+\nqUqLIq5dg3rzYxMbqbWTxzipLPHA4U/krNg8JSUcfYSOzziFfWqG7IGffyq6\n8I0IPG39GxuEyE/lr+/HwCFKYawyoYd02PqyNcL0Ai+TaBUkOuQb5tU2TE+E\nmveZo2ntKsFJ1yZyRjW9cRcj9CtT8zb1UyKRw+aYooHwaD72RYX5yOf9cno0\n1N9a/Ri647lYtINN35A5O1cFFWN3cAxG4qttjDOmiXUNv724Gw8xCi+RHwHK\nGpiOwEkhpaJ1cQSd9V87NjHMvT522ua3r/twZwUlHAbq4Zoi+6X28tLc0kqu\nqbsvw5I2tbrgLpVN2q8qhBcw4r26Lux/Elw+6vV8XbSw/4QTYbwngvAPmWoj\nZe6KRhkBUjA8qMFeGTe8nb/L7wF0CpjvctN6uDGO6ZkLxpRdAatWK5mpc8Tt\nx8Ab6DGuvnyo52l/GtKKPYPL1cMYUIgSgFNdTfDGymZHaX2AsQuyC76DrGxV\nS85gXQgqjKl0MWkCHfAfBFwYjroIAXf0iZpzH+knm6xlrywAHfRx3vquG5id\nQ6jHtwp07ezZoZL2AUVvpejrdxCVeae3K9phj5hwxOqK5FXGZFmbA7+x+CnT\njjK+1gcc5tKVaZ4m/M/UGG+JpMpUqtBVAnjYur9EeqM/8YA2Li7fqstaRZGH\naSc2\r\n=jILq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH3+EyV30Rnm5xvxSO6Aqd+Ez3O+Wk01JX9I2vRLILrpAiAYz6rw7rxqTxjJD486eN8XWT7QCN+ocAkeP2AyjJSy8A=="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_3.0.1-alpha.0_1552796245356_0.8534219304690438"},"_hasShrinkwrap":false},"3.1.0":{"name":"react-use-localstorage","version":"3.1.0","description":"Use Local Storage with React hooks","author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"clean":"rimraf dist","build":"run-s build:*","build:src":"tsc","build:uglify":"uglifyjs -c -o lib/index.js lib/index.js","prepare":"run-s clean build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@types/react":"^16.8.2","typescript":"^3.3.3","tslint":"^5.12.1","tslint-react":"^3.6.0","uglify-js":"^3.4.9","rimraf":"^2.6.3","npm-run-all":"^4.1.5","prettier":"^1.16.4","prettier-tslint":"^0.4.2","tslint-config-prettier":"^1.18.0","lint-staged":"^8.1.3","husky":"^1.3.1","react":"^16.8.1"},"peerDependencies":{"react":"^16.8.1"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.md":["prettier --write","git add"],"*.ts":["prettier-tslint fix","git add"]},"contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"}],"gitHead":"fbed5143b54bcf8790f90bfcc1a1f52c2bfe611b","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@3.1.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Ov9VqTnxiEd2mWK+27sX5vyfYRDeE7XCzqRy7SauwNHd2PuHN4QIF7rGQmBgz9dhkXV9bimfdajD5kpaI7ci+w==","shasum":"68a99cacafdf350196e0f9643875ade4dc79e0e4","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-3.1.0.tgz","fileCount":5,"unpackedSize":8900,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAFryCRA9TVsSAnZWagAAd68QAIWar25BiUivcsPWIZes\nAmX968//12orxBzHYdWodbyZdN5zVB0Mo0mVdel9uq6k5cvNrxa1h73PJoq+\nG9KWinD2eHA4JRnYDXvS8T+b9PFV0TSaq6Z/p143h3FCWFWDPsGEaVt64Z3A\nSKRSlnfQ1yv1J+TljD9Bi2WG7qh/TGEl+GqDkWPkNfjBGQ+EHQoDcXImb5FU\nA4ytj+4kwCzD+7dwDAODSU7EBEP1R6ogxPN+Ba5lxmicdfJAIzTQYtKmyEab\n70uHLRCj9OFETgOzQL4eokMU/HQiKgaJcw0IQZzyafX6G/pve0T9KjhUDziY\nQYozNdG9jxEpJat+nTLftqGef9H4kPrVQupcOgGe+jGOBxG9foKVKBrc8IZb\nBAXVISXzU93xRXEeQHej6IGiPEVSBhk8f014DWWa5ePcPjxxeR7ajqzpbY+H\nOleurnuSS/1CNmKNz17t9/iw+tGqvC/38ShNln4QfQL+cLtRSwnUB/S2N4dg\n5ZIbgLfcMLShSV5/xmHokuJGqHJeEaBG8jdOdwDLnJna85Btw5NrJKJxNray\nWz4lYOssReuj7Ix3TobxPGKUZSZKUl51QKifx/lJMTF+pnb2v1rIIxnsk5fS\nd7hFjLV0AyJhb5EOPBOFgKe0VyJ+lUzsu1gEsRymZOtkldMtotCAspYz6nLI\nOxZo\r\n=/o3d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFFT0DdEmAQYlPREVxy/7KFkWE0RuPS470N91m3PMzERAiEAvIINdeY0o7ZdgNqB/k5B6NzUr8uflHNt68x3RXzR9VU="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_3.1.0_1560304369015_0.75119156650388"},"_hasShrinkwrap":false},"3.1.2-alpha.0":{"name":"react-use-localstorage","version":"3.1.2-alpha.0","description":"Use Local Storage with React hooks","author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","main":"dist/index.js","umd:main":"dist/react-use-localstorage.umd.production.js","module":"dist/react-use-localstorage.es.production.js","typings":"dist/index.d.ts","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@types/jest":"^24.0.13","@types/react":"^16.8.19","@types/react-dom":"^16.8.4","husky":"^2.4.1","prettier":"^1.18.2","pretty-quick":"^1.11.0","react":"^16.8.6","react-dom":"^16.8.6","tsdx":"^0.6.1","tslib":"^1.10.0","typescript":"^3.5.1"},"peerDependencies":{"react":">=16.8.0"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"},{"name":"VitorLuizC","email":"vitorluizc@outlook.com","url":"http://vitorluizc.github.io/"}],"readme":"# react-use-localstorage\r\n\r\n[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors)\r\n\r\n_depends on stable v16.8.1~_\r\n\r\n![version](https://img.shields.io/npm/v/react-use-localstorage.svg?style=flat-square)\r\n![size](https://img.shields.io/bundlephobia/min/react-use-localstorage.svg?style=flat-square)\r\n![minzippedsize](https://img.shields.io/bundlephobia/minzip/react-use-localstorage.svg?style=flat-square)\r\n\r\nAccess [Local Storage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) using [React hooks](https://reactjs.org/docs/hooks-intro.html).\r\n\r\nFork it on CodeSandbox\r\n[![Edit usestate-useeffect](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/09xj95vxl)\r\n\r\n## How to use it\r\n\r\n```javascript\r\nimport React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport useLocalStorage from 'react-use-localstorage';\r\n\r\nimport './styles.css';\r\n\r\nfunction App() {\r\n  const [item, setItem] = useLocalStorage('name', 'Initial Value');\r\n\r\n  return (\r\n    <div className=\"App\">\r\n      <h1>Set Name to store in Local Storage</h1>\r\n      <div>\r\n        <label>\r\n          Name:{' '}\r\n          <input\r\n            type=\"text\"\r\n            placeholder=\"Enter your name\"\r\n            value={item}\r\n            onChange={e => setItem(e.target.value)}\r\n          />\r\n        </label>\r\n      </div>\r\n    </div>\r\n  );\r\n}\r\n\r\nconst rootElement = document.getElementById('root');\r\nReactDOM.render(<App />, rootElement);\r\n```\r\n\r\n## Demo\r\n\r\n![demo](https://github.com/dance2die/react-use-localstorage/raw/master/react-use-localstorage.gif)\r\n\r\n## Changelog\r\n\r\n<details>\r\n<summary><b>Expand Changelog</b></summary>\r\n\r\n3.0.0\r\n\r\nDecided to go with @TheAifam5 the following breaking change as the type is derived from React type definition.\r\n\r\n- Breadking change: `setIteme` type is changed from `(item: string) => void` () to `React.Dispatch<string>`\r\n- Updated infrastructure by @TheAifam5 🙏 in [PR #13](https://github.com/dance2die/react-use-localstorage/pull/13)\r\n\r\n  - Dropped babel in favor of `tsc` + `uglifyjs`\r\n  - Replaced npm with yarn\r\n  - Added husky for pre-commit git hooks\r\n  - Source map has been dropped from distribution\r\n  - distribution is moved from `dist` to `lib` folder\r\n\r\n  2.4.1\r\n\r\n- Added `useLocalStorage` return type explicitly to generate correct `index.d.ts` typing file.\r\n\r\n  2.4.0\r\n\r\n- Added TypeScript typings as suggested by @TheAifam5 in Issue #9\r\n\r\n  2.3.0\r\n\r\n- Fixed a bug where initial value is returned all the time #7 by @lilasquared 🙏\r\n\r\n  2.2.0\r\n\r\n- Sets initial value in local storage\r\n\r\n  2.1.0\r\n\r\n- Can optionally pass an initial value\r\n- This is to prevent form field from being uncontrolled.\r\n\r\n  2.0.0\r\n\r\n- Breaking change - `setItem` doesn't require `key`\r\n\r\n  1.1.1\r\n\r\n- Updated to React v16.8.1, which contains the patched Hooks\r\n\r\n  1.1.0\r\n\r\n- Updated dev dependency version\r\n\r\n  1.0.0\r\n\r\n- Updated to React v16.8.0, which contains the stable Hooks\r\n\r\n  0.0.6\r\n\r\n- Changed the language from JavaScript to TypeScript\r\n- It has minimized the distribution file greatly\r\n  </details>\r\n\r\n## Contributors\r\n\r\nThanks goes to these wonderful people ([emoji key](https://github.com/all-contributors/all-contributors#emoji-key)):\r\n\r\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\r\n<!-- prettier-ignore -->\r\n<table><tr><td align=\"center\"><a href=\"https://github.com/lilasquared\"><img src=\"https://avatars3.githubusercontent.com/u/3036779?v=4\" width=\"100px;\" alt=\"Aaron Roberts\"/><br /><sub><b>Aaron Roberts</b></sub></a><br /><a href=\"#ideas-lilasquared\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/dance2die/react-use-localstorage/issues?q=author%3Alilasquared\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=lilasquared\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://twitter.com/dance2die\"><img src=\"https://avatars1.githubusercontent.com/u/8465237?v=4\" width=\"100px;\" alt=\"Sung Kim\"/><br /><sub><b>Sung Kim</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=dance2die\" title=\"Code\">💻</a> <a href=\"https://github.com/dance2die/react-use-localstorage/issues?q=author%3Adance2die\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=dance2die\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://theaifam5.eu/\"><img src=\"https://avatars3.githubusercontent.com/u/2192274?v=4\" width=\"100px;\" alt=\"TheAifam5\"/><br /><sub><b>TheAifam5</b></sub></a><br /><a href=\"#ideas-TheAifam5\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=TheAifam5\" title=\"Code\">💻</a> <a href=\"#infra-TheAifam5\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td><td align=\"center\"><a href=\"http://vitorluizc.github.io\"><img src=\"https://avatars1.githubusercontent.com/u/9027363?v=4\" width=\"100px;\" alt=\"Vitor Luiz Cavalcanti\"/><br /><sub><b>Vitor Luiz Cavalcanti</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=VitorLuizC\" title=\"Code\">💻</a></td></tr></table>\r\n\r\n<!-- ALL-CONTRIBUTORS-LIST:END -->\r\n\r\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\r\n","readmeFilename":"README.md","gitHead":"4056ae6c634659b8010582d0d7dbf2794509bba0","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@3.1.2-alpha.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-V9vB3ewfng1yPFi0nNbdC4nH4U/D+NpTH+jxUEp23oO3YoG7VXTtFbRgdFW/tqCAiTYqsYI99v31VjZ1NRsjIA==","shasum":"779c0134940bd7312478a834efb28ca906a6cdfa","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-3.1.2-alpha.0.tgz","fileCount":15,"unpackedSize":16013,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAGr2CRA9TVsSAnZWagAAMEMP/jhV9zlTYirMiB/Ckc6Z\n0jPsMljWBWAlppp9zT+BSEbfmNTLfDW7LoAfDgZ8gyjHI5236ECJHa3h7/Ud\ndzST80IgQNQ9XOeU0Z7UAFpgMmRKDAJQ3R9XCCfHkMf1UhQENTBw5jfEWV7r\nX2bgSg4deJVmHgszZ2IKsmpzvvQJklyoiXdSPq95ECM2rkDucD/ARX4A7LqY\npdILpMAO1BCYi5zKCS1MOrvU4PPRt6I8r2jrQvqVrshwSBYFj9rO01ycu/MF\n5c+VsL2y96qo2i1d8l3QALHCB20YwubQJ0ha5Sn3Cm6CImMwaEjDkGqGyBjp\nUGxYh7myx0BuyYw6jxemZ1ay8K3tXYklBQkg/ca7t24UOqrDWtfaMhAGlGHr\nAmxvAgZM1VKs4Hdj/VE67pqgyYXJmxAazVbDFopI0JL+77Hn2+YQwpUnrsxW\nDR3LRlKN4n69aUoOI+dJ4O2bWnj66PiJRnx/Pa+LiZUR6t26Jf0A8h0RAw4S\nXGBETBMCAEkYtHS3nhRtLUsiejKaXh31ATx91cUxbXc32E5KcYBieNNMV+Ml\nIHByUx6hE4xYPn+WvnvJjPNTQnUmwHuBvw6xiXSiARm1kvKhf8GV22LATBu3\nB9p+I4iZfLavzwMNtu7+IOZks8gTfM5iIScddGNMjjR8Ovc0mFbldnOMZ/kZ\nm0j3\r\n=BS2v\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwdULZQWjAv6GXYigqttLiqeJh6vEGUERS1vQiyLUmPwIgVZ7bRtYmdWB5nisRk3N+ObvcbwyVxew/v7+pKsMRH+8="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_3.1.2-alpha.0_1560308469485_0.5977494883830035"},"_hasShrinkwrap":false},"3.1.2-alpha.1":{"name":"react-use-localstorage","version":"3.1.2-alpha.1","description":"Use Local Storage with React hooks","author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","main":"dist/index.js","umd:main":"dist/react-use-localstorage.umd.production.js","module":"dist/react-use-localstorage.es.production.js","typings":"dist/index.d.ts","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@types/jest":"^24.0.13","@types/react":"^16.8.19","@types/react-dom":"^16.8.4","husky":"^2.4.1","prettier":"^1.18.2","pretty-quick":"^1.11.0","react":"^16.8.6","react-dom":"^16.8.6","tsdx":"^0.6.1","tslib":"^1.10.0","typescript":"^3.5.1"},"peerDependencies":{"react":"^16.8.0"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"},{"name":"VitorLuizC","email":"vitorluizc@outlook.com","url":"http://vitorluizc.github.io/"}],"readme":"# react-use-localstorage\r\n\r\n[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors)\r\n\r\n_depends on stable v16.8.1~_\r\n\r\n![version](https://img.shields.io/npm/v/react-use-localstorage.svg?style=flat-square)\r\n![size](https://img.shields.io/bundlephobia/min/react-use-localstorage.svg?style=flat-square)\r\n![minzippedsize](https://img.shields.io/bundlephobia/minzip/react-use-localstorage.svg?style=flat-square)\r\n\r\nAccess [Local Storage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) using [React hooks](https://reactjs.org/docs/hooks-intro.html).\r\n\r\nFork it on CodeSandbox\r\n[![Edit usestate-useeffect](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/09xj95vxl)\r\n\r\n## How to use it\r\n\r\n```javascript\r\nimport React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport useLocalStorage from 'react-use-localstorage';\r\n\r\nimport './styles.css';\r\n\r\nfunction App() {\r\n  const [item, setItem] = useLocalStorage('name', 'Initial Value');\r\n\r\n  return (\r\n    <div className=\"App\">\r\n      <h1>Set Name to store in Local Storage</h1>\r\n      <div>\r\n        <label>\r\n          Name:{' '}\r\n          <input\r\n            type=\"text\"\r\n            placeholder=\"Enter your name\"\r\n            value={item}\r\n            onChange={e => setItem(e.target.value)}\r\n          />\r\n        </label>\r\n      </div>\r\n    </div>\r\n  );\r\n}\r\n\r\nconst rootElement = document.getElementById('root');\r\nReactDOM.render(<App />, rootElement);\r\n```\r\n\r\n## Demo\r\n\r\n![demo](https://github.com/dance2die/react-use-localstorage/raw/master/react-use-localstorage.gif)\r\n\r\n## Changelog\r\n\r\n<details>\r\n<summary><b>Expand Changelog</b></summary>\r\n\r\n3.0.0\r\n\r\nDecided to go with @TheAifam5 the following breaking change as the type is derived from React type definition.\r\n\r\n- Breadking change: `setIteme` type is changed from `(item: string) => void` () to `React.Dispatch<string>`\r\n- Updated infrastructure by @TheAifam5 🙏 in [PR #13](https://github.com/dance2die/react-use-localstorage/pull/13)\r\n\r\n  - Dropped babel in favor of `tsc` + `uglifyjs`\r\n  - Replaced npm with yarn\r\n  - Added husky for pre-commit git hooks\r\n  - Source map has been dropped from distribution\r\n  - distribution is moved from `dist` to `lib` folder\r\n\r\n  2.4.1\r\n\r\n- Added `useLocalStorage` return type explicitly to generate correct `index.d.ts` typing file.\r\n\r\n  2.4.0\r\n\r\n- Added TypeScript typings as suggested by @TheAifam5 in Issue #9\r\n\r\n  2.3.0\r\n\r\n- Fixed a bug where initial value is returned all the time #7 by @lilasquared 🙏\r\n\r\n  2.2.0\r\n\r\n- Sets initial value in local storage\r\n\r\n  2.1.0\r\n\r\n- Can optionally pass an initial value\r\n- This is to prevent form field from being uncontrolled.\r\n\r\n  2.0.0\r\n\r\n- Breaking change - `setItem` doesn't require `key`\r\n\r\n  1.1.1\r\n\r\n- Updated to React v16.8.1, which contains the patched Hooks\r\n\r\n  1.1.0\r\n\r\n- Updated dev dependency version\r\n\r\n  1.0.0\r\n\r\n- Updated to React v16.8.0, which contains the stable Hooks\r\n\r\n  0.0.6\r\n\r\n- Changed the language from JavaScript to TypeScript\r\n- It has minimized the distribution file greatly\r\n  </details>\r\n\r\n## Contributors\r\n\r\nThanks goes to these wonderful people ([emoji key](https://github.com/all-contributors/all-contributors#emoji-key)):\r\n\r\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\r\n<!-- prettier-ignore -->\r\n<table><tr><td align=\"center\"><a href=\"https://github.com/lilasquared\"><img src=\"https://avatars3.githubusercontent.com/u/3036779?v=4\" width=\"100px;\" alt=\"Aaron Roberts\"/><br /><sub><b>Aaron Roberts</b></sub></a><br /><a href=\"#ideas-lilasquared\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/dance2die/react-use-localstorage/issues?q=author%3Alilasquared\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=lilasquared\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://twitter.com/dance2die\"><img src=\"https://avatars1.githubusercontent.com/u/8465237?v=4\" width=\"100px;\" alt=\"Sung Kim\"/><br /><sub><b>Sung Kim</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=dance2die\" title=\"Code\">💻</a> <a href=\"https://github.com/dance2die/react-use-localstorage/issues?q=author%3Adance2die\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=dance2die\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://theaifam5.eu/\"><img src=\"https://avatars3.githubusercontent.com/u/2192274?v=4\" width=\"100px;\" alt=\"TheAifam5\"/><br /><sub><b>TheAifam5</b></sub></a><br /><a href=\"#ideas-TheAifam5\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=TheAifam5\" title=\"Code\">💻</a> <a href=\"#infra-TheAifam5\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td><td align=\"center\"><a href=\"http://vitorluizc.github.io\"><img src=\"https://avatars1.githubusercontent.com/u/9027363?v=4\" width=\"100px;\" alt=\"Vitor Luiz Cavalcanti\"/><br /><sub><b>Vitor Luiz Cavalcanti</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=VitorLuizC\" title=\"Code\">💻</a></td></tr></table>\r\n\r\n<!-- ALL-CONTRIBUTORS-LIST:END -->\r\n\r\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\r\n","readmeFilename":"README.md","gitHead":"9dc5107f133dd2076b6ba4a8ade5e21ce2723a07","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@3.1.2-alpha.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-JIaLdi7lpcTO3aFFXa1mCE6xM7qqXq2Ux8ZOOFztIBtjope8R/RpwAHjPyPhbayBEpv3mXnFVU8ssCXuNqDBIA==","shasum":"9b8921d3b3875de0d324a8e339c411f0257de997","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-3.1.2-alpha.1.tgz","fileCount":15,"unpackedSize":16012,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdBWP2CRA9TVsSAnZWagAAD4cP/18laUEqbxbEcQWXZsXl\nVeeYZ/yD1/Uav1BCf3mdceqJnlFD8T6B9byWRVWKFsTelH++IoDNDKXf8HjQ\nvbkJ8b6gHjGf2SFgOVerI5iZMVd51Dvw8XuAn8Rww0zx6sOtrPXqUmk8HGi+\n8tzgeBi2ZHra5U7OOg9hmRFMb9R9tlRg6wN/Uj++YeJnZ6IRn4gNoucK2kqx\ndOSOwO8/QEUZdwklOkDWvb4wPSCNMR2igna9m5+Fp0rLsNIgLVhDqFliTwbO\nKlX1yQYhI2wsY7qpEO3RMaC8ZDm7A9Xq2jfG56vMKvJGU+Tb0xuZHec8NddM\n3UkRUHazea6PC/vUolAcCl0T4P9sx2EbCUnFRTdEfb0qO0Hrkiv3vxNABEBP\nNmDskG5Av+gXF7S4WRh1nWW+7e1wd3MsKnx8EUuHrwh+k73QsDbVpTZQSlcM\nkXq+mkmxtY8SX/Ta9IB9f6hdzynxrmiItQGFhPAT0XQng3EU/lMR42e1/+d0\n/Oo9y4brmKIvwfnF+jJrQkL2946PzkcEvQ3+HUp6n9AtjEE0DRp5tPk8vqj+\n+ZesIJw/B/zP9EaXw1XV/8xbda2UHDB85oHOjIDOqvTuN6BdLEu1X4WNM99J\nDWjGGoodLNGld0RoTQKV3gx1JdMpbPsnkzjRuxafWe3EMy/SRP4f7XbH4WJm\nojUd\r\n=BQna\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7h8GGCn+gstvHrXQH8davDrWwexA2Y+W0oNpn6xrfogIgc5FtgC3dEoqLwed7GsjB5YhZi6flylIZkmgbGHKBsFM="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_3.1.2-alpha.1_1560634357443_0.6017003638850795"},"_hasShrinkwrap":false},"3.1.2-alpha.3":{"name":"react-use-localstorage","version":"3.1.2-alpha.3","description":"Use Local Storage with React hooks","author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","main":"dist/react-use-localstorage.es.production.js","umd:main":"dist/react-use-localstorage.umd.production.js","module":"dist/react-use-localstorage.es.production.js","typings":"dist/index.d.ts","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@types/jest":"^24.0.13","@types/react":"^16.8.19","@types/react-dom":"^16.8.4","husky":"^2.4.1","prettier":"^1.18.2","pretty-quick":"^1.11.0","react":"^16.8.6","react-dom":"^16.8.6","tsdx":"^0.6.1","tslib":"^1.10.0","typescript":"^3.5.1"},"peerDependencies":{"react":"^16.8.0"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"},{"name":"VitorLuizC","email":"vitorluizc@outlook.com","url":"http://vitorluizc.github.io/"}],"readme":"# react-use-localstorage\r\n\r\n[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors)\r\n\r\n_depends on stable v16.8.1~_\r\n\r\n![version](https://img.shields.io/npm/v/react-use-localstorage.svg?style=flat-square)\r\n![size](https://img.shields.io/bundlephobia/min/react-use-localstorage.svg?style=flat-square)\r\n![minzippedsize](https://img.shields.io/bundlephobia/minzip/react-use-localstorage.svg?style=flat-square)\r\n\r\nAccess [Local Storage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) using [React hooks](https://reactjs.org/docs/hooks-intro.html).\r\n\r\nFork it on CodeSandbox\r\n[![Edit usestate-useeffect](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/09xj95vxl)\r\n\r\n## How to use it\r\n\r\n```javascript\r\nimport React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport useLocalStorage from 'react-use-localstorage';\r\n\r\nimport './styles.css';\r\n\r\nfunction App() {\r\n  const [item, setItem] = useLocalStorage('name', 'Initial Value');\r\n\r\n  return (\r\n    <div className=\"App\">\r\n      <h1>Set Name to store in Local Storage</h1>\r\n      <div>\r\n        <label>\r\n          Name:{' '}\r\n          <input\r\n            type=\"text\"\r\n            placeholder=\"Enter your name\"\r\n            value={item}\r\n            onChange={e => setItem(e.target.value)}\r\n          />\r\n        </label>\r\n      </div>\r\n    </div>\r\n  );\r\n}\r\n\r\nconst rootElement = document.getElementById('root');\r\nReactDOM.render(<App />, rootElement);\r\n```\r\n\r\n## Demo\r\n\r\n![demo](https://github.com/dance2die/react-use-localstorage/raw/master/react-use-localstorage.gif)\r\n\r\n## Changelog\r\n\r\n<details>\r\n<summary><b>Expand Changelog</b></summary>\r\n\r\n3.0.0\r\n\r\nDecided to go with @TheAifam5 the following breaking change as the type is derived from React type definition.\r\n\r\n- Breadking change: `setIteme` type is changed from `(item: string) => void` () to `React.Dispatch<string>`\r\n- Updated infrastructure by @TheAifam5 🙏 in [PR #13](https://github.com/dance2die/react-use-localstorage/pull/13)\r\n\r\n  - Dropped babel in favor of `tsc` + `uglifyjs`\r\n  - Replaced npm with yarn\r\n  - Added husky for pre-commit git hooks\r\n  - Source map has been dropped from distribution\r\n  - distribution is moved from `dist` to `lib` folder\r\n\r\n  2.4.1\r\n\r\n- Added `useLocalStorage` return type explicitly to generate correct `index.d.ts` typing file.\r\n\r\n  2.4.0\r\n\r\n- Added TypeScript typings as suggested by @TheAifam5 in Issue #9\r\n\r\n  2.3.0\r\n\r\n- Fixed a bug where initial value is returned all the time #7 by @lilasquared 🙏\r\n\r\n  2.2.0\r\n\r\n- Sets initial value in local storage\r\n\r\n  2.1.0\r\n\r\n- Can optionally pass an initial value\r\n- This is to prevent form field from being uncontrolled.\r\n\r\n  2.0.0\r\n\r\n- Breaking change - `setItem` doesn't require `key`\r\n\r\n  1.1.1\r\n\r\n- Updated to React v16.8.1, which contains the patched Hooks\r\n\r\n  1.1.0\r\n\r\n- Updated dev dependency version\r\n\r\n  1.0.0\r\n\r\n- Updated to React v16.8.0, which contains the stable Hooks\r\n\r\n  0.0.6\r\n\r\n- Changed the language from JavaScript to TypeScript\r\n- It has minimized the distribution file greatly\r\n  </details>\r\n\r\n## Contributors\r\n\r\nThanks goes to these wonderful people ([emoji key](https://github.com/all-contributors/all-contributors#emoji-key)):\r\n\r\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\r\n<!-- prettier-ignore -->\r\n<table><tr><td align=\"center\"><a href=\"https://github.com/lilasquared\"><img src=\"https://avatars3.githubusercontent.com/u/3036779?v=4\" width=\"100px;\" alt=\"Aaron Roberts\"/><br /><sub><b>Aaron Roberts</b></sub></a><br /><a href=\"#ideas-lilasquared\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/dance2die/react-use-localstorage/issues?q=author%3Alilasquared\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=lilasquared\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://twitter.com/dance2die\"><img src=\"https://avatars1.githubusercontent.com/u/8465237?v=4\" width=\"100px;\" alt=\"Sung Kim\"/><br /><sub><b>Sung Kim</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=dance2die\" title=\"Code\">💻</a> <a href=\"https://github.com/dance2die/react-use-localstorage/issues?q=author%3Adance2die\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=dance2die\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://theaifam5.eu/\"><img src=\"https://avatars3.githubusercontent.com/u/2192274?v=4\" width=\"100px;\" alt=\"TheAifam5\"/><br /><sub><b>TheAifam5</b></sub></a><br /><a href=\"#ideas-TheAifam5\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=TheAifam5\" title=\"Code\">💻</a> <a href=\"#infra-TheAifam5\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td><td align=\"center\"><a href=\"http://vitorluizc.github.io\"><img src=\"https://avatars1.githubusercontent.com/u/9027363?v=4\" width=\"100px;\" alt=\"Vitor Luiz Cavalcanti\"/><br /><sub><b>Vitor Luiz Cavalcanti</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=VitorLuizC\" title=\"Code\">💻</a></td></tr></table>\r\n\r\n<!-- ALL-CONTRIBUTORS-LIST:END -->\r\n\r\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\r\n","readmeFilename":"README.md","gitHead":"57d17c5648bfee46a63e7cb57ea5d992007ec633","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@3.1.2-alpha.3","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-E++fdGjJaqAf20/rjdEDxD4f+EixpdAd3U5PdNcDDUwZmGKc/9NY0/l8yqoLMdHu5XoKk6Bhsn4DmOKFDpXyUw==","shasum":"de623942e6d65ae664d9b6246631717e4d1cc294","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-3.1.2-alpha.3.tgz","fileCount":15,"unpackedSize":16043,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdBWsrCRA9TVsSAnZWagAA3kEP/3aBKojyuOi6BPK4Cj9R\nSeVPyxjcTIX9JAJG2LhJqgpMWXpdqYdy0ui8b1A4r8rbmY9M9RX2XlnypZDG\n4tdV9Kkel9uK3tOVmwnheAq86uRhjvYkfFuXSUnaWyAYEoN2ZgIg5dk2P190\nOQgas50lDeguqeFDNaHugYRVzoaVfG3ukCy5b8rAaut1HO0QMydxMVCD81h3\nEN4g1E1v1us5xr2LRhoTmpcbMzdL9P4yUO5S7BMVvWjHvmZd1YDRDuUPBpH9\nCMWaqeokJst0xot9BVPWv4+qYqM795Jpct67sbdg97yvB5zvHiF9Nrrsp3u8\n2oYZ36TeaXVDkZpoRT9BPJ1t+SzjvLtHBMyO1kEqcaqk2JR+RzNc/Sp/1Bez\n9FR09FWciMc25SSUqqRnkAdW3b/PxHQ2RU1uOkaQmDRkERyLLChr5AWI9Wvv\nk2lwuopEDQ90ZW2ZvUpOp+C4iP/OAjvNz1lbPndQr6vL+Xb0XuvUEMvtJ+jV\n8xlys+4OHUAjE7UHY/s0zNduEiFF3lcn1xvGkxywXfkZJLHY5UTwC2ZPz+Ns\nvNB9MScPNahzhlzPf5IA0PhBktHk97BRBVZd/bQmQlO7GNBw3pBmXatqoAvw\n2etAQjMMJd1kpg1T0miahgOxA6Vq4U5/Ujm+qwngyfL2J1F1x2OzIVbTWLgv\naTff\r\n=gHO4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBv+A36eqSJ9O0SkqS2eLit3FRabFQUaGPgxtq7RV7IAIhAKKKJVgTG8cb9+1pif87qeYvaHrwJ2RXUwpqAKcweXAq"}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_3.1.2-alpha.3_1560636202519_0.48359695889349275"},"_hasShrinkwrap":false},"3.1.2-alpha.4":{"name":"react-use-localstorage","version":"3.1.2-alpha.4","description":"Use Local Storage with React hooks","author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","main":"dist/index.js","umd:main":"dist/react-use-localstorage.umd.production.js","module":"dist/react-use-localstorage.es.production.js","typings":"dist/index.d.ts","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@types/jest":"^24.0.13","@types/react":"^16.8.19","@types/react-dom":"^16.8.4","husky":"^2.4.1","prettier":"^1.18.2","pretty-quick":"^1.11.0","react":"^16.8.6","react-dom":"^16.8.6","tsdx":"^0.7.2","tslib":"^1.10.0","typescript":"^3.5.1"},"peerDependencies":{"react":"^16.8.0"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"},{"name":"VitorLuizC","email":"vitorluizc@outlook.com","url":"http://vitorluizc.github.io/"}],"readme":"# react-use-localstorage\r\n\r\n[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors)\r\n\r\n_depends on stable v16.8.1~_\r\n\r\n![version](https://img.shields.io/npm/v/react-use-localstorage.svg?style=flat-square)\r\n![size](https://img.shields.io/bundlephobia/min/react-use-localstorage.svg?style=flat-square)\r\n![minzippedsize](https://img.shields.io/bundlephobia/minzip/react-use-localstorage.svg?style=flat-square)\r\n\r\nAccess [Local Storage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) using [React hooks](https://reactjs.org/docs/hooks-intro.html).\r\n\r\nFork it on CodeSandbox\r\n[![Edit usestate-useeffect](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/09xj95vxl)\r\n\r\n## How to use it\r\n\r\n```javascript\r\nimport React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport useLocalStorage from 'react-use-localstorage';\r\n\r\nimport './styles.css';\r\n\r\nfunction App() {\r\n  const [item, setItem] = useLocalStorage('name', 'Initial Value');\r\n\r\n  return (\r\n    <div className=\"App\">\r\n      <h1>Set Name to store in Local Storage</h1>\r\n      <div>\r\n        <label>\r\n          Name:{' '}\r\n          <input\r\n            type=\"text\"\r\n            placeholder=\"Enter your name\"\r\n            value={item}\r\n            onChange={e => setItem(e.target.value)}\r\n          />\r\n        </label>\r\n      </div>\r\n    </div>\r\n  );\r\n}\r\n\r\nconst rootElement = document.getElementById('root');\r\nReactDOM.render(<App />, rootElement);\r\n```\r\n\r\n## Demo\r\n\r\n![demo](https://github.com/dance2die/react-use-localstorage/raw/master/react-use-localstorage.gif)\r\n\r\n## Changelog\r\n\r\n<details>\r\n<summary><b>Expand Changelog</b></summary>\r\n\r\n3.0.0\r\n\r\nDecided to go with @TheAifam5 the following breaking change as the type is derived from React type definition.\r\n\r\n- Breadking change: `setIteme` type is changed from `(item: string) => void` () to `React.Dispatch<string>`\r\n- Updated infrastructure by @TheAifam5 🙏 in [PR #13](https://github.com/dance2die/react-use-localstorage/pull/13)\r\n\r\n  - Dropped babel in favor of `tsc` + `uglifyjs`\r\n  - Replaced npm with yarn\r\n  - Added husky for pre-commit git hooks\r\n  - Source map has been dropped from distribution\r\n  - distribution is moved from `dist` to `lib` folder\r\n\r\n  2.4.1\r\n\r\n- Added `useLocalStorage` return type explicitly to generate correct `index.d.ts` typing file.\r\n\r\n  2.4.0\r\n\r\n- Added TypeScript typings as suggested by @TheAifam5 in Issue #9\r\n\r\n  2.3.0\r\n\r\n- Fixed a bug where initial value is returned all the time #7 by @lilasquared 🙏\r\n\r\n  2.2.0\r\n\r\n- Sets initial value in local storage\r\n\r\n  2.1.0\r\n\r\n- Can optionally pass an initial value\r\n- This is to prevent form field from being uncontrolled.\r\n\r\n  2.0.0\r\n\r\n- Breaking change - `setItem` doesn't require `key`\r\n\r\n  1.1.1\r\n\r\n- Updated to React v16.8.1, which contains the patched Hooks\r\n\r\n  1.1.0\r\n\r\n- Updated dev dependency version\r\n\r\n  1.0.0\r\n\r\n- Updated to React v16.8.0, which contains the stable Hooks\r\n\r\n  0.0.6\r\n\r\n- Changed the language from JavaScript to TypeScript\r\n- It has minimized the distribution file greatly\r\n  </details>\r\n\r\n## Contributors\r\n\r\nThanks goes to these wonderful people ([emoji key](https://github.com/all-contributors/all-contributors#emoji-key)):\r\n\r\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\r\n<!-- prettier-ignore -->\r\n<table><tr><td align=\"center\"><a href=\"https://github.com/lilasquared\"><img src=\"https://avatars3.githubusercontent.com/u/3036779?v=4\" width=\"100px;\" alt=\"Aaron Roberts\"/><br /><sub><b>Aaron Roberts</b></sub></a><br /><a href=\"#ideas-lilasquared\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/dance2die/react-use-localstorage/issues?q=author%3Alilasquared\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=lilasquared\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://twitter.com/dance2die\"><img src=\"https://avatars1.githubusercontent.com/u/8465237?v=4\" width=\"100px;\" alt=\"Sung Kim\"/><br /><sub><b>Sung Kim</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=dance2die\" title=\"Code\">💻</a> <a href=\"https://github.com/dance2die/react-use-localstorage/issues?q=author%3Adance2die\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=dance2die\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://theaifam5.eu/\"><img src=\"https://avatars3.githubusercontent.com/u/2192274?v=4\" width=\"100px;\" alt=\"TheAifam5\"/><br /><sub><b>TheAifam5</b></sub></a><br /><a href=\"#ideas-TheAifam5\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=TheAifam5\" title=\"Code\">💻</a> <a href=\"#infra-TheAifam5\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td><td align=\"center\"><a href=\"http://vitorluizc.github.io\"><img src=\"https://avatars1.githubusercontent.com/u/9027363?v=4\" width=\"100px;\" alt=\"Vitor Luiz Cavalcanti\"/><br /><sub><b>Vitor Luiz Cavalcanti</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=VitorLuizC\" title=\"Code\">💻</a></td></tr></table>\r\n\r\n<!-- ALL-CONTRIBUTORS-LIST:END -->\r\n\r\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\r\n","readmeFilename":"README.md","gitHead":"cb92ab0548fe32cc16a6f92aaa96be8b8506196e","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@3.1.2-alpha.4","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-5mRqlc5iqkqsg8KZXlYmBsSWyO6P9mf/iJK/mX/nzX0gwblp3qIS07KAJI189ekrhsoE8yfG2dJpfN24mO8P8w==","shasum":"5998d6c3d7752dbbb144d60bf91e7a7b5de84e12","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-3.1.2-alpha.4.tgz","fileCount":11,"unpackedSize":12920,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDiPnCRA9TVsSAnZWagAA5cUP/2MCHEISyjp5CuOKCHxn\ntexgmlciJV3Wi3YHobqLCJmE3U/Ci4/iHUkp4nU8rtxEglfZAtJNYkS1WOCi\nt2Z0EB9nV3+LdUBF6zi7HLDcwxKIYcyP2/8sLPFp5MuCehbgoLRo8/+z1Kpr\nvrDL5MV8ubliEV2+D+PaQBjeJy3lHtky+YEtFGVYZE6TrxxJpKOKFOJ01gbh\n3Z2Tdg/XB7WgKffQI2SQAIHDYlXtWuH5yFGENgErxND2/6EcxTS4Oh3CK3b8\nOX5TfRIZn0eqmWfERpK/AwjoEIoN3aVqOkU0k0p4iXZpqjufFneEtvae8fin\nR5wH3a7HnRsmOC87RmSJdaJbw4+8eS6sDyPohA8MUFua+uYiE3RfE2WJJkDP\nrvZpnxHt3L/YOEUUPt1/1PWM7Ws/Ad79aoCWfriWa0OsFARlsx0LtzdIcQxM\nVCk7AI2oSrsY62R1TFWT2OG5pMQmfP5I3d5h1t3qu6r9jXggvIg4nOQTJkFW\n9kPzgT0W3VLxy6sxhGbs7xNes2Anq7StMVpl7pTomG9ztmqvskqnUKcom8ur\n9o+zssOqaKSVYVfpxc2+4LKrmIqKUekCdMQ34k4hreEOZhFEl+agvPlYQtCL\nDipmMR94c5pDiEVmjlZiDXc6sg1uJpKSMjOkwic04ZKV9C/lzBpDvTu+lw1h\n6NP3\r\n=Og6K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBC2eWrJWsvw9FrC9Ig3V5i8Cq/NSW303WXmgxO54wnxAiEAx4yvr0teFga1RIH2IqlgOkOCsvtuyn3k7tX0WfcpwQQ="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_3.1.2-alpha.4_1561207782795_0.7172352456445421"},"_hasShrinkwrap":false},"3.1.2-alpha.6":{"name":"react-use-localstorage","version":"3.1.2-alpha.6","description":"Use Local Storage with React hooks","author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","main":"dist/index.js","umd:main":"dist/react-use-localstorage.umd.production.js","module":"dist/react-use-localstorage.esm.production.js","typings":"dist/index.d.ts","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","version:alpha":"npm version prerelease --preid=alpha","publish:alpha":"npm publish --tag alpha"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@types/jest":"^24.0.13","@types/react":"^16.8.19","@types/react-dom":"^16.8.4","husky":"^2.4.1","prettier":"^1.18.2","pretty-quick":"^1.11.0","react":"^16.8.6","react-dom":"^16.8.6","tsdx":"^0.7.2","tslib":"^1.10.0","typescript":"^3.5.1"},"peerDependencies":{"react":"^16.8.0"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"},{"name":"VitorLuizC","email":"vitorluizc@outlook.com","url":"http://vitorluizc.github.io/"}],"readme":"# react-use-localstorage\r\n\r\n[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors)\r\n\r\n_depends on stable v16.8.1~_\r\n\r\n![version](https://img.shields.io/npm/v/react-use-localstorage.svg?style=flat-square)\r\n![size](https://img.shields.io/bundlephobia/min/react-use-localstorage.svg?style=flat-square)\r\n![minzippedsize](https://img.shields.io/bundlephobia/minzip/react-use-localstorage.svg?style=flat-square)\r\n\r\nAccess [Local Storage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) using [React hooks](https://reactjs.org/docs/hooks-intro.html).\r\n\r\nFork it on CodeSandbox\r\n[![Edit usestate-useeffect](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/09xj95vxl)\r\n\r\n## How to use it\r\n\r\n```javascript\r\nimport React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport useLocalStorage from 'react-use-localstorage';\r\n\r\nimport './styles.css';\r\n\r\nfunction App() {\r\n  const [item, setItem] = useLocalStorage('name', 'Initial Value');\r\n\r\n  return (\r\n    <div className=\"App\">\r\n      <h1>Set Name to store in Local Storage</h1>\r\n      <div>\r\n        <label>\r\n          Name:{' '}\r\n          <input\r\n            type=\"text\"\r\n            placeholder=\"Enter your name\"\r\n            value={item}\r\n            onChange={e => setItem(e.target.value)}\r\n          />\r\n        </label>\r\n      </div>\r\n    </div>\r\n  );\r\n}\r\n\r\nconst rootElement = document.getElementById('root');\r\nReactDOM.render(<App />, rootElement);\r\n```\r\n\r\n## Demo\r\n\r\n![demo](https://github.com/dance2die/react-use-localstorage/raw/master/react-use-localstorage.gif)\r\n\r\n## Changelog\r\n\r\n<details>\r\n<summary><b>Expand Changelog</b></summary>\r\n\r\n3.0.0\r\n\r\nDecided to go with @TheAifam5 the following breaking change as the type is derived from React type definition.\r\n\r\n- Breadking change: `setIteme` type is changed from `(item: string) => void` () to `React.Dispatch<string>`\r\n- Updated infrastructure by @TheAifam5 🙏 in [PR #13](https://github.com/dance2die/react-use-localstorage/pull/13)\r\n\r\n  - Dropped babel in favor of `tsc` + `uglifyjs`\r\n  - Replaced npm with yarn\r\n  - Added husky for pre-commit git hooks\r\n  - Source map has been dropped from distribution\r\n  - distribution is moved from `dist` to `lib` folder\r\n\r\n  2.4.1\r\n\r\n- Added `useLocalStorage` return type explicitly to generate correct `index.d.ts` typing file.\r\n\r\n  2.4.0\r\n\r\n- Added TypeScript typings as suggested by @TheAifam5 in Issue #9\r\n\r\n  2.3.0\r\n\r\n- Fixed a bug where initial value is returned all the time #7 by @lilasquared 🙏\r\n\r\n  2.2.0\r\n\r\n- Sets initial value in local storage\r\n\r\n  2.1.0\r\n\r\n- Can optionally pass an initial value\r\n- This is to prevent form field from being uncontrolled.\r\n\r\n  2.0.0\r\n\r\n- Breaking change - `setItem` doesn't require `key`\r\n\r\n  1.1.1\r\n\r\n- Updated to React v16.8.1, which contains the patched Hooks\r\n\r\n  1.1.0\r\n\r\n- Updated dev dependency version\r\n\r\n  1.0.0\r\n\r\n- Updated to React v16.8.0, which contains the stable Hooks\r\n\r\n  0.0.6\r\n\r\n- Changed the language from JavaScript to TypeScript\r\n- It has minimized the distribution file greatly\r\n  </details>\r\n\r\n## Contributors\r\n\r\nThanks goes to these wonderful people ([emoji key](https://github.com/all-contributors/all-contributors#emoji-key)):\r\n\r\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\r\n<!-- prettier-ignore -->\r\n<table><tr><td align=\"center\"><a href=\"https://github.com/lilasquared\"><img src=\"https://avatars3.githubusercontent.com/u/3036779?v=4\" width=\"100px;\" alt=\"Aaron Roberts\"/><br /><sub><b>Aaron Roberts</b></sub></a><br /><a href=\"#ideas-lilasquared\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/dance2die/react-use-localstorage/issues?q=author%3Alilasquared\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=lilasquared\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://twitter.com/dance2die\"><img src=\"https://avatars1.githubusercontent.com/u/8465237?v=4\" width=\"100px;\" alt=\"Sung Kim\"/><br /><sub><b>Sung Kim</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=dance2die\" title=\"Code\">💻</a> <a href=\"https://github.com/dance2die/react-use-localstorage/issues?q=author%3Adance2die\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=dance2die\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://theaifam5.eu/\"><img src=\"https://avatars3.githubusercontent.com/u/2192274?v=4\" width=\"100px;\" alt=\"TheAifam5\"/><br /><sub><b>TheAifam5</b></sub></a><br /><a href=\"#ideas-TheAifam5\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=TheAifam5\" title=\"Code\">💻</a> <a href=\"#infra-TheAifam5\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td><td align=\"center\"><a href=\"http://vitorluizc.github.io\"><img src=\"https://avatars1.githubusercontent.com/u/9027363?v=4\" width=\"100px;\" alt=\"Vitor Luiz Cavalcanti\"/><br /><sub><b>Vitor Luiz Cavalcanti</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=VitorLuizC\" title=\"Code\">💻</a></td></tr></table>\r\n\r\n<!-- ALL-CONTRIBUTORS-LIST:END -->\r\n\r\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\r\n","readmeFilename":"README.md","gitHead":"8f15ed44f55a7188dcfb419aa2fd6dc64ed8d22e","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@3.1.2-alpha.6","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Y8zB+19NPpuTcy/OPYlkMif4Pc6XwzWDWntJkr71V5j+J7aklYQJqY+9h4LMbbN3n+Kx6A/qPdIppAlyp9/2iA==","shasum":"73ed1b102a75e1afa8bb8b03ce4ef6c2d24d0ae8","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-3.1.2-alpha.6.tgz","fileCount":11,"unpackedSize":13030,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDiziCRA9TVsSAnZWagAADWwP/Rw+guAOUo3BdyNzLMuZ\nSsUzBA2dDCnpevNej+crWtphICcVMG1BFtnGXVuStXI1IaibczXH8NAu/33+\nFsIVcML9SDsO2sK7mrwrdQ14T+GEvg0XDXN1auQM+dGWlv05igGK2g90nLQE\npGHl92MHGf2+7NLr2uhZ40R0lt+n7OstI3DJLFrvH431i8Tfu4auLWDvey5j\nCmCL+JeIgWzY2jsaFyy9cylxWN4jFtn064ymN4f0kB3LJWaVfswo3lMPwao4\nMzHhi/o2mmpmoDm5k0u9s5FJrgrI6rpUS9masfK+18yoe3qiDl3CJWmQ6qtq\niQvuCWHuyL1eGU+KgNG47QeCexj9UAlbNcdyV+ncKjf2n4jesjK38X1YhrbL\n195XmFsdPFOnRdetuTftY1hH/hkJ19f2SLSf12dr8tVaLWLe0XrJW+X+F52o\nESuoSTAnVjLxyraUQksIdqUTFgofHOm6kP1nP28MIb8kOAiyWgw5ffqqk0K6\nVRKuwI1hIX1BIeEkSpS2JkXn0i5GiwcnrnnZQmrJhT/i1exh87i4wyyWpsaf\nl5Jk1l9IRg7KPJjkb8DJSl39U/gcw30bODqP6qj2SY89sz4M3vwkFO7aYky3\nln9YSLLzCO7TTKmLR00EEmTnkeOJqqbmE5QqmPDKTt4BnVsjXnbL1jFi2+9n\nAX0s\r\n=EOcN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkB/4fRAKAv27XK79NDc81DB0HeA9774N7Qx3W9QBrowIgfxN9ynkWwCk5trqdfBrl6LH6rRheIQNVuWVoxlfbpfM="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_3.1.2-alpha.6_1561210082058_0.21902545049154032"},"_hasShrinkwrap":false},"3.1.2-alpha.7":{"name":"react-use-localstorage","version":"3.1.2-alpha.7","description":"Use Local Storage with React hooks","author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","main":"dist/index.js","umd:main":"dist/react-use-localstorage.umd.production.js","module":"dist/react-use-localstorage.esm.js","typings":"dist/index.d.ts","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","version:alpha":"npm version prerelease --preid=alpha","publish:alpha":"npm publish --tag alpha"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@types/jest":"^24.0.13","@types/react":"^16.8.19","@types/react-dom":"^16.8.4","husky":"^2.4.1","prettier":"^1.18.2","pretty-quick":"^1.11.0","react":"^16.8.6","react-dom":"^16.8.6","tsdx":"^0.7.2","tslib":"^1.10.0","typescript":"^3.5.1"},"peerDependencies":{"react":"^16.8.0"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"},{"name":"VitorLuizC","email":"vitorluizc@outlook.com","url":"http://vitorluizc.github.io/"}],"readme":"# react-use-localstorage\r\n\r\n[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors)\r\n\r\n_depends on stable v16.8.1~_\r\n\r\n![version](https://img.shields.io/npm/v/react-use-localstorage.svg?style=flat-square)\r\n![size](https://img.shields.io/bundlephobia/min/react-use-localstorage.svg?style=flat-square)\r\n![minzippedsize](https://img.shields.io/bundlephobia/minzip/react-use-localstorage.svg?style=flat-square)\r\n\r\nAccess [Local Storage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) using [React hooks](https://reactjs.org/docs/hooks-intro.html).\r\n\r\nFork it on CodeSandbox\r\n[![Edit usestate-useeffect](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/09xj95vxl)\r\n\r\n## How to use it\r\n\r\n```javascript\r\nimport React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport useLocalStorage from 'react-use-localstorage';\r\n\r\nimport './styles.css';\r\n\r\nfunction App() {\r\n  const [item, setItem] = useLocalStorage('name', 'Initial Value');\r\n\r\n  return (\r\n    <div className=\"App\">\r\n      <h1>Set Name to store in Local Storage</h1>\r\n      <div>\r\n        <label>\r\n          Name:{' '}\r\n          <input\r\n            type=\"text\"\r\n            placeholder=\"Enter your name\"\r\n            value={item}\r\n            onChange={e => setItem(e.target.value)}\r\n          />\r\n        </label>\r\n      </div>\r\n    </div>\r\n  );\r\n}\r\n\r\nconst rootElement = document.getElementById('root');\r\nReactDOM.render(<App />, rootElement);\r\n```\r\n\r\n## Demo\r\n\r\n![demo](https://github.com/dance2die/react-use-localstorage/raw/master/react-use-localstorage.gif)\r\n\r\n## Changelog\r\n\r\n<details>\r\n<summary><b>Expand Changelog</b></summary>\r\n\r\n3.0.0\r\n\r\nDecided to go with @TheAifam5 the following breaking change as the type is derived from React type definition.\r\n\r\n- Breadking change: `setIteme` type is changed from `(item: string) => void` () to `React.Dispatch<string>`\r\n- Updated infrastructure by @TheAifam5 🙏 in [PR #13](https://github.com/dance2die/react-use-localstorage/pull/13)\r\n\r\n  - Dropped babel in favor of `tsc` + `uglifyjs`\r\n  - Replaced npm with yarn\r\n  - Added husky for pre-commit git hooks\r\n  - Source map has been dropped from distribution\r\n  - distribution is moved from `dist` to `lib` folder\r\n\r\n  2.4.1\r\n\r\n- Added `useLocalStorage` return type explicitly to generate correct `index.d.ts` typing file.\r\n\r\n  2.4.0\r\n\r\n- Added TypeScript typings as suggested by @TheAifam5 in Issue #9\r\n\r\n  2.3.0\r\n\r\n- Fixed a bug where initial value is returned all the time #7 by @lilasquared 🙏\r\n\r\n  2.2.0\r\n\r\n- Sets initial value in local storage\r\n\r\n  2.1.0\r\n\r\n- Can optionally pass an initial value\r\n- This is to prevent form field from being uncontrolled.\r\n\r\n  2.0.0\r\n\r\n- Breaking change - `setItem` doesn't require `key`\r\n\r\n  1.1.1\r\n\r\n- Updated to React v16.8.1, which contains the patched Hooks\r\n\r\n  1.1.0\r\n\r\n- Updated dev dependency version\r\n\r\n  1.0.0\r\n\r\n- Updated to React v16.8.0, which contains the stable Hooks\r\n\r\n  0.0.6\r\n\r\n- Changed the language from JavaScript to TypeScript\r\n- It has minimized the distribution file greatly\r\n  </details>\r\n\r\n## Contributors\r\n\r\nThanks goes to these wonderful people ([emoji key](https://github.com/all-contributors/all-contributors#emoji-key)):\r\n\r\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\r\n<!-- prettier-ignore -->\r\n<table><tr><td align=\"center\"><a href=\"https://github.com/lilasquared\"><img src=\"https://avatars3.githubusercontent.com/u/3036779?v=4\" width=\"100px;\" alt=\"Aaron Roberts\"/><br /><sub><b>Aaron Roberts</b></sub></a><br /><a href=\"#ideas-lilasquared\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/dance2die/react-use-localstorage/issues?q=author%3Alilasquared\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=lilasquared\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://twitter.com/dance2die\"><img src=\"https://avatars1.githubusercontent.com/u/8465237?v=4\" width=\"100px;\" alt=\"Sung Kim\"/><br /><sub><b>Sung Kim</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=dance2die\" title=\"Code\">💻</a> <a href=\"https://github.com/dance2die/react-use-localstorage/issues?q=author%3Adance2die\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=dance2die\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://theaifam5.eu/\"><img src=\"https://avatars3.githubusercontent.com/u/2192274?v=4\" width=\"100px;\" alt=\"TheAifam5\"/><br /><sub><b>TheAifam5</b></sub></a><br /><a href=\"#ideas-TheAifam5\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=TheAifam5\" title=\"Code\">💻</a> <a href=\"#infra-TheAifam5\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td><td align=\"center\"><a href=\"http://vitorluizc.github.io\"><img src=\"https://avatars1.githubusercontent.com/u/9027363?v=4\" width=\"100px;\" alt=\"Vitor Luiz Cavalcanti\"/><br /><sub><b>Vitor Luiz Cavalcanti</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=VitorLuizC\" title=\"Code\">💻</a></td></tr></table>\r\n\r\n<!-- ALL-CONTRIBUTORS-LIST:END -->\r\n\r\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\r\n","readmeFilename":"README.md","gitHead":"060892d0ef309c9eab9d69ef644141bf76948928","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@3.1.2-alpha.7","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-1nRAdeAZJY/WH564VkgvTGI3BrkKd+28RGO96M678iKZHwiX8QICrZ4jBfTe+ytbOlkg86sQDJC09cggiI1MSA==","shasum":"461615c03826e47d8a5c563d2cecfc1d14c70fbe","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-3.1.2-alpha.7.tgz","fileCount":11,"unpackedSize":13019,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDi2rCRA9TVsSAnZWagAA+dQP/35dyfmTHfd7nkD3X+eJ\nCz4v7hkv3DoTuZyiymHgafroFxjF8Jaabo4C1HFjxePzVy3a9VbpwykfWZiq\nZ4+AdQ6vIi4vPCdVkySPQ7Ubykz+xuREyuhA7fqbQeM9bphkK//Wl1LYSuQW\n7CMFX95fLTfRChfLGIJcAhih30fl5Er3ajHcm1OEyhCh7mp5vvplCvp7lT9j\nGv3HMUSd3LwrBf3FUryYYmXwiWt3JGR/qSdMTpuxRiVWCwfLmQKFTLJ5K3JS\nDqA5RGI6HB/wLP0SWnDhMx4FpMjriQAMjxEneNSbP83Y2Umrq9RUxCdvjMWG\nIz+HHryW21fgJRIm2zZzkYTNSvPN8v3mUsuBZbTrNyEaje8JoNojz8ADpt4t\nA5SvbZOgVkxem8ofZBgrT2Qx2VHKZQrtEQoghiDPhBaC1bmLDqJDaINRZfXW\nfi9J9l2FqRbhPzfpwNIkIQ5pifZ54vbmvQJPiZLZLYbYyXdW+LxbC8sbbcXY\nY7ltTxXLN02dS+HYt3GeYf00F+UdpaBmmzRbhgYycYWdqfQTsvDID8aojMEg\nTV6WnHWSc28p8TX+XsSCPzTs9nbAEhl2I1jPbpISGINmDyBIQh/4G9XP67bE\nomZPy9vTU5BiOCwlL7qe6/SjYwNANMlhC3kjizxlYB7KoLVc8ZQI/2F9b9Y3\nhiHB\r\n=OcYC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCS3zEHKbMmdKmhHW+/DPm++67fctprPuStl+9KR4gktgIhAMN9zGalzArj1mLtOQPCtDZIZceKPV2kxMvR2p5KtUcY"}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_3.1.2-alpha.7_1561210283355_0.8009568631895316"},"_hasShrinkwrap":false},"3.1.2-alpha.8":{"name":"react-use-localstorage","version":"3.1.2-alpha.8","description":"Use Local Storage with React hooks","author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","main":"dist/react-use-localstorage.esm.js","umd:main":"dist/react-use-localstorage.umd.production.js","module":"dist/react-use-localstorage.esm.js","typings":"dist/index.d.ts","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","version:alpha":"npm version prerelease --preid=alpha","publish:alpha":"npm publish --tag alpha"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@types/jest":"^24.0.13","@types/react":"^16.8.19","@types/react-dom":"^16.8.4","husky":"^2.4.1","prettier":"^1.18.2","pretty-quick":"^1.11.0","react":"^16.8.6","react-dom":"^16.8.6","tsdx":"^0.7.2","tslib":"^1.10.0","typescript":"^3.5.1"},"peerDependencies":{"react":"^16.8.0"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"},{"name":"VitorLuizC","email":"vitorluizc@outlook.com","url":"http://vitorluizc.github.io/"}],"readme":"# react-use-localstorage\r\n\r\n[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors)\r\n\r\n_depends on stable v16.8.1~_\r\n\r\n![version](https://img.shields.io/npm/v/react-use-localstorage.svg?style=flat-square)\r\n![size](https://img.shields.io/bundlephobia/min/react-use-localstorage.svg?style=flat-square)\r\n![minzippedsize](https://img.shields.io/bundlephobia/minzip/react-use-localstorage.svg?style=flat-square)\r\n\r\nAccess [Local Storage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) using [React hooks](https://reactjs.org/docs/hooks-intro.html).\r\n\r\nFork it on CodeSandbox\r\n[![Edit usestate-useeffect](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/09xj95vxl)\r\n\r\n## How to use it\r\n\r\n```javascript\r\nimport React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport useLocalStorage from 'react-use-localstorage';\r\n\r\nimport './styles.css';\r\n\r\nfunction App() {\r\n  const [item, setItem] = useLocalStorage('name', 'Initial Value');\r\n\r\n  return (\r\n    <div className=\"App\">\r\n      <h1>Set Name to store in Local Storage</h1>\r\n      <div>\r\n        <label>\r\n          Name:{' '}\r\n          <input\r\n            type=\"text\"\r\n            placeholder=\"Enter your name\"\r\n            value={item}\r\n            onChange={e => setItem(e.target.value)}\r\n          />\r\n        </label>\r\n      </div>\r\n    </div>\r\n  );\r\n}\r\n\r\nconst rootElement = document.getElementById('root');\r\nReactDOM.render(<App />, rootElement);\r\n```\r\n\r\n## Demo\r\n\r\n![demo](https://github.com/dance2die/react-use-localstorage/raw/master/react-use-localstorage.gif)\r\n\r\n## Changelog\r\n\r\n<details>\r\n<summary><b>Expand Changelog</b></summary>\r\n\r\n3.0.0\r\n\r\nDecided to go with @TheAifam5 the following breaking change as the type is derived from React type definition.\r\n\r\n- Breadking change: `setIteme` type is changed from `(item: string) => void` () to `React.Dispatch<string>`\r\n- Updated infrastructure by @TheAifam5 🙏 in [PR #13](https://github.com/dance2die/react-use-localstorage/pull/13)\r\n\r\n  - Dropped babel in favor of `tsc` + `uglifyjs`\r\n  - Replaced npm with yarn\r\n  - Added husky for pre-commit git hooks\r\n  - Source map has been dropped from distribution\r\n  - distribution is moved from `dist` to `lib` folder\r\n\r\n  2.4.1\r\n\r\n- Added `useLocalStorage` return type explicitly to generate correct `index.d.ts` typing file.\r\n\r\n  2.4.0\r\n\r\n- Added TypeScript typings as suggested by @TheAifam5 in Issue #9\r\n\r\n  2.3.0\r\n\r\n- Fixed a bug where initial value is returned all the time #7 by @lilasquared 🙏\r\n\r\n  2.2.0\r\n\r\n- Sets initial value in local storage\r\n\r\n  2.1.0\r\n\r\n- Can optionally pass an initial value\r\n- This is to prevent form field from being uncontrolled.\r\n\r\n  2.0.0\r\n\r\n- Breaking change - `setItem` doesn't require `key`\r\n\r\n  1.1.1\r\n\r\n- Updated to React v16.8.1, which contains the patched Hooks\r\n\r\n  1.1.0\r\n\r\n- Updated dev dependency version\r\n\r\n  1.0.0\r\n\r\n- Updated to React v16.8.0, which contains the stable Hooks\r\n\r\n  0.0.6\r\n\r\n- Changed the language from JavaScript to TypeScript\r\n- It has minimized the distribution file greatly\r\n  </details>\r\n\r\n## Contributors\r\n\r\nThanks goes to these wonderful people ([emoji key](https://github.com/all-contributors/all-contributors#emoji-key)):\r\n\r\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\r\n<!-- prettier-ignore -->\r\n<table><tr><td align=\"center\"><a href=\"https://github.com/lilasquared\"><img src=\"https://avatars3.githubusercontent.com/u/3036779?v=4\" width=\"100px;\" alt=\"Aaron Roberts\"/><br /><sub><b>Aaron Roberts</b></sub></a><br /><a href=\"#ideas-lilasquared\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/dance2die/react-use-localstorage/issues?q=author%3Alilasquared\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=lilasquared\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://twitter.com/dance2die\"><img src=\"https://avatars1.githubusercontent.com/u/8465237?v=4\" width=\"100px;\" alt=\"Sung Kim\"/><br /><sub><b>Sung Kim</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=dance2die\" title=\"Code\">💻</a> <a href=\"https://github.com/dance2die/react-use-localstorage/issues?q=author%3Adance2die\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=dance2die\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://theaifam5.eu/\"><img src=\"https://avatars3.githubusercontent.com/u/2192274?v=4\" width=\"100px;\" alt=\"TheAifam5\"/><br /><sub><b>TheAifam5</b></sub></a><br /><a href=\"#ideas-TheAifam5\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=TheAifam5\" title=\"Code\">💻</a> <a href=\"#infra-TheAifam5\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td><td align=\"center\"><a href=\"http://vitorluizc.github.io\"><img src=\"https://avatars1.githubusercontent.com/u/9027363?v=4\" width=\"100px;\" alt=\"Vitor Luiz Cavalcanti\"/><br /><sub><b>Vitor Luiz Cavalcanti</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=VitorLuizC\" title=\"Code\">💻</a></td></tr></table>\r\n\r\n<!-- ALL-CONTRIBUTORS-LIST:END -->\r\n\r\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\r\n","readmeFilename":"README.md","gitHead":"d572c83e4a1a9a96e35ebc08746207f263615a39","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@3.1.2-alpha.8","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-4GLdkWFyb8jjTTAditlmOvQ6S+AC3QMyrZWQ7Xo2o1sxq5Qc0VLiBlHL1zhGwgfWUA0OMx0k+lHzQzBB82Zltw==","shasum":"567b5d084b7ee2f6013d52ef1166d5a721e84baa","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-3.1.2-alpha.8.tgz","fileCount":10,"unpackedSize":12816,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFBlICRA9TVsSAnZWagAAjW0P/RtDPbpyTdKetys8971g\ncuTZYERscFb4l3KXdd1Zyjvs1es59PVOIbJ8UA5OVgvkkMtx3DD4HRoIRl1S\ndMjr4ziAM+EIeFyhTBFdBEohSEq4Lr2+UyBRxbiLpY+6RB1MZVIVn3EQKyyy\nEi99IBELYR+EFKAVDgy9qvkqnOs5TXeDVWJn6fzWtqhGcNheFoC1T/Yu/bB5\nkNeGeboJ3U6Z5WMiwjpc4sDBOXEs/gkIcSi3SlgPv39SOvUJGCAv+Pjkk4k1\nWLqtCtD0GHwHfH52Z0awbSD9zwD3LrAGK2khRqnuMLdt73n/772nUTmdhmfd\nEtfRKRQ1j5xkhVo9LD8yTGqKm0i3Z3Xsk/qwYgRINV/KdkyJdP8Oz3IBjxfP\nzG3QQWjPNDXKWN1gDUwbd8ForPWOg4ILgXS2bWUIC0sK+5NfIE6MOBqmL0MR\nboipgjBNw3otf3M6uuF2DDDFlDl9Uy93bz8InIwQPa2u0RW/o+Wyf/Ve81JK\nGaL7CdfM5PFXEXs1Q/ku5YrqvSwxxwAqDm7zBkIebg2sUrdLJDBS+GG/GJxd\naRwA4eD/hMY4/A/JtRtK1696fuMpeTyKQ7bKtJJc1BJywmDVU5sUZtmjwkyi\nUHUHSdVaSYlQNvs2LpsHETw9UKVyeKWsgTJoI2tT2lydE9oX2Peuh0EITD7W\ntnpO\r\n=PNkT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVcU400BmYD/3kc8VcWDFGbqzku48gV1eL28SNl3PuIgIgd8OApl1l5/iQbJlt4XNT/ySIy7krc3PeUUoUiw+9onM="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_3.1.2-alpha.8_1561598279938_0.18792251150419803"},"_hasShrinkwrap":false},"3.1.2-alpha.9":{"name":"react-use-localstorage","version":"3.1.2-alpha.9","description":"Use Local Storage with React hooks","author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","main":"dist/react-use-localstorage.esm.js","umd:main":"dist/react-use-localstorage.umd.production.js","module":"dist/react-use-localstorage.esm.js","typings":"dist/index.d.ts","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","version:alpha":"npm version prerelease --preid=alpha","publish:alpha":"npm publish --tag alpha"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@types/jest":"^24.0.13","@types/react":"^16.8.19","@types/react-dom":"^16.8.4","husky":"^2.4.1","prettier":"^1.18.2","pretty-quick":"^1.11.0","react":"^16.8.6","react-dom":"^16.8.6","tsdx":"^0.7.2","tslib":"^1.10.0","typescript":"^3.5.1"},"peerDependencies":{"react":"^16.8.0"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"},{"name":"VitorLuizC","email":"vitorluizc@outlook.com","url":"http://vitorluizc.github.io/"}],"readme":"# react-use-localstorage\r\n\r\n[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors)\r\n\r\n_depends on stable v16.8.1~_\r\n\r\n![version](https://img.shields.io/npm/v/react-use-localstorage.svg?style=flat-square)\r\n![size](https://img.shields.io/bundlephobia/min/react-use-localstorage.svg?style=flat-square)\r\n![minzippedsize](https://img.shields.io/bundlephobia/minzip/react-use-localstorage.svg?style=flat-square)\r\n\r\nAccess [Local Storage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) using [React hooks](https://reactjs.org/docs/hooks-intro.html).\r\n\r\nFork it on CodeSandbox\r\n[![Edit usestate-useeffect](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/09xj95vxl)\r\n\r\n## How to use it\r\n\r\n```javascript\r\nimport React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport useLocalStorage from 'react-use-localstorage';\r\n\r\nimport './styles.css';\r\n\r\nfunction App() {\r\n  const [item, setItem] = useLocalStorage('name', 'Initial Value');\r\n\r\n  return (\r\n    <div className=\"App\">\r\n      <h1>Set Name to store in Local Storage</h1>\r\n      <div>\r\n        <label>\r\n          Name:{' '}\r\n          <input\r\n            type=\"text\"\r\n            placeholder=\"Enter your name\"\r\n            value={item}\r\n            onChange={e => setItem(e.target.value)}\r\n          />\r\n        </label>\r\n      </div>\r\n    </div>\r\n  );\r\n}\r\n\r\nconst rootElement = document.getElementById('root');\r\nReactDOM.render(<App />, rootElement);\r\n```\r\n\r\n## Demo\r\n\r\n![demo](https://github.com/dance2die/react-use-localstorage/raw/master/react-use-localstorage.gif)\r\n\r\n## Changelog\r\n\r\n<details>\r\n<summary><b>Expand Changelog</b></summary>\r\n\r\n3.0.0\r\n\r\nDecided to go with @TheAifam5 the following breaking change as the type is derived from React type definition.\r\n\r\n- Breadking change: `setIteme` type is changed from `(item: string) => void` () to `React.Dispatch<string>`\r\n- Updated infrastructure by @TheAifam5 🙏 in [PR #13](https://github.com/dance2die/react-use-localstorage/pull/13)\r\n\r\n  - Dropped babel in favor of `tsc` + `uglifyjs`\r\n  - Replaced npm with yarn\r\n  - Added husky for pre-commit git hooks\r\n  - Source map has been dropped from distribution\r\n  - distribution is moved from `dist` to `lib` folder\r\n\r\n  2.4.1\r\n\r\n- Added `useLocalStorage` return type explicitly to generate correct `index.d.ts` typing file.\r\n\r\n  2.4.0\r\n\r\n- Added TypeScript typings as suggested by @TheAifam5 in Issue #9\r\n\r\n  2.3.0\r\n\r\n- Fixed a bug where initial value is returned all the time #7 by @lilasquared 🙏\r\n\r\n  2.2.0\r\n\r\n- Sets initial value in local storage\r\n\r\n  2.1.0\r\n\r\n- Can optionally pass an initial value\r\n- This is to prevent form field from being uncontrolled.\r\n\r\n  2.0.0\r\n\r\n- Breaking change - `setItem` doesn't require `key`\r\n\r\n  1.1.1\r\n\r\n- Updated to React v16.8.1, which contains the patched Hooks\r\n\r\n  1.1.0\r\n\r\n- Updated dev dependency version\r\n\r\n  1.0.0\r\n\r\n- Updated to React v16.8.0, which contains the stable Hooks\r\n\r\n  0.0.6\r\n\r\n- Changed the language from JavaScript to TypeScript\r\n- It has minimized the distribution file greatly\r\n  </details>\r\n\r\n## Contributors\r\n\r\nThanks goes to these wonderful people ([emoji key](https://github.com/all-contributors/all-contributors#emoji-key)):\r\n\r\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\r\n<!-- prettier-ignore -->\r\n<table><tr><td align=\"center\"><a href=\"https://github.com/lilasquared\"><img src=\"https://avatars3.githubusercontent.com/u/3036779?v=4\" width=\"100px;\" alt=\"Aaron Roberts\"/><br /><sub><b>Aaron Roberts</b></sub></a><br /><a href=\"#ideas-lilasquared\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/dance2die/react-use-localstorage/issues?q=author%3Alilasquared\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=lilasquared\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://twitter.com/dance2die\"><img src=\"https://avatars1.githubusercontent.com/u/8465237?v=4\" width=\"100px;\" alt=\"Sung Kim\"/><br /><sub><b>Sung Kim</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=dance2die\" title=\"Code\">💻</a> <a href=\"https://github.com/dance2die/react-use-localstorage/issues?q=author%3Adance2die\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=dance2die\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://theaifam5.eu/\"><img src=\"https://avatars3.githubusercontent.com/u/2192274?v=4\" width=\"100px;\" alt=\"TheAifam5\"/><br /><sub><b>TheAifam5</b></sub></a><br /><a href=\"#ideas-TheAifam5\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=TheAifam5\" title=\"Code\">💻</a> <a href=\"#infra-TheAifam5\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td><td align=\"center\"><a href=\"http://vitorluizc.github.io\"><img src=\"https://avatars1.githubusercontent.com/u/9027363?v=4\" width=\"100px;\" alt=\"Vitor Luiz Cavalcanti\"/><br /><sub><b>Vitor Luiz Cavalcanti</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=VitorLuizC\" title=\"Code\">💻</a></td></tr></table>\r\n\r\n<!-- ALL-CONTRIBUTORS-LIST:END -->\r\n\r\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\r\n","readmeFilename":"README.md","gitHead":"28ee6937e9c915921fd65b33d3001685e704457a","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@3.1.2-alpha.9","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-B2mxrb3ey8Vmho4I19wWEtblgDuLUKun4KIMy0A7ohU2DZl7gbBezKStY6Zo9nYY2fSpeT0ECEB5s5tESB5d1w==","shasum":"228f38e9ab08932d356a9440932770e4ee382ae3","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-3.1.2-alpha.9.tgz","fileCount":10,"unpackedSize":12816,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFBnbCRA9TVsSAnZWagAA9jMP/3JNerRXn4Je+FgP87pM\nYHiYfzDbr6HmyC06EzGr5vfJ9mLwxolUEPXUnrhFOSxzN0kq56fg04I2Vsoq\ns0ySExZK3jq28Bw1KrXrRKx568+C141YwEnOFgQPU9HNsCxfOUsGQrO+cNtT\n5cTJCnXmk7l7bVt5BNIFIfvG3Doo1IJmmqg3T46gF/8vbxMvHjzcM/CQ+5ux\nAoIviSrVL9okdVYtT1awQv6y9xNuzGOfvcAH6zFRDIZ00uYAOJnec/SeWNjz\n5VyETArod9/Sn4Ka1n2WzQrOUuqh+f4HOXfnooVd0w3bI4ycH3mrzgAEciqI\nzsU37DPLoqn3j/BQTBJT23+vO/5+YwS/K4JehB5SUBNpRmzpFyMsYVix+I2W\nwlREB4hoLCHr8WCRGaIfIAAHa13t2dMu9zLdUJwSyB6Fgi4H2iAdzknR/Nj6\n8nYwJ9V8Knaf3BSgpIlxN9NosWOnhObPNwUpt/u27Fw1txbycxUqspZ+DZ+C\ngQZYR32KZ7YBvx9Su+U9dr1n47chytjpRm737jv7R1BON15jFCQR1+u58mob\nuJvwDNRzy9WI/SxoxVUMX8M0o5NQHsMdE5Tx+BW6HVH11HvMpzTKb/lfmBa7\ndtaw/fgv6SEojVplKjS/+7tqk9PKpSzMeZg5ODOjRIVS95r+oy+Y7lLpI09z\nwJMp\r\n=VjAC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFj4zIqxH/IJybJ6rWk4GJuZAOafkT0oBskuV4y8MPsbAiAUemBD0qIAnzrCzwmfUVCcHmIc/EqMvFAcznlXRZFdMA=="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_3.1.2-alpha.9_1561598426887_0.5556221088567821"},"_hasShrinkwrap":false},"3.2.0":{"name":"react-use-localstorage","version":"3.2.0","description":"Use Local Storage with React hooks","author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","main":"dist/react-use-localstorage.esm.js","umd:main":"dist/react-use-localstorage.umd.production.js","module":"dist/react-use-localstorage.esm.js","typings":"dist/index.d.ts","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","version:alpha":"npm version prerelease --preid=alpha","publish:alpha":"npm publish --tag alpha"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@types/jest":"^24.0.13","@types/react":"^16.8.19","@types/react-dom":"^16.8.4","husky":"^2.4.1","prettier":"^1.18.2","pretty-quick":"^1.11.0","react":"^16.8.6","react-dom":"^16.8.6","tsdx":"^0.7.2","tslib":"^1.10.0","typescript":"^3.5.1"},"peerDependencies":{"react":"^16.8.0"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"},{"name":"VitorLuizC","email":"vitorluizc@outlook.com","url":"http://vitorluizc.github.io/"}],"gitHead":"18a970b2c2c00fe0863add083f631e12a95ca7b9","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@3.2.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-R7xngCR82Bq3Hxw68NK0aQGexTkjxB1pvhZr1oLvZoP8VDWsLs0OkBzXtwJSe1Cwy0PyJwngCLIf26AsLQl0ag==","shasum":"196090d03ef1cb3f0f2c974d5c5a00c1e1d6e1c8","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-3.2.0.tgz","fileCount":10,"unpackedSize":12808,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFBrZCRA9TVsSAnZWagAA4rkQAIH8wjoRb/qqEYKspwtA\nfqX0QZmfw9TCYSnAiY+bES0dnoR3vcmLH8a4pChZ/CmHZS3+W4m3qBUKlL2d\n13jx3XjTHc0el8XDtkroRh0FaHxG1wERciVUxOpjI46sXsGUQu/hY2KP6Uug\neY5s24nBzzXKZ9qNO95Kr1K3TKZrXeSh3cccr4ZdXQ4s9quLhnDYhmqLKj66\npkYl7tZTJtx756YSHsMDIJv2/3vtjnI7/oOhQfwQkoEzDytQJF1R1xsQCOoe\nWEdHOtBDdjyAl3tgbswmh8J5Tg8r4eqQf5bTA8LqOl4CaFSK+f92iPWFz0gy\nW0i6AFL1xn+RPSMsp56C39iMEzsi/Z3awQDiQpOHfR1WaWFO9bH38ldAD7PM\noeFn+pqxDYZuD9LedS4h1XRyBn/wOih9vocPySelcz1Y8kg4eP1qil05/6G0\n+htqSkqkeX+nz6MVEwJIW1UcNRYXajSEK2feuCcMKB2X/fK2YSOBRL4zGcMi\nqh85IflvIyEPWhG/5sLv+OoeVQw7cmObkABLi3NlS40ugoCI4tbSXeHsaEy7\nP16TPX4nsvj3q3G6fyNu5Dn8jEQ3mJJo/lFNDRVighjFU3Xd7FBC32MIpOW3\n53g1OYkKLMtvdLj0GrxPM6kGjM2LRqbTRACcWt9MoffbhBYmfwskQ5h2lKA0\nhPKL\r\n=BPz1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHDnnmZ/Aavxp7S1Gfo1NfKdQlZeu7OlBKa4U5PVPmVgAiB196dHtycr5ZAlAZYKWqxLv7blyCMlsRYDVSXaQff8tQ=="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_3.2.0_1561598680676_0.11671362861594936"},"_hasShrinkwrap":false},"3.2.1-alpha.0":{"name":"react-use-localstorage","version":"3.2.1-alpha.0","description":"Use Local Storage with React hooks","author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","typings":"dist/index.d.ts","main":"dist/react-use-localstorage.esm.js","umd:main":"dist/react-use-localstorage.umd.production.min.js","module":"dist/react-use-localstorage.esm.js","cdn":"dist/react-use-localstorage.umd.production.min.js","unpkg":"dist/react-use-localstorage.umd.production.min.js","jsdelivr":"dist/react-use-localstorage.umd.production.min.js","scripts":{"start":"tsdx watch --format cjs,esm,umd","build":"tsdx build --format cjs,esm,umd","test":"tsdx test --env=jsdom","version:alpha":"npm version prerelease --preid=alpha","publish:alpha":"npm publish --tag alpha"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@types/jest":"^24.0.13","@types/react":"^16.8.19","@types/react-dom":"^16.8.4","husky":"^2.4.1","prettier":"^1.18.2","pretty-quick":"^1.11.0","react":"^16.8.6","react-dom":"^16.8.6","tsdx":"^0.7.2","tslib":"^1.10.0","typescript":"^3.5.1"},"peerDependencies":{"react":"^16.8.0"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"},{"name":"VitorLuizC","email":"vitorluizc@outlook.com","url":"http://vitorluizc.github.io/"}],"readme":"# react-use-localstorage\r\n\r\n[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors)\r\n\r\n_depends on stable v16.8.1~_\r\n\r\n![version](https://img.shields.io/npm/v/react-use-localstorage.svg?style=flat-square)\r\n![size](https://img.shields.io/bundlephobia/min/react-use-localstorage.svg?style=flat-square)\r\n![minzippedsize](https://img.shields.io/bundlephobia/minzip/react-use-localstorage.svg?style=flat-square)\r\n\r\nAccess [Local Storage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) using [React hooks](https://reactjs.org/docs/hooks-intro.html).\r\n\r\nFork it on CodeSandbox\r\n[![Edit usestate-useeffect](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/09xj95vxl)\r\n\r\n## How to use it\r\n\r\n```javascript\r\nimport React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport useLocalStorage from 'react-use-localstorage';\r\n\r\nimport './styles.css';\r\n\r\nfunction App() {\r\n  const [item, setItem] = useLocalStorage('name', 'Initial Value');\r\n\r\n  return (\r\n    <div className=\"App\">\r\n      <h1>Set Name to store in Local Storage</h1>\r\n      <div>\r\n        <label>\r\n          Name:{' '}\r\n          <input\r\n            type=\"text\"\r\n            placeholder=\"Enter your name\"\r\n            value={item}\r\n            onChange={e => setItem(e.target.value)}\r\n          />\r\n        </label>\r\n      </div>\r\n    </div>\r\n  );\r\n}\r\n\r\nconst rootElement = document.getElementById('root');\r\nReactDOM.render(<App />, rootElement);\r\n```\r\n\r\n## Demo\r\n\r\n![demo](https://github.com/dance2die/react-use-localstorage/raw/master/react-use-localstorage.gif)\r\n\r\n## Changelog\r\n\r\n<details>\r\n<summary><b>Expand Changelog</b></summary>\r\n\r\n3.0.0\r\n\r\nDecided to go with @TheAifam5 the following breaking change as the type is derived from React type definition.\r\n\r\n- Breadking change: `setIteme` type is changed from `(item: string) => void` () to `React.Dispatch<string>`\r\n- Updated infrastructure by @TheAifam5 🙏 in [PR #13](https://github.com/dance2die/react-use-localstorage/pull/13)\r\n\r\n  - Dropped babel in favor of `tsc` + `uglifyjs`\r\n  - Replaced npm with yarn\r\n  - Added husky for pre-commit git hooks\r\n  - Source map has been dropped from distribution\r\n  - distribution is moved from `dist` to `lib` folder\r\n\r\n  2.4.1\r\n\r\n- Added `useLocalStorage` return type explicitly to generate correct `index.d.ts` typing file.\r\n\r\n  2.4.0\r\n\r\n- Added TypeScript typings as suggested by @TheAifam5 in Issue #9\r\n\r\n  2.3.0\r\n\r\n- Fixed a bug where initial value is returned all the time #7 by @lilasquared 🙏\r\n\r\n  2.2.0\r\n\r\n- Sets initial value in local storage\r\n\r\n  2.1.0\r\n\r\n- Can optionally pass an initial value\r\n- This is to prevent form field from being uncontrolled.\r\n\r\n  2.0.0\r\n\r\n- Breaking change - `setItem` doesn't require `key`\r\n\r\n  1.1.1\r\n\r\n- Updated to React v16.8.1, which contains the patched Hooks\r\n\r\n  1.1.0\r\n\r\n- Updated dev dependency version\r\n\r\n  1.0.0\r\n\r\n- Updated to React v16.8.0, which contains the stable Hooks\r\n\r\n  0.0.6\r\n\r\n- Changed the language from JavaScript to TypeScript\r\n- It has minimized the distribution file greatly\r\n  </details>\r\n\r\n## Contributors\r\n\r\nThanks goes to these wonderful people ([emoji key](https://github.com/all-contributors/all-contributors#emoji-key)):\r\n\r\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\r\n<!-- prettier-ignore -->\r\n<table><tr><td align=\"center\"><a href=\"https://github.com/lilasquared\"><img src=\"https://avatars3.githubusercontent.com/u/3036779?v=4\" width=\"100px;\" alt=\"Aaron Roberts\"/><br /><sub><b>Aaron Roberts</b></sub></a><br /><a href=\"#ideas-lilasquared\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/dance2die/react-use-localstorage/issues?q=author%3Alilasquared\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=lilasquared\" title=\"Code\">💻</a></td><td align=\"center\"><a href=\"https://twitter.com/dance2die\"><img src=\"https://avatars1.githubusercontent.com/u/8465237?v=4\" width=\"100px;\" alt=\"Sung Kim\"/><br /><sub><b>Sung Kim</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=dance2die\" title=\"Code\">💻</a> <a href=\"https://github.com/dance2die/react-use-localstorage/issues?q=author%3Adance2die\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=dance2die\" title=\"Documentation\">📖</a></td><td align=\"center\"><a href=\"https://theaifam5.eu/\"><img src=\"https://avatars3.githubusercontent.com/u/2192274?v=4\" width=\"100px;\" alt=\"TheAifam5\"/><br /><sub><b>TheAifam5</b></sub></a><br /><a href=\"#ideas-TheAifam5\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=TheAifam5\" title=\"Code\">💻</a> <a href=\"#infra-TheAifam5\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td><td align=\"center\"><a href=\"http://vitorluizc.github.io\"><img src=\"https://avatars1.githubusercontent.com/u/9027363?v=4\" width=\"100px;\" alt=\"Vitor Luiz Cavalcanti\"/><br /><sub><b>Vitor Luiz Cavalcanti</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=VitorLuizC\" title=\"Code\">💻</a></td></tr></table>\r\n\r\n<!-- ALL-CONTRIBUTORS-LIST:END -->\r\n\r\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\r\n","readmeFilename":"README.md","gitHead":"2d31c5c3c5ce9509b192a13261cffc4669646697","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@3.2.1-alpha.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-2kmpPonLQDPo70HZTqiSUaV9YkWGSbfuz7Z6Lwv1cpel/hoN31cEHD9GpdnP9V9btpE+5egOTDYmFTR0G1eO3A==","shasum":"fe0c29a11e46006ef56d32cfd4e5bcaf2835a4ab","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-3.2.1-alpha.0.tgz","fileCount":15,"unpackedSize":16321,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFCBpCRA9TVsSAnZWagAAb2kQAI3ZVzv2CaN1XgcGccJw\nZVXXtddt9aIxuzS3OxcEk/TGPTpqi7TGjYuKMvNvYNKA9Q66rsk2m2FeZbE9\nl+oWvYIqy8HoIjd8K1fUEkxTrYLVc5n42Ukk6sop7sTlHMcMQTH6dlUvZkfa\nKwkUQ+c1bQoJV1Vx0oGL1Rj8Ewz2shDCZL0ZhbNu1pt37JN/KSWyxYnED8bl\nrWNR448mQ8zg9QjO47S1ftKbpxDXLBygKNlm2e8KJunUBEoRN4bploBy+y8X\n58Vw2QH5rpA/A34ISIprrc6ztosbz5I2yqE9wqMArgLeNbnJm7F6wzCKsAOJ\ntXslKIDJEt00VjQz9BSU0FtACrNBlU2cKzs+arMl+YCYjpnvD7f182yLUZlt\nG1M7K2HH0IS5Ndk77pUqkfmipqYeYzQFBAF19ZLI7/0GCcBfoaiqb/OeXM3K\nyGP/da+RsS0WfTs3JqqGe2tmM1uOLOYldEa6IaEzTK0wPD91t2j69cr62GEI\nIhiBrzop5I+ZJiveCGOXxryjFBWMQ1nKOsnov/RNGnuaydAXh8r9qW77OlN6\nTDC1hPTFRbzBHPBH7SIVB1RFzdhm/I6+Fzdkll/LwrRPguMjJQdEB8HFHfl3\nfOG2u0mVLoXvAvMHVJCnY5Qq/M9cOy135SLGe+xnT5cb12LgU48FiB0WVu4D\n/40q\r\n=51Y1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICybeY5Y/UWibn8kUEbn2wm1fSSYymD3e+Ko5iUIV7BhAiEA1xUHoeBeAuDygOH1JRheqVpy0SRNRfoWsFmoRoRgBtA="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_3.2.1-alpha.0_1561600104694_0.8391174449171579"},"_hasShrinkwrap":false},"3.2.1":{"name":"react-use-localstorage","version":"3.2.1","description":"Use Local Storage with React hooks","author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","main":"dist/react-use-localstorage.esm.js","umd:main":"dist/react-use-localstorage.umd.production.js","module":"dist/react-use-localstorage.esm.js","typings":"dist/index.d.ts","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","version:alpha":"npm version prerelease --preid=alpha","publish:alpha":"npm publish --tag alpha"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@testing-library/react-hooks":"^1.1.0","@types/jest":"^24.0.13","@types/react":"^16.8.19","@types/react-dom":"^16.8.4","husky":"^2.4.1","prettier":"^1.18.2","pretty-quick":"^1.11.0","react":"^16.8.6","react-dom":"^16.8.6","react-test-renderer":"^16.8.6","tsdx":"^0.7.2","tslib":"^1.10.0","typescript":"^3.5.1"},"peerDependencies":{"react":"^16.8.0"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"jest":{"setupFiles":["./test/setup.ts"]},"contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"},{"name":"VitorLuizC","email":"vitorluizc@outlook.com","url":"http://vitorluizc.github.io/"}],"gitHead":"e405395da3d2d910761be0e9bdc5e8bd0abd2683","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@3.2.1","_nodeVersion":"12.7.0","_npmVersion":"6.10.0","dist":{"integrity":"sha512-X2fHZo/g2EmWpbuojgmD1UODdjcrEliY2XyXAHeN/bpuxuDhTq///tKHwfgRelo8q7YsKHHQryMUF7FAX+JH3w==","shasum":"adbc34e4b90e64a00646c23c5415a2e7abe05ad9","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-3.2.1.tgz","fileCount":17,"unpackedSize":18662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZHu/CRA9TVsSAnZWagAA/NMP/02VBePY8CpSirwTOPz0\nNcIa6rAv9dkXAoMp6p+LqKrm0EWuX/P6WXFzQ7tELJpaeUK1JZBIlSPfny35\nbaGaMFpUd44NEyjquz4ExMdBYRzdYdLp82C0Ubmf5a9tx101Jsr9/nnmvVPo\nwGBgRXOQ+y4J/MRXC9CSSQs0FWf7HlJZLOiPZj1jytJXBEMdK+3q2h9+nc4c\nR3uWkcV2SSS4ne3V40n24s81q5O7ma0Rhrp39rNHkvKAbqDkR1IX3shMbSFZ\nDwUKo1Ex+fse1MkRX+qOgfuALTAthCbZYwh0kidFsgtsKiyj5GkHpfSWZ3Fb\n0FbMIw/uq9nDlbwdMB0dkRqH1CzS/JnjjDZMn5G787oq40dlRA4Lr3gSjses\nIwXkXeu3mEC6XnVOJNWzg8LKRwJFFtcaXrrVv4K4qgH5PFh/ygaVcPtYtYlK\naEpAbospXUlUeaTSn+o9o2h5slMmyN7snPalOPuUy+pLRHG4bVqJbi7RLPex\n/tZH51rbNnkdbYdheTygj4ZKrlyFgjEmIo2WrYMYttvNKK+R3DGAQteGRMG1\nFy3xMexwoqbmNAcPNmsXaJD2TTiHBD6tXEq8LhL1r/psMy2LVyRHi7V0tvkj\nTs2tt0+LNtbkj9lJiKraRGWRNZMqBXLciHUyajIq+XiKSZIX6KnGSGp/EXzM\nXGKf\r\n=iHtp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpiu8Wx3SekfLwJvr7lU1iQjbmEzoKhVkxLy+iWeCXAwIhAMp4BOuKgxwh7Ws2EzxNxPCQnRRHtZ94/GQOzIjfRnu4"}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_3.2.1_1566866366230_0.21018578211463934"},"_hasShrinkwrap":false},"3.2.2":{"name":"react-use-localstorage","version":"3.2.2","description":"Use Local Storage with React hooks","author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","main":"dist/react-use-localstorage.esm.js","umd:main":"dist/react-use-localstorage.umd.production.js","module":"dist/react-use-localstorage.esm.js","typings":"dist/index.d.ts","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","version:alpha":"npm version prerelease --preid=alpha","publish:alpha":"npm publish --tag alpha"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@testing-library/react-hooks":"^2.0.3","@types/jest":"^24.0.18","@types/react":"^16.9.5","@types/react-dom":"^16.9.1","husky":"^3.0.8","prettier":"^1.18.2","pretty-quick":"^1.11.1","react":"^16.8.6","react-dom":"^16.10.2","react-test-renderer":"^16.10.2","tsdx":"^0.9.3","tslib":"^1.10.0","typescript":"^3.6.3"},"peerDependencies":{"react":"^16.10.2"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"jest":{"setupFiles":["./test/setup.ts"]},"contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"},{"name":"VitorLuizC","email":"vitorluizc@outlook.com","url":"http://vitorluizc.github.io/"}],"gitHead":"9664a8a1e621922795bcb03bb61f97a112a176be","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@3.2.2","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-7xBjtBK9gy127Yob5BaGf045VSiW3CTt/ewNnawHMxjLH+jLhAqN9LAGVO8jaMIxl0V0bLZ4WW6Zs6VtB78UcA==","shasum":"ebb74b09accc0c03397e385b49978acc2a27f631","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-3.2.2.tgz","fileCount":17,"unpackedSize":18664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnhFfCRA9TVsSAnZWagAA7x4QAJCqYkwvAIcjBWwQpVvV\ncA+3/mNs5dkOh+epOR3Y9jjm8GB27h7O2kHbbsM37SJsMWy2vhUG9M4xcnzs\nG8dxFCoTHOOfSwVkokvsYN+sBWj+ivvkGdXwxG8CZOlYUiOX/TfUvOf3u88o\ngVeEbq++iK4Jm87ICGA6fcNxFajYicPijAcZCHEZbK7WGaknDXCRwarjBvBC\nJJMKfE7azRlq1Do+muHyIprbh3siGhtcOs+v52vVaID1azacaDxUGFbED3Sw\nUN98ILW05eBoX4g6ItPtURh5+uRnoRqE2FcxBCYNtGN3HKLRx1vrjtcJ/syS\nb69yQ3VAkZOvC1ZHFJVTLAPt4f6n51P4kqWHeq7Ku2VO213AaqDZSeixGW6f\n1AVJE2EXoE9mwdGscimkbSwKrKvHBJAQgsORXsex+ZvY8Ls9i71RKcfcq88g\nARtbtpgbfox6i+Yfdx1N603xM/OCCkQDZkGribfsBD9toDSTK5SL+XJNXykN\nY8/eHX8yYKfQDGqcCAfVE1CRPTc7bLzvhahftEwbzt1aick/SHOEbg4g6NBe\nK1WSnrxsZrrNbiTG13+KNU/BlDJek0kNN10JPW8r9whzqYku6dWXF63KI/BQ\nIFSGafQyy54mCpUJZZXf1qlWY7ZkoymBZx3nanCyn94N+5eqWrqd2g2Cu/uA\nu4S9\r\n=+VJZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpCPhZRLviQrHQLhTt7VxwvIVtutQcYlS5v6eIpnBvxQIhAKqvDdrXICxdClcixGMX6hYaew90ttUU8gIlIU+wNek/"}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_3.2.2_1570640222482_0.09926073589488316"},"_hasShrinkwrap":false},"3.3.0":{"name":"react-use-localstorage","version":"3.3.0","description":"Use Local Storage with React hooks","author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","main":"dist/react-use-localstorage.esm.js","umd:main":"dist/react-use-localstorage.umd.production.js","module":"dist/react-use-localstorage.esm.js","typings":"dist/index.d.ts","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","version:alpha":"npm version prerelease --preid=alpha","publish:alpha":"npm publish --tag alpha"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@testing-library/react-hooks":"^2.0.3","@types/jest":"^24.0.18","@types/react":"^16.9.5","@types/react-dom":"^16.9.1","husky":"^3.0.8","prettier":"^1.18.2","pretty-quick":"^1.11.1","react":"^16.8.6","react-dom":"^16.10.2","react-test-renderer":"^16.10.2","tsdx":"^0.9.3","tslib":"^1.10.0","typescript":"^3.6.3"},"peerDependencies":{"react":"^16.10.2"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"jest":{"setupFiles":["./test/setup.ts"]},"contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"},{"name":"VitorLuizC","email":"vitorluizc@outlook.com","url":"http://vitorluizc.github.io/"}],"gitHead":"48af6cf086b17f5ca854033cc5ecbed4a16e5f6b","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@3.3.0","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-RbEBD2bUv0yAd31Z3cJlSX8oupzvS08eczpEB4TLMmEP7yYgWAYaGaYvtrizzlLN71kpsY9fJGSA9soKDSi0+A==","shasum":"e5bacedba80b4cfc74396d6ed592db027a07613f","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-3.3.0.tgz","fileCount":17,"unpackedSize":18664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdtKWDCRA9TVsSAnZWagAAYj4P/0is0MZyIhvQY6TryrPa\nn3fo3GpjB/7iSSPvKXPG0Bou6kpJLo9sbqKOCbsr2aloNcIkd1wW8x0sSSrs\nqAL8v6Z6RFBx4UqNK4wZqLT7Cb/eelddQgJizyTK/pDP8T7UbG9ybC5J9hYp\nmySGjvQ6Mc3hEDEClJgB11iC6pc5+Q+/0NJLAX5+dIPaW+nzb8yxOV2Wu6K1\nupEGUuhCVwoiVgAj0sJxcSBg9Qtk4jtbqjqZ9xGvOyWtV9bnv7uH8f7qvnVY\ntNl+8rqJHB+4+r4Z0UgTJT1T+3TGUHNySDJWxWWn5+u/ZKxQ1EKfEvJzPVdn\n6PMQkeBoJu/u+8WoCQPzQ9cZ8HgCF19s3LFl2x5w/BNDJs2/OR1KVy9S+ov8\nGzn22hnhoZxuTTCUP6glJyQBI5QfidGT5Y8XtGbTUGciBh8jQQk+u6LruHkv\nlByeMPwTorltEtxEW+q0663HBdjZx+4x49g+RRw3+3JVXioxIyQIITdcaWCm\n1Il6O3NdPF3PhTR+BbaFnLx0x2KbjhyF8X0AwU9/foFwZP3+EDY1eut5ZW2G\n3zLIwPR34hOB2qChZ41Q6DM6IKvUpA6xuywnlouw0jDhH99oV5SE0EgBgmKM\nAS5zU8g79K8IFcZuHvwOSRSluVMmz0wf0yWvzCTazw7eCWXGHjXdnUKxGg7m\nYooQ\r\n=JViM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA80Ghd1GSdllS/1A3yLy8EKiLF7kyMQhTHYwFXjwiPCAiEA7O+04Wc0G1uZkS7nCmfFLoV80KUQlXqAcGKl4rxye5c="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_3.3.0_1572119938529_0.5914184745162576"},"_hasShrinkwrap":false},"3.3.1":{"name":"react-use-localstorage","version":"3.3.1","description":"Use Local Storage with React hooks","author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","main":"dist/react-use-localstorage.esm.js","umd:main":"dist/react-use-localstorage.umd.production.js","module":"dist/react-use-localstorage.esm.js","typings":"dist/index.d.ts","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","version:alpha":"npm version prerelease --preid=alpha","publish:alpha":"npm publish --tag alpha"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@testing-library/react-hooks":"^2.0.3","@types/jest":"^24.0.18","@types/react":"^16.9.5","@types/react-dom":"^16.9.1","husky":"^3.0.8","prettier":"^1.18.2","pretty-quick":"^1.11.1","react":"^16.8.6","react-dom":"^16.10.2","react-test-renderer":"^16.10.2","tsdx":"^0.9.3","tslib":"^1.10.0","typescript":"^3.6.3"},"peerDependencies":{"react":"^16.10.2"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"jest":{"setupFiles":["./test/setup.ts"]},"contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"},{"name":"VitorLuizC","email":"vitorluizc@outlook.com","url":"http://vitorluizc.github.io/"}],"gitHead":"ea7d3dfd6bda9d47d9f621685a395d3c1f20046f","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@3.3.1","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-EKL6w2Vz8YkkIsPcEe7HGEKyOQHXlYB8JqphpoSuCeoZPFp3RVHue4QSWflfvHDpxbt/hgSYeX+EGnC9D56CTQ==","shasum":"ebc7b2891aa051c0346644288e470d3ff4931040","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-3.3.1.tgz","fileCount":17,"unpackedSize":18873,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdtKYjCRA9TVsSAnZWagAAeI0P/3hRh8aZ7wrPGaSR0k/f\nVu8v4bsN8XMybKTnJgixyyxOX4Ttjy+j5NbhiKMrp+/MEpH0kjs/n6IbfqiF\nsxD1KfcJxstqTFOhigIn0RtvEpbxHwGQ1Sv2Bt9cOMPFH3kr5dtxkVgUPAsi\nYmK0RkCW4XI1l/R4akzOxGtGH7NGrEr+l3aAFDclpvmDse9HgJyA0OYZ1UMr\nu/kuFVb1MdzXTPkCCJQ6QBluBaiWW6FsjUjcMEQ82+9wX4OwF7LnBvgE9yNN\n+NP4JQJC702+2YwBfv68YAWwMtSPkoYerxtwttD1t0OCn3NgB8xvLVXteXUT\ncxMzmi4g+wS5zUyDysqWxtMbE/fmIxIPGgxIqahNxt/aOxFzPNiYHNav9C02\n8Bp52ebmaPJ3zbr1zOfIZ/D+1bjRcF7Tez6kqp3b+2ez+1gXzwbH1GxnpU2p\nWKsn0h8jflJhOpp9hyYs2evOWC/ev+q/uqqzaj0hULC6qZs8ZzbcJZfKAS0s\nlm+7BdYdMpDVTFftQ3uH3be9Y/vm5FUtXFsQ2bJiXCtMkW+KL3CZ17kh+SGD\nVaj13uvmfiJiA+aqW3PfPV7VqdEZxMI/axmvgHIWYGeHddg/gPnb2wZtUp7I\nzfJX1LDPTsLCrYM74x79B1MgdwyeaRh17/cXPPOgwPlpZsiG3UvZvFM9qg9i\n33YC\r\n=XVNB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUkiau8jf8tToGEAMxHIOMIOavGs2GHFatj3PJBkmToQIgMegBf/SD2UEBz9WQQKPi++nIUO0HIXmdXSGMeZvHYRg="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_3.3.1_1572120099107_0.6562389012583723"},"_hasShrinkwrap":false},"3.3.2":{"name":"react-use-localstorage","version":"3.3.2","description":"Use Local Storage with React hooks","author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","main":"dist/react-use-localstorage.esm.js","umd:main":"dist/react-use-localstorage.umd.production.js","module":"dist/react-use-localstorage.esm.js","typings":"dist/index.d.ts","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","version:alpha":"npm version prerelease --preid=alpha","publish:alpha":"npm publish --tag alpha","prepublishOnly":"tsdx build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@testing-library/react-hooks":"^2.0.3","@types/jest":"^24.0.18","@types/react":"^16.9.5","@types/react-dom":"^16.9.1","husky":"^3.0.8","prettier":"^1.18.2","pretty-quick":"^1.11.1","react":"^16.8.6","react-dom":"^16.10.2","react-test-renderer":"^16.10.2","tsdx":"^0.9.3","tslib":"^1.10.0","typescript":"^3.6.3"},"peerDependencies":{"react":"^16.10.2"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"jest":{"setupFiles":["./test/setup.ts"]},"contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"},{"name":"VitorLuizC","email":"vitorluizc@outlook.com","url":"http://vitorluizc.github.io/"}],"gitHead":"eec2a7b6ea304d074c6c437df62a825478f38acf","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@3.3.2","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-5pVtbOYBjZm4rIKaPYyBl9w8fe8ZbspschHv61UCLftYhhwKVF01XeEvBQuaXzBXFhiCzS7/qV56oJvfuPF3Pw==","shasum":"184ab0a442772e1ed8cc82de291845bab00fb98f","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-3.3.2.tgz","fileCount":13,"unpackedSize":15551,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdttB8CRA9TVsSAnZWagAA7okQAJOG/6vyFfyKBo4zP1bj\n2p9RjUrTH4u1lQ/Z2j5ZCHtweEOnrtZZhjP+yJB9PXtGK5xzMOVeHJTduwTr\ndslGoGFCxeh2tgFmeOUHtuvfsIeSsdOm0H2dA1iH/l0sxejGiKLK1U+eyu8K\n7P7Ee3XIA38ENoejy4yC7AkNODQHsNSWhc2lOGdIduStCi8fzmqarS4BQPkK\nfXnxRu6h63bYsdXZ8J3HUtH0AxCk870YP8zusx6b7XwG58WJNpBFQr/nqrU+\nfE9L/ZiPMxVcx9uUEGyIpYTkl4weQ7qS97BINVtxyi+/zxRI9nzCkx8jBIqK\nD4FNFD2eUilQXSGMOrDuMRsrOoZF2eH2fUkHPZq55sOdjyxg1tfh2y0BBaaY\nnA3rU6HyFbDGaTHghdEYI9icRhzKKtgsNasilZr3M/Ih6Aid4aj4fMnUN3rW\n8QkEcHN5npBRTo6CdvGPssBjMN5vHZYyMeuRkGuSqWXHHtF1oXTC+cobouSh\n7Y7qCfFcEOy2ZD7T5+/0BB1jMX+HkkemigwSsln+8UuKBRkuH9Ebkp2U+Llu\nM6SO4BR8jjG75ObOD+SIqn/tubkI9guO2bJlRezcO40fKk7OPtZGV6rnn57Q\nWDTKRPbShHgUeO7hpSBvXABWDmth7yjVQg690V9TFf1l9snBKlzyHg8hRx4m\n7LqF\r\n=2SEF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCS4X8tZsS5A8vxjcRLz69Mz+PBY3D3/CpQYh+yo2X7UwIgYOMdiGatPghUHKXqiPkcy5N89W8THmS4/jdHjvYTnaE="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_3.3.2_1572262011573_0.0944774116576319"},"_hasShrinkwrap":false},"3.4.1":{"name":"react-use-localstorage","version":"3.4.1","description":"Use Local Storage with React hooks","author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","main":"dist/react-use-localstorage.esm.js","umd:main":"dist/react-use-localstorage.umd.production.js","module":"dist/react-use-localstorage.esm.js","typings":"dist/index.d.ts","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","version:alpha":"npm version prerelease --preid=alpha","publish:alpha":"npm publish --tag alpha","prepublishOnly":"tsdx build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@testing-library/react-hooks":"^2.0.3","@types/jest":"^24.0.18","@types/react":"^16.9.5","@types/react-dom":"^16.9.1","husky":"^3.0.8","prettier":"^1.18.2","pretty-quick":"^1.11.1","react":"^16.8.6","react-dom":"^16.10.2","react-test-renderer":"^16.10.2","tsdx":"^0.9.3","tslib":"^1.10.0","typescript":"^3.6.3"},"peerDependencies":{"react":"^16.10.2"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"jest":{"setupFiles":["./test/setup.ts"]},"contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"},{"name":"VitorLuizC","email":"vitorluizc@outlook.com","url":"http://vitorluizc.github.io/"}],"gitHead":"4c213ea6d0b21dce91e6ccfc4c3860cff30ef39f","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@3.4.1","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-OKKAQT3CeDWGhoboE78XchXRJkxCYIFNZBM5gfiBxOcaMQU+CSP7d3iyBHwpgdSen2DlIdy2ZvExwIk4oci3pg==","shasum":"29d802012c0c116bae687e3abc9b47b4eb700b02","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-3.4.1.tgz","fileCount":13,"unpackedSize":20597,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2uWbCRA9TVsSAnZWagAALQUP/RU1Aj0I2HqZNYs7IJZZ\nf38GQ4LUmLA2Z7VFTeJ7fJz7NQzk24dDLZ6/Jg4VgWFIzO2nPIjMwGL4VYK5\nnQ3VqQWaqnWg6URwLqxC1Rp6/uww+KuBz0lmhZ3vf34sX58zYig78VaGU7BK\nR7lY4MhE0jv8P0hpaZ5OHv6vU7Z9dzMikVIXVblH2ewtxDlv3H0bYbS9i8P4\nCX+v+CxD3YN1merJy/6jFlf6qhs0CB5QQOoGDUoNuLj8ycHc9sdtqQr48nr+\nXCSjST8UB2Mtpv1ZYunCN8NlL2HX1TEy/E5oNqZgdQx27Et2wnOtZE+3+HKA\neS57ObsdN53QPZZfXR9cmU044xkAlFptWYJRJMEExRo+/qYYfApHot0tYKOE\n97sHTR2yBlSHSDg5xhtXXIgjTJg3gw9p/L8i7V2Xql3Ty9UnlhiEPmskAk+7\n1LlyHRwckIIyq8tDYQWdqgOXHHVcITurxAWsxfYjMt17Z1Wj5he15eO5k0Xb\n1jiP0jUvSpSlVjlstOiCNkt1W3q1GdCaSwHF0aLG/UK4r1wguX7qW3yyl7vo\nVmLjolyUGr5xtZNcz4ZM0ujcHnk7GrIJUjRxCTtO6Opoed0dPOrUg50P+dvy\nSCpxNVCXs1kZbVXiAKhevkOm4w9UIdB5JxCTcIP4dLu7HslsJlr+iWDBo/rT\niUAf\r\n=6n3Z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHPvjG84QOtFFvwFYLAvmlD7oWIhlFnhOfH8imVBBVY/AiAp2kat7AKetkdZPAiUDvLdKhTriTR528hBQcv2uDtQaw=="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_3.4.1_1574626715056_0.6222162176224406"},"_hasShrinkwrap":false},"3.4.3":{"name":"react-use-localstorage","version":"3.4.3","description":"Use Local Storage with React hooks","author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","main":"dist/react-use-localstorage.esm.js","umd:main":"dist/react-use-localstorage.umd.production.js","module":"dist/react-use-localstorage.esm.js","typings":"dist/index.d.ts","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","version:alpha":"npm version prerelease --preid=alpha","publish:alpha":"npm publish --tag alpha","prepublishOnly":"tsdx build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@testing-library/react-hooks":"^2.0.3","@types/jest":"^24.0.18","@types/react":"^16.9.5","@types/react-dom":"^16.9.1","husky":"^3.0.8","prettier":"^1.18.2","pretty-quick":"^1.11.1","react":"^16.8.6","react-dom":"^16.10.2","react-test-renderer":"^16.10.2","tsdx":"^0.9.3","tslib":"^1.10.0","typescript":"^3.6.3"},"peerDependencies":{"react":"^16.10.2"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"jest":{"setupFiles":["./test/setup.ts"]},"contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"},{"name":"VitorLuizC","email":"vitorluizc@outlook.com","url":"http://vitorluizc.github.io/"}],"gitHead":"ba4fb787f8df09a2f20b473b7fc0395ca77b524a","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@3.4.3","_nodeVersion":"12.8.1","_npmVersion":"6.10.2","dist":{"integrity":"sha512-9iiduR7UsdeFX1h0fpv0wenmr5ZFSu7Nf3n3kPnNk/tHAOFTyScmS8ayG8VwiWierJycmiSTn04tWs+Lz7fQwg==","shasum":"a72465dd5de375c7f2f45429d13e7f9771a821b3","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-3.4.3.tgz","fileCount":13,"unpackedSize":21402,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8n2BCRA9TVsSAnZWagAACB0P/3zaIg66TxhWXdGr2XwK\niZHIanKYMqMEQMz6sIUxEh5vD4S85MaTArRKaoDzplcgEba9K8KNzD5JDZ75\n7wGG60P4JxwIbmveLYsU+XiZNnU3eWGJqz2bebO6Dyfyq81ztFsIDG+tJWMt\nfUCRfcZxqsqVBAaMbpNZHe9cWELdMxFHhCjdlJKYPO331rL8RS5GnsukhJ10\ngFFa4TKbdVlTG9bHeUPHnoj/KQpTx3am6H4X2kMJs/X7CvzKk4pl/HKzW2b9\ntF44bpQB93o9+bqX8++JLiisoFTn7TtNQgNQHCiJWjiXGGewM27o7SKEcJD0\nMzzyzJ8bqrX4bhV0Sdy6FwUsNQesVdKapS4W9PU8Wd3Q0U6TsUsavRPP2gUy\nBnB5VzKqTRcij9NxM7wZdmxeDdGa7r6xRZVHhgrYouqDC5516pp0cQQ/G/Up\nmC8QydHAGJmWTWIvoBWTHSKqm0u+DJNfwxq6YEO/BTciGqu8pr4crjlOf9Sd\ngdLzug95oVaMRRdKtbYzBPM8WfGm7jhhix9TOjCez2Ns7bXM00pkffm339+J\nTcZzqEAdxm/DycwD4TrlKeCsifniTgIUni+Aiby1CZWZgenqczfzMvghBZHi\nPg9CH3/JcPUgOKcUmkg2dqZ1Lc+Y6Npj+LdSJN4D1pjARxvKzrqy5e8rlhFS\nJp4q\r\n=ZxKW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEl1Jt6NZmUxFNlP2GYDr6y+dreM1pUgQcd4pA5xbEvZAiAqO076sBlwDdhAF/jqa76pI8ganQ4MRUPtFwW1JmFAHg=="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_3.4.3_1592950145470_0.49030928485592007"},"_hasShrinkwrap":false},"3.4.5-alpha.0":{"name":"react-use-localstorage","version":"3.4.5-alpha.0","description":"Use Local Storage with React hooks","author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","main":"dist/react-use-localstorage.esm.js","umd:main":"dist/react-use-localstorage.umd.production.js","module":"dist/react-use-localstorage.esm.js","typings":"dist/index.d.ts","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","version:alpha":"npm version prerelease --preid=alpha","publish:alpha":"npm publish --tag alpha","prepublishOnly":"tsdx build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@testing-library/react-hooks":"^3.4.1","@types/jest":"^26.0.10","@types/react":"^16.9.46","@types/react-dom":"^16.9.8","husky":"^4.2.5","prettier":"^2.0.5","pretty-quick":"^3.0.0","react":"^16.8.1","react-dom":"^16.8.1","react-test-renderer":"^16.10.2","tsdx":"^0.13.2","tslib":"^2.0.1","typescript":"^4.0.2"},"peerDependencies":{"react":"^16.10.2"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"jest":{"setupFiles":["./test/setup.ts"]},"contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"},{"name":"VitorLuizC","email":"vitorluizc@outlook.com","url":"http://vitorluizc.github.io/"}],"readme":"# react-use-localstorage\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square)](#contributors)\n\n_depends on stable v16.8.1~_\n\n![version](https://img.shields.io/npm/v/react-use-localstorage.svg?style=flat-square)\n![size](https://img.shields.io/bundlephobia/min/react-use-localstorage.svg?style=flat-square)\n![minzippedsize](https://img.shields.io/bundlephobia/minzip/react-use-localstorage.svg?style=flat-square)\n\nAccess [Local Storage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) using [React hooks](https://reactjs.org/docs/hooks-intro.html).\n\nFork it on CodeSandbox\n[![Edit usestate-useeffect](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/09xj95vxl)\n\n## How to use it\n\n```javascript\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport useLocalStorage from 'react-use-localstorage';\n\nimport './styles.css';\n\nfunction App() {\n  const [item, setItem] = useLocalStorage('name', 'Initial Value');\n\n  return (\n    <div className=\"App\">\n      <h1>Set Name to store in Local Storage</h1>\n      <div>\n        <label>\n          Name:{' '}\n          <input\n            type=\"text\"\n            placeholder=\"Enter your name\"\n            value={item}\n            onChange={e => setItem(e.target.value)}\n          />\n        </label>\n      </div>\n    </div>\n  );\n}\n\nconst rootElement = document.getElementById('root');\nReactDOM.render(<App />, rootElement);\n```\n\n### Note for SSR (server-side rendering)\n\nIf you are using Gatsby or other SSR frameworks, such as Next.js, refer to [this workaround](https://github.com/dance2die/react-use-localstorage/issues/24#issuecomment-581479939) by @hencatsmith.\n\nYou need to make sure that `window` is available.\n\n```js\nconst useSsrLocalStorage = (\n  key: string,\n  initial: string\n): [string, React.Dispatch<string>] => {\n  return typeof window === 'undefined'\n    ? [initial, (value: string) => undefined]\n    : useLocalStorage(key, initial);\n};\n```\n\n## Demo\n\n![demo](https://github.com/dance2die/react-use-localstorage/raw/master/react-use-localstorage.gif)\n\n## Changelog\n\n<details>\n<summary><b>Expand Changelog</b></summary>\n\n3.4.0\n\nThis version \"Watch changes on storage and change state\".  \nReference: https://github.com/dance2die/react-use-localstorage/pull/30\n\nThank you @VitorLuizC for the PR and @Svish for the review.\n\n3.3.0\n\nReverted the implementation of `setValue` to set `localStorage` value directly, instead of depending on `useEffect`.  \nReference: window.localstorage updated after value managed by useLocalStorage #29\n\n3.2.1\n\nThe library is covered by test.\nThank you so much, @SeanMcP~\n\n3.0.0\n\nDecided to go with @TheAifam5 the following breaking change as the type is derived from React type definition.\n\n- Breadking change: `setIteme` type is changed from `(item: string) => void` () to `React.Dispatch<string>`\n- Updated infrastructure by @TheAifam5 🙏 in [PR #13](https://github.com/dance2die/react-use-localstorage/pull/13)\n\n  - Dropped babel in favor of `tsc` + `uglifyjs`\n  - Replaced npm with yarn\n  - Added husky for pre-commit git hooks\n  - Source map has been dropped from distribution\n  - distribution is moved from `dist` to `lib` folder\n\n    2.4.1\n\n- Added `useLocalStorage` return type explicitly to generate correct `index.d.ts` typing file.\n\n  2.4.0\n\n- Added TypeScript typings as suggested by @TheAifam5 in Issue #9\n\n  2.3.0\n\n- Fixed a bug where initial value is returned all the time #7 by @lilasquared 🙏\n\n  2.2.0\n\n- Sets initial value in local storage\n\n  2.1.0\n\n- Can optionally pass an initial value\n- This is to prevent form field from being uncontrolled.\n\n  2.0.0\n\n- Breaking change - `setItem` doesn't require `key`\n\n  1.1.1\n\n- Updated to React v16.8.1, which contains the patched Hooks\n\n  1.1.0\n\n- Updated dev dependency version\n\n  1.0.0\n\n- Updated to React v16.8.0, which contains the stable Hooks\n\n  0.0.6\n\n- Changed the language from JavaScript to TypeScript\n- It has minimized the distribution file greatly\n  </details>\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://github.com/all-contributors/all-contributors#emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/lilasquared\"><img src=\"https://avatars3.githubusercontent.com/u/3036779?v=4\" width=\"100px;\" alt=\"Aaron Roberts\"/><br /><sub><b>Aaron Roberts</b></sub></a><br /><a href=\"#ideas-lilasquared\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/dance2die/react-use-localstorage/issues?q=author%3Alilasquared\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=lilasquared\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://twitter.com/dance2die\"><img src=\"https://avatars1.githubusercontent.com/u/8465237?v=4\" width=\"100px;\" alt=\"Sung Kim\"/><br /><sub><b>Sung Kim</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=dance2die\" title=\"Code\">💻</a> <a href=\"https://github.com/dance2die/react-use-localstorage/issues?q=author%3Adance2die\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=dance2die\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://theaifam5.eu/\"><img src=\"https://avatars3.githubusercontent.com/u/2192274?v=4\" width=\"100px;\" alt=\"TheAifam5\"/><br /><sub><b>TheAifam5</b></sub></a><br /><a href=\"#ideas-TheAifam5\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=TheAifam5\" title=\"Code\">💻</a> <a href=\"#infra-TheAifam5\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td>\n    <td align=\"center\"><a href=\"http://vitorluizc.github.io\"><img src=\"https://avatars1.githubusercontent.com/u/9027363?v=4\" width=\"100px;\" alt=\"Vitor Luiz Cavalcanti\"/><br /><sub><b>Vitor Luiz Cavalcanti</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=VitorLuizC\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://seanmcp.com\"><img src=\"https://avatars1.githubusercontent.com/u/6360367?v=4\" width=\"100px;\" alt=\"Sean McPherson\"/><br /><sub><b>Sean McPherson</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=SeanMcP\" title=\"Tests\">⚠️</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=SeanMcP\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://www.geekality.net\"><img src=\"https://avatars1.githubusercontent.com/u/142162?v=4\" width=\"100px;\" alt=\"Torleif Berger\"/><br /><sub><b>Torleif Berger</b></sub></a><br /><a href=\"#review-Svish\" title=\"Reviewed Pull Requests\">👀</a></td>\n  </tr>\n</table>\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","readmeFilename":"README.md","gitHead":"cc9084bdb41e090e90d9340a72c63a6c71e21857","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@3.4.5-alpha.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-IeYH+wbYvCe4srj+dQj36FxrRbkf+f5c0MkFvK3UliuCagxj26qpIoIwqywj6otuxtKJ1zG6wdqoiHjQKC10Ug==","shasum":"7d323512143b27af6cabaf9e2b8ac70ff70d6b16","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-3.4.5-alpha.0.tgz","fileCount":13,"unpackedSize":21787,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQDTTCRA9TVsSAnZWagAA29UQAJ/dg+veH7CZqDz1M7z7\nJVYuqi80plg30VDX9UW5eSaVI2DxFgwpSmO9EikYMXBEtbmRK4Zn2+3cpL0D\n9JoeJD5HVP0ZpjcYuo4NPvyXwPkHiIFOT32ZB8LesDkQoANCRH9PVR2stJv1\neqYhehn1A5hrd70qazIiMy/xqLwlwE7+gtq2vuZoNlmLcKTbQ++9wqk/LzM/\ndp1UtreBFwKedYY26qN5g2fmL67jRReySBqffiQcqg7GxMg5TxAK8evBYWT2\nu/qJTrpdz7ZWR2i+V92paCInxN0UQVtHQNlOQ4jslXwhD/KpSSItcKeISkYi\nYD1ipPaIe2aDC1PGxmGFzaGORCuPH8dI3k9v3gZxNCYywOjaoyavKtJYJd1j\nkbJnhzGuzT7T3vWpDA+KLugpt7SOSSbicJuEq/sRIdSCz5uxmE+kVyK/z6W9\n4A7th0iApRxHzVQ5UPlRnO3ZJGPuV3STVtxyys203PcX35KVX1WorwYsoAwX\nJx0PvXZ0HLa+8NrgdVd4oKjM81Egb7QWut3jdwPOWxSphd3520NwnDwv21BS\nkTs4BI+GVjPrTY+1SBeHv8uid6f4A9vBIJSzArFYYtAZvRF6ETPSKqTvp8en\ne0wd5dnru9+l5Z3tU459wJ9aLu9NrCwAxUDFg/fCBDopoSJHs9iu+uN50+ZD\n4xij\r\n=8hqf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2LIdvX0sAAOYP9oxH1ZQSxJwciLDuqXgrnK4wqwjXrAIgVkTsJTqI0JRSVuSYKAA2g7HeGCIxA2dGjNbjuGeIZaE="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_3.4.5-alpha.0_1598043346563_0.30900825990287273"},"_hasShrinkwrap":false},"3.4.5":{"name":"react-use-localstorage","version":"3.4.5","description":"Use Local Storage with React hooks","author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","main":"dist/react-use-localstorage.esm.js","umd:main":"dist/react-use-localstorage.umd.production.js","module":"dist/react-use-localstorage.esm.js","typings":"dist/index.d.ts","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","version:alpha":"npm version prerelease --preid=alpha","publish:alpha":"npm publish --tag alpha","prepublishOnly":"tsdx build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@testing-library/react-hooks":"^3.4.1","@types/jest":"^26.0.10","@types/react":"^16.9.46","@types/react-dom":"^16.9.8","husky":"^4.2.5","prettier":"^2.0.5","pretty-quick":"^3.0.0","react":"^16.8.1","react-dom":"^16.8.1","react-test-renderer":"^16.10.2","tsdx":"^0.13.2","tslib":"^2.0.1","typescript":"^4.0.2"},"peerDependencies":{"react":"^16.10.2"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"jest":{"setupFiles":["./test/setup.ts"]},"contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"},{"name":"VitorLuizC","email":"vitorluizc@outlook.com","url":"http://vitorluizc.github.io/"}],"gitHead":"53cd09d1f3d061e596600fa94f53786efd062fe6","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@3.4.5","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-zInCgcapWqFxl236WeE4TsJ6AnsGvs8WyY/0GfR2K/plkt3KQdu0bQ06fLJ95m+mIT3flKmfNp5X4hZRnoVF7A==","shasum":"d312366ff5d4a3264ab1befde0ab5df61ef80fed","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-3.4.5.tgz","fileCount":13,"unpackedSize":21779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQDVkCRA9TVsSAnZWagAA2kMQAJzW+BqXhESSiiAM7OQg\nSTiHN4FF0VsnTESAKB8h6dP/aeM0H1j/cEGTr7vOdi9wWJzA2GisEkcxgG3H\nmFxkkntfqXAcWL/dKIrEpAlBI8HZp5orFUYjCcH8nJlfnz+SbSw9f9R21d0a\n83g1bBhWNkJflqx9vfuiqPRi1kg9CBPc6mS2zhTyEXThHOmkNaZ+MyxzB4Ka\nxt7xEASBU5P9HQV4zjYx0Ose+tMYu8ADoPKePJehxzJdM6aXM2Dy69VIHr8D\neTuyTgxa8CDO7RpDKnds+ci8VnEZtiT+rsXlQTcPyBtvfAgz2tSJ8/Vzea7e\nah1AWPPSLQeYeI61JUf2YoSMFMct891xjoHVTK/HW2+fE4qu8E7NLzCWRk7A\nXLXYjj8iZt56qPq/leBYHNl4Qm3U4sJQ9f5+ggG+kAu5RppNCY810PV9ypib\n7AO5Re+GEC+m18HzOiYFY2zxSPoEBgDN1DR91WGtgpOj5leWyMxZCGUOXMig\naZZUybnOS5IDy6aA+cMYM/0fK5uZqKQgrT6vdZWF18/E7Rvk/zSJD72F69zw\nV/mitmJWeGB6DeChlD/Zl/A2xaHj+elViIMPajbpZh51G9rOqLhXJPdGCUfi\nPTgqjNIiOtXRRPQ043MIh0rxj4vH45mYOYJngU/5jP4dpYIoq4mzDVOa2Hk5\ndnwY\r\n=ZbQY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLPPOqzZlKUCFnwGhGCTlBmRoG+nyo7MQQiECnoIRptAIhAJE6PTirSGKd+62mfu27OD7CteDTBLt0bKbEWxOfTTJU"}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_3.4.5_1598043491608_0.5906121443623129"},"_hasShrinkwrap":false},"3.5.2-alpha.0":{"name":"react-use-localstorage","version":"3.5.2-alpha.0","description":"Use Local Storage with React hooks","author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","main":"dist/react-use-localstorage.esm.js","umd:main":"dist/react-use-localstorage.umd.production.js","module":"dist/react-use-localstorage.esm.js","typings":"dist/index.d.ts","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","version:alpha":"npm version prerelease --preid=alpha","publish:alpha":"npm publish --tag alpha","prepublishOnly":"tsdx build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@testing-library/react-hooks":"^3.4.1","@types/jest":"^26.0.10","@types/react":"^16.9.46","@types/react-dom":"^16.9.8","husky":"^4.2.5","prettier":"^2.0.5","pretty-quick":"^3.0.0","react":"^16.8.1","react-dom":"^16.8.1","react-test-renderer":"^16.10.2","tsdx":"^0.13.2","tslib":"^2.0.1","typescript":"^4.0.2"},"peerDependencies":{"react":">=16.8.1"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"jest":{"setupFiles":["./test/setup.ts"]},"contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"},{"name":"VitorLuizC","email":"vitorluizc@outlook.com","url":"http://vitorluizc.github.io/"}],"readme":"# react-use-localstorage\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square)](#contributors)\n\n_depends on stable v16.8.1~_\n\n![version](https://img.shields.io/npm/v/react-use-localstorage.svg?style=flat-square)\n![size](https://img.shields.io/bundlephobia/min/react-use-localstorage.svg?style=flat-square)\n![minzippedsize](https://img.shields.io/bundlephobia/minzip/react-use-localstorage.svg?style=flat-square)\n\nAccess [Local Storage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) using [React hooks](https://reactjs.org/docs/hooks-intro.html).\n\nFork it on CodeSandbox  \n[![Edit usestate-useeffect](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/09xj95vxl)\n\n## How to use it\n\n```javascript\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport useLocalStorage from 'react-use-localstorage';\n\nimport './styles.css';\n\nfunction App() {\n  const [item, setItem] = useLocalStorage('name', 'Initial Value');\n\n  return (\n    <div className=\"App\">\n      <h1>Set Name to store in Local Storage</h1>\n      <div>\n        <label>\n          Name:{' '}\n          <input\n            type=\"text\"\n            placeholder=\"Enter your name\"\n            value={item}\n            onChange={(e) => setItem(e.target.value)}\n          />\n        </label>\n      </div>\n    </div>\n  );\n}\n\nconst rootElement = document.getElementById('root');\nReactDOM.render(<App />, rootElement);\n```\n\n### Note for SSR (server-side rendering)\n\nIf you are using Gatsby or other SSR frameworks, such as Next.js, refer to [this workaround](https://github.com/dance2die/react-use-localstorage/issues/24#issuecomment-581479939) by @hencatsmith.\n\nYou need to make sure that `window` is available.\n\n```js\nconst useSsrLocalStorage = (\n  key: string,\n  initial: string\n): [string, React.Dispatch<string>] => {\n  return typeof window === 'undefined'\n    ? [initial, (value: string) => undefined]\n    : useLocalStorage(key, initial);\n};\n```\n\n## Demo\n\n![demo](https://github.com/dance2die/react-use-localstorage/raw/master/react-use-localstorage.gif)\n\n## Changelog\n\n<details>\n<summary><b>Expand Changelog</b></summary>\n\n3.4.0\n\nThis version \"Watch changes on storage and change state\".  \nReference: https://github.com/dance2die/react-use-localstorage/pull/30\n\nThank you @VitorLuizC for the PR and @Svish for the review.\n\n3.3.0\n\nReverted the implementation of `setValue` to set `localStorage` value directly, instead of depending on `useEffect`.  \nReference: window.localstorage updated after value managed by useLocalStorage #29\n\n3.2.1\n\nThe library is covered by test.\nThank you so much, @SeanMcP~\n\n3.0.0\n\nDecided to go with @TheAifam5 the following breaking change as the type is derived from React type definition.\n\n- Breadking change: `setIteme` type is changed from `(item: string) => void` () to `React.Dispatch<string>`\n- Updated infrastructure by @TheAifam5 🙏 in [PR #13](https://github.com/dance2die/react-use-localstorage/pull/13)\n\n  - Dropped babel in favor of `tsc` + `uglifyjs`\n  - Replaced npm with yarn\n  - Added husky for pre-commit git hooks\n  - Source map has been dropped from distribution\n  - distribution is moved from `dist` to `lib` folder\n\n    2.4.1\n\n- Added `useLocalStorage` return type explicitly to generate correct `index.d.ts` typing file.\n\n  2.4.0\n\n- Added TypeScript typings as suggested by @TheAifam5 in Issue #9\n\n  2.3.0\n\n- Fixed a bug where initial value is returned all the time #7 by @lilasquared 🙏\n\n  2.2.0\n\n- Sets initial value in local storage\n\n  2.1.0\n\n- Can optionally pass an initial value\n- This is to prevent form field from being uncontrolled.\n\n  2.0.0\n\n- Breaking change - `setItem` doesn't require `key`\n\n  1.1.1\n\n- Updated to React v16.8.1, which contains the patched Hooks\n\n  1.1.0\n\n- Updated dev dependency version\n\n  1.0.0\n\n- Updated to React v16.8.0, which contains the stable Hooks\n\n  0.0.6\n\n- Changed the language from JavaScript to TypeScript\n- It has minimized the distribution file greatly\n  </details>\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://github.com/all-contributors/all-contributors#emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/lilasquared\"><img src=\"https://avatars3.githubusercontent.com/u/3036779?v=4\" width=\"100px;\" alt=\"Aaron Roberts\"/><br /><sub><b>Aaron Roberts</b></sub></a><br /><a href=\"#ideas-lilasquared\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/dance2die/react-use-localstorage/issues?q=author%3Alilasquared\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=lilasquared\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://twitter.com/dance2die\"><img src=\"https://avatars1.githubusercontent.com/u/8465237?v=4\" width=\"100px;\" alt=\"Sung Kim\"/><br /><sub><b>Sung Kim</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=dance2die\" title=\"Code\">💻</a> <a href=\"https://github.com/dance2die/react-use-localstorage/issues?q=author%3Adance2die\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=dance2die\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://theaifam5.eu/\"><img src=\"https://avatars3.githubusercontent.com/u/2192274?v=4\" width=\"100px;\" alt=\"TheAifam5\"/><br /><sub><b>TheAifam5</b></sub></a><br /><a href=\"#ideas-TheAifam5\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=TheAifam5\" title=\"Code\">💻</a> <a href=\"#infra-TheAifam5\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td>\n    <td align=\"center\"><a href=\"http://vitorluizc.github.io\"><img src=\"https://avatars1.githubusercontent.com/u/9027363?v=4\" width=\"100px;\" alt=\"Vitor Luiz Cavalcanti\"/><br /><sub><b>Vitor Luiz Cavalcanti</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=VitorLuizC\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://seanmcp.com\"><img src=\"https://avatars1.githubusercontent.com/u/6360367?v=4\" width=\"100px;\" alt=\"Sean McPherson\"/><br /><sub><b>Sean McPherson</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=SeanMcP\" title=\"Tests\">⚠️</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=SeanMcP\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://www.geekality.net\"><img src=\"https://avatars1.githubusercontent.com/u/142162?v=4\" width=\"100px;\" alt=\"Torleif Berger\"/><br /><sub><b>Torleif Berger</b></sub></a><br /><a href=\"#review-Svish\" title=\"Reviewed Pull Requests\">👀</a></td>\n  </tr>\n</table>\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","readmeFilename":"README.md","gitHead":"5c9588e39dbc86a14c577d355424d48a66cec1e1","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@3.5.2-alpha.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-jfuZQJPNTZcWj8scV+CY4KAQ2ySP2sIv/nacqDXXHDVBallXHnFMuP7Bps2iCfPUEB49VHr6VfxOFQf2lvVK2Q==","shasum":"5a4afb41f6aadfb6462bdc4dda730bf5d26a1569","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-3.5.2-alpha.0.tgz","fileCount":13,"unpackedSize":21791,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQTu9CRA9TVsSAnZWagAAS9gQAKUULkJhyV94GyP0O6Wi\n32wA+S/WMwBFxFSS3JxqJgMHUjJFTlkdGJ+mcLrA4/VvAdkHO1B0WefmYikx\noZvZnqbhaFwaNOfimU4T+k5XF8NZ9T12qaIDOmzQUoqGJajOjRgUF+qko3uA\n4vUl2cIK/k0TR3Ovif37RI5dV6a2+hhN5q2x3YP5Z5m/UzBnJ0UF7OSCvKLd\nNwwQom1rQMvHR4Tt54Z16YnVwj9frY9MsgagySRru20gMU8EvDiSJvfQSTeK\n106N1lPBD/6HXyVA6uyMPScX0OgfmfbP/dgnNyQVfsxG5hy55uGDoNsb40Yz\nLPUt6cTRUt936jr4ZP+uvYBGgQtqS1oXgemCErSTowRE2y+VwbF5/36c3c3S\nhPJxTRL6azdgidfwcwFGJPc996D9zwcYMFPnWQ9wSeVhO0gcawIyCE/wOMoX\nzoSBQq5GjW4lUi7qKFx/5NiSJdLcQI3QzTzfzzw5jCp6Hr3pf5SYLqhwKepu\n5og5SLzwVKVI1UPBedxE/msFfEdGxDT1rJn5RqtT2QKXW3m1ORaqcMdimJ9j\nuKLdvlEEd9PW8f424PpGlQpcPEgmwtwSra8hXy7DpuvMl0DejNplpUxtImc0\nW3scTTmC8rHdh0v5bVxkybJLKWy3tBblUPOiOcNynRe0aO2I8YHn8BJ/9Voh\niyxk\r\n=E1uZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEROSHUVeJSoTyPP3QH5teVaHKuo41c2f4EzhnMqkNpYAiBmZvdMQgKvsKCDPYYaC7sovlxg6c2T4oI2e7ILzGEmnQ=="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_3.5.2-alpha.0_1598110652616_0.2176333280209739"},"_hasShrinkwrap":false},"3.5.3":{"name":"react-use-localstorage","version":"3.5.3","description":"Use Local Storage with React hooks","author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"homepage":"https://github.com/dance2die/react-use-localstorage","main":"dist/react-use-localstorage.esm.js","umd:main":"dist/react-use-localstorage.umd.production.js","module":"dist/react-use-localstorage.esm.js","typings":"dist/index.d.ts","scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --env=jsdom","version:alpha":"npm version prerelease --preid=alpha","publish:alpha":"npm publish --tag alpha","prepublishOnly":"tsdx build"},"keywords":["localStorage","react","hooks"],"devDependencies":{"@testing-library/react-hooks":"^3.4.1","@types/jest":"^26.0.10","@types/react":"^16.9.46","@types/react-dom":"^16.9.8","husky":"^4.2.5","prettier":"^2.0.5","pretty-quick":"^3.0.0","react":"^16.8.1","react-dom":"^16.8.1","react-test-renderer":"^16.10.2","tsdx":"^0.13.2","tslib":"^2.0.1","typescript":"^4.0.2"},"peerDependencies":{"react":">=16.8.1"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"jest":{"setupFiles":["./test/setup.ts"]},"contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"},{"name":"VitorLuizC","email":"vitorluizc@outlook.com","url":"http://vitorluizc.github.io/"}],"gitHead":"9045185e8a32122d38d89c6886740c4e73014885","bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"_id":"react-use-localstorage@3.5.3","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-1oNvJmo72G4v5P9ytJZZTb6ywD3UzWBiainTtfbNlb+U08hc+SOD5HqgiLTKUF0MxGcIR9JSnZGmBttNLXaQYA==","shasum":"c4bcc097859a2d2879e969f0a57b16345905df82","tarball":"https://registry.npmjs.org/react-use-localstorage/-/react-use-localstorage-3.5.3.tgz","fileCount":13,"unpackedSize":21783,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQTxRCRA9TVsSAnZWagAAoP4P/1ao53b7zO2xbkIicCI6\nW7Dxk1vP4SJTCmGBjKFuXI/x2/uUjuUvcCrp/eRNKXXMVrrlL8AWve0a7ELa\n4mJBmCKQcMfY+sqkDeS5INXrrPANmdudRSNFxguu5mCLWrHTu42jtitKORkv\njNqgfknde+BAiXRbhj+yvv3RvyILczCBCqo4lgS6RDeTo5CIWsL/mtDRaUpd\nDwguSCk9p2W9fQr1pVooUYnN60ljctmLPba8wZfHT0rzMvUtImwDiqf3otWm\n88d/fSqv+CMRvuGq/Q8Z55R7BUc539p1Cnn8iTlUlnVwlKXpUrcffPSNP8ZZ\nlc3Ixh4oL9tUG9U/AeB4ZtIW4iU+2KJgK9ybp7jYr4h1saAkDjhI2efBPo/h\ntcn8rvg0JbViKEs1WcicL33r4rCFMtJsR7eWuNeq0q7B3sPtXh8QAKm9pa41\nmGKrZLUSw8MLzjiEbSZPWS2anO3Fi046bKmBiUdzn/w/Cpb7Vvv7bDq+7LRD\n0P8o/PuHRUssmqo/l9zSPZh6P216SjHirn3+jSRn6U+LYOysm2DR4t/aNW8j\nitINMN+BQ4Jign+b8MIUuvEDhbQfLwZjrU2xohMLioMJso3KUXnF85ksSL9D\n20ZgMaLvpWy5UybWpdMhYBxrOUVrofCfu2y0CB+yjDy0zKFlVS9CNUshDai/\nnZMF\r\n=VYnj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG+JDSb/My2c8p8m/Gf5x7/IvPHP1lbe2Z+N82KjAnRgAiEA0m23zfsIk5gBMqTCyn3mZmQGEAnJ2tn8VOLwHxZDl24="}]},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"_npmUser":{"name":"dance2die","email":"dance2die@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-use-localstorage_3.5.3_1598110800789_0.1136950708257165"},"_hasShrinkwrap":false}},"time":{"created":"2018-10-25T23:55:15.077Z","0.0.1":"2018-10-25T23:55:15.226Z","modified":"2022-05-15T07:06:30.490Z","0.0.2":"2018-10-26T00:05:19.322Z","0.0.3":"2018-10-26T00:09:51.137Z","0.0.4":"2018-10-26T00:16:27.570Z","0.0.5":"2018-10-26T00:35:38.993Z","0.0.6":"2019-01-17T00:36:44.727Z","0.0.7":"2019-01-17T00:40:01.408Z","0.0.8":"2019-01-17T00:48:24.357Z","0.0.9":"2019-01-17T00:50:24.442Z","0.0.10":"2019-01-17T01:04:27.478Z","1.0.0":"2019-02-06T14:39:13.760Z","1.0.1":"2019-02-06T14:43:39.774Z","1.1.0":"2019-02-06T14:46:42.086Z","2.0.0":"2019-02-10T15:14:53.360Z","2.1.1":"2019-02-10T15:33:21.388Z","2.2.0":"2019-02-10T15:40:08.681Z","2.2.1":"2019-02-10T15:50:38.586Z","2.3.0":"2019-02-10T16:57:14.697Z","2.4.0":"2019-02-10T17:53:32.599Z","2.4.1":"2019-02-10T18:12:22.242Z","3.0.0":"2019-02-11T03:05:31.242Z","3.0.1-alpha.50":"2019-03-17T04:12:49.635Z","3.0.1-alpha.0":"2019-03-17T04:17:25.530Z","3.1.0":"2019-06-12T01:52:49.150Z","3.1.1":"2019-06-12T02:49:54.181Z","3.1.2-alpha.0":"2019-06-12T03:01:09.739Z","3.1.2-alpha.1":"2019-06-15T21:32:37.601Z","3.1.2-alpha.3":"2019-06-15T22:03:22.646Z","3.1.2-alpha.4":"2019-06-22T12:49:42.913Z","3.1.2-alpha.5":"2019-06-22T12:54:19.421Z","3.1.2-alpha.6":"2019-06-22T13:28:02.319Z","3.1.2-alpha.7":"2019-06-22T13:31:23.518Z","3.1.2-alpha.8":"2019-06-27T01:18:00.204Z","3.1.2-alpha.9":"2019-06-27T01:20:27.058Z","3.2.0":"2019-06-27T01:24:40.781Z","3.2.1-alpha.0":"2019-06-27T01:48:24.814Z","3.2.1":"2019-08-27T00:39:26.511Z","3.2.2":"2019-10-09T16:57:02.602Z","3.3.0":"2019-10-26T19:58:58.633Z","3.3.1":"2019-10-26T20:01:39.231Z","3.3.2":"2019-10-28T11:26:51.689Z","3.4.1":"2019-11-24T20:18:35.175Z","3.4.3":"2020-06-23T22:09:05.589Z","3.4.5-alpha.0":"2020-08-21T20:55:46.720Z","3.4.5":"2020-08-21T20:58:11.795Z","3.5.2-alpha.0":"2020-08-22T15:37:32.700Z","3.5.3":"2020-08-22T15:40:00.903Z"},"maintainers":[{"name":"dance2die","email":"dance2die@hotmail.com"}],"description":"Use Local Storage with React hooks","homepage":"https://github.com/dance2die/react-use-localstorage","keywords":["localStorage","react","hooks"],"repository":{"type":"git","url":"git+https://github.com/dance2die/react-use-localstorage.git"},"author":{"name":"Sung Kim","email":"sungmkim80@gmail.com"},"bugs":{"url":"https://github.com/dance2die/react-use-localstorage/issues"},"license":"MIT","readme":"# react-use-localstorage\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square)](#contributors)\n\n_depends on stable v16.8.1~_\n\n![version](https://img.shields.io/npm/v/react-use-localstorage.svg?style=flat-square)\n![size](https://img.shields.io/bundlephobia/min/react-use-localstorage.svg?style=flat-square)\n![minzippedsize](https://img.shields.io/bundlephobia/minzip/react-use-localstorage.svg?style=flat-square)\n\nAccess [Local Storage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) using [React hooks](https://reactjs.org/docs/hooks-intro.html).\n\nFork it on CodeSandbox  \n[![Edit usestate-useeffect](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/09xj95vxl)\n\n## How to use it\n\n```javascript\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport useLocalStorage from 'react-use-localstorage';\n\nimport './styles.css';\n\nfunction App() {\n  const [item, setItem] = useLocalStorage('name', 'Initial Value');\n\n  return (\n    <div className=\"App\">\n      <h1>Set Name to store in Local Storage</h1>\n      <div>\n        <label>\n          Name:{' '}\n          <input\n            type=\"text\"\n            placeholder=\"Enter your name\"\n            value={item}\n            onChange={(e) => setItem(e.target.value)}\n          />\n        </label>\n      </div>\n    </div>\n  );\n}\n\nconst rootElement = document.getElementById('root');\nReactDOM.render(<App />, rootElement);\n```\n\n### Note for SSR (server-side rendering)\n\nIf you are using Gatsby or other SSR frameworks, such as Next.js, refer to [this workaround](https://github.com/dance2die/react-use-localstorage/issues/24#issuecomment-581479939) by @hencatsmith.\n\nYou need to make sure that `window` is available.\n\n```js\nconst useSsrLocalStorage = (\n  key: string,\n  initial: string\n): [string, React.Dispatch<string>] => {\n  return typeof window === 'undefined'\n    ? [initial, (value: string) => undefined]\n    : useLocalStorage(key, initial);\n};\n```\n\n## Demo\n\n![demo](https://github.com/dance2die/react-use-localstorage/raw/master/react-use-localstorage.gif)\n\n## Changelog\n\n<details>\n<summary><b>Expand Changelog</b></summary>\n\n3.4.0\n\nThis version \"Watch changes on storage and change state\".  \nReference: https://github.com/dance2die/react-use-localstorage/pull/30\n\nThank you @VitorLuizC for the PR and @Svish for the review.\n\n3.3.0\n\nReverted the implementation of `setValue` to set `localStorage` value directly, instead of depending on `useEffect`.  \nReference: window.localstorage updated after value managed by useLocalStorage #29\n\n3.2.1\n\nThe library is covered by test.\nThank you so much, @SeanMcP~\n\n3.0.0\n\nDecided to go with @TheAifam5 the following breaking change as the type is derived from React type definition.\n\n- Breadking change: `setIteme` type is changed from `(item: string) => void` () to `React.Dispatch<string>`\n- Updated infrastructure by @TheAifam5 🙏 in [PR #13](https://github.com/dance2die/react-use-localstorage/pull/13)\n\n  - Dropped babel in favor of `tsc` + `uglifyjs`\n  - Replaced npm with yarn\n  - Added husky for pre-commit git hooks\n  - Source map has been dropped from distribution\n  - distribution is moved from `dist` to `lib` folder\n\n    2.4.1\n\n- Added `useLocalStorage` return type explicitly to generate correct `index.d.ts` typing file.\n\n  2.4.0\n\n- Added TypeScript typings as suggested by @TheAifam5 in Issue #9\n\n  2.3.0\n\n- Fixed a bug where initial value is returned all the time #7 by @lilasquared 🙏\n\n  2.2.0\n\n- Sets initial value in local storage\n\n  2.1.0\n\n- Can optionally pass an initial value\n- This is to prevent form field from being uncontrolled.\n\n  2.0.0\n\n- Breaking change - `setItem` doesn't require `key`\n\n  1.1.1\n\n- Updated to React v16.8.1, which contains the patched Hooks\n\n  1.1.0\n\n- Updated dev dependency version\n\n  1.0.0\n\n- Updated to React v16.8.0, which contains the stable Hooks\n\n  0.0.6\n\n- Changed the language from JavaScript to TypeScript\n- It has minimized the distribution file greatly\n  </details>\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://github.com/all-contributors/all-contributors#emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/lilasquared\"><img src=\"https://avatars3.githubusercontent.com/u/3036779?v=4\" width=\"100px;\" alt=\"Aaron Roberts\"/><br /><sub><b>Aaron Roberts</b></sub></a><br /><a href=\"#ideas-lilasquared\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/dance2die/react-use-localstorage/issues?q=author%3Alilasquared\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=lilasquared\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://twitter.com/dance2die\"><img src=\"https://avatars1.githubusercontent.com/u/8465237?v=4\" width=\"100px;\" alt=\"Sung Kim\"/><br /><sub><b>Sung Kim</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=dance2die\" title=\"Code\">💻</a> <a href=\"https://github.com/dance2die/react-use-localstorage/issues?q=author%3Adance2die\" title=\"Bug reports\">🐛</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=dance2die\" title=\"Documentation\">📖</a></td>\n    <td align=\"center\"><a href=\"https://theaifam5.eu/\"><img src=\"https://avatars3.githubusercontent.com/u/2192274?v=4\" width=\"100px;\" alt=\"TheAifam5\"/><br /><sub><b>TheAifam5</b></sub></a><br /><a href=\"#ideas-TheAifam5\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=TheAifam5\" title=\"Code\">💻</a> <a href=\"#infra-TheAifam5\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a></td>\n    <td align=\"center\"><a href=\"http://vitorluizc.github.io\"><img src=\"https://avatars1.githubusercontent.com/u/9027363?v=4\" width=\"100px;\" alt=\"Vitor Luiz Cavalcanti\"/><br /><sub><b>Vitor Luiz Cavalcanti</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=VitorLuizC\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://seanmcp.com\"><img src=\"https://avatars1.githubusercontent.com/u/6360367?v=4\" width=\"100px;\" alt=\"Sean McPherson\"/><br /><sub><b>Sean McPherson</b></sub></a><br /><a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=SeanMcP\" title=\"Tests\">⚠️</a> <a href=\"https://github.com/dance2die/react-use-localstorage/commits?author=SeanMcP\" title=\"Code\">💻</a></td>\n    <td align=\"center\"><a href=\"https://www.geekality.net\"><img src=\"https://avatars1.githubusercontent.com/u/142162?v=4\" width=\"100px;\" alt=\"Torleif Berger\"/><br /><sub><b>Torleif Berger</b></sub></a><br /><a href=\"#review-Svish\" title=\"Reviewed Pull Requests\">👀</a></td>\n  </tr>\n</table>\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","readmeFilename":"README.md","contributors":[{"name":"lilasquared","email":"aaronmroberts1@gmail.com"},{"name":"TheAifam5","email":"theaifam5@gmail.com","url":"https://theaifam5.eu/"},{"name":"VitorLuizC","email":"vitorluizc@outlook.com","url":"http://vitorluizc.github.io/"}]}