{"_id":"use-fit-text","_rev":"16-b24cfece30a2b2fa637ae70d40be7397","name":"use-fit-text","dist-tags":{"latest":"2.4.0"},"versions":{"1.0.0":{"name":"use-fit-text","version":"1.0.0","description":"React hook used to fit text in a div","source":"index.ts","main":"dist/index.js","scripts":{"build":"microbundle"},"author":{"name":"saltycrane"},"license":"MIT","peerDependencies":{"react":">=16.8.0"},"devDependencies":{"@types/react":"^16.9.11","microbundle":"^0.11.0"},"gitHead":"043ed6a7383368532d989274e594dced7a407380","_id":"use-fit-text@1.0.0","_nodeVersion":"10.16.2","_npmVersion":"6.7.0","dist":{"integrity":"sha512-zbdGS8irxM0bIgfezLOZJkkjgKyx/EJOpHb/cUzjmE6ecLQnWqRIVF8joRddwztP7V0aOhdktncDOa1z/jFirg==","shasum":"7c94d0186a3ec3134c4937a32399f8d991204ac0","tarball":"https://registry.npmjs.org/use-fit-text/-/use-fit-text-1.0.0.tgz","fileCount":10,"unpackedSize":12593,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdz1JHCRA9TVsSAnZWagAACw0P/16Kuij5sEGzTKzW4jA1\nDbXhVe5Q42RI+xAcNzEysyxpr/VTa2/ryNOM5lZ9A65bGHM+ybetEv+l+iyK\nfe51JGv++yJGeC9Uy+rsGDYWQ/KxZRKunkL9dbENUPYO/y4S5pRozOZ/CL47\nJZlSXqlUuN8HXDhHGUy106CJFM44eh6+jS0dW622BwOM0QgtyOHyKQzHJCwc\njRoHrvtrOy8sA65cJsgk4BL6SGvNzGXRymTef6P1FRdGZRK1q9YBMhalFxuI\nkvzZy5wWmtre/KdfP2zhuwtz7TcSoYaJ6ti+YfQjPcu0ilpz8fBheI2iUIbR\nuguJxAhOap5psD20RGhWfT9lIr5SG8maumI5hPOt0qJ3mwDoQfucQ7qIB2RX\nw9qYw4/i2nzBXfVw8sSVItEXiyj8PaqL3Za1D+bNb/L2xo67xLaFUBEQWa67\nHpMApN4qnMowikOI6u7lHsgzoOrSfJYkHTqAWcT+Hso19laTJz11Sb0omISp\nC+IyKEDOwzmdAg2nyhHasuFjLfkHtlK81bHF+rrmhiddwbHIanVj0+5BAXha\nY7TDMDi3KtZnWfsxyj680/rcPFaji8tCo2fFKVKFh/NRFr9lr4iA+F6NxIm1\nx1XbjYe/aztyePIOGftuP/uy9k9lB+vZh/g4FiHriATOj0AAJhiCNpGSrPhO\nYm/b\r\n=NmFz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUCn+UZosBqFBzZMIAnLxq02qEd2UO/QLSI9sdQad0qQIhAPqNfJ2xF/TQFwgz+qgowo9k6Upqhz9opbtw3nAVfiz8"}]},"maintainers":[{"name":"saltycrane","email":"saltycrane+npm@gmail.com"}],"_npmUser":{"name":"saltycrane","email":"saltycrane+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-fit-text_1.0.0_1573868103299_0.6100460107790198"},"_hasShrinkwrap":false},"1.0.1":{"name":"use-fit-text","version":"1.0.1","description":"React hook used to fit text in a div","author":{"name":"saltycrane"},"license":"MIT","source":"index.ts","main":"dist/index.js","module":"dist/index.mjs","repository":{"type":"git","url":"git+https://github.com/saltycrane/use-fit-text.git"},"keywords":["react","fit","text"],"scripts":{"build":"microbundle"},"prettier":{"trailingComma":"all"},"peerDependencies":{"react":">=16.8.0"},"devDependencies":{"@types/react":"^16.9.11","microbundle":"^0.11.0"},"gitHead":"d7bc96ab3ae00990d1611f0a4727e3d8babee510","bugs":{"url":"https://github.com/saltycrane/use-fit-text/issues"},"homepage":"https://github.com/saltycrane/use-fit-text#readme","_id":"use-fit-text@1.0.1","_nodeVersion":"10.16.2","_npmVersion":"6.7.0","dist":{"integrity":"sha512-PMG3i59fGroX4dAAAO5kijxxIUDSu2QN4AC90AuJa3djNV2iSR0SfrXtyd3htrDuihfuGCrsMRAKpzwMllwxcw==","shasum":"d5c37bfab7166014fd47c2f2382e5af419832b52","tarball":"https://registry.npmjs.org/use-fit-text/-/use-fit-text-1.0.1.tgz","fileCount":13,"unpackedSize":13711,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdz1xWCRA9TVsSAnZWagAAtKAP/0ZQPs7ODLcNotmpjh3m\noxLyJDgI7JWNvpzkZ5BhtFm/cNNOhzWPnnW366H1V5XFKMYJh+I+lVjnMeGg\ngIOei7TTm7ESm7VMNZHPaEs8dSO1FEHopvIc1xG8hROVQfrAGrYTXoMwQ5N0\nQyyt1tNPEwGyuU9+BGqIiBeLyVB+YpI/6e4utt1hW/lvYTmhn200Bj5WvaMw\nWZFaXehXa0G7nLH98OyBbAlkjR3Y3OuaMQpKN9aew3CzKA3WbPy/Lj9/6wCb\nfqE90VW1oycLnp2WMIMJYOgzjZZRbAaoT53Up6AqsczsQZKunghsw0WCj7t+\n2cchJfRwEyie7UEFmqafA8tt5U9QrrIwskH+StBJUXMmzuKbnafk+yeQICv0\nvM29NVDyMSOAmDHakE7KTxsDNt1DCfGv1kkUjt97bZQi+r4Zx/kp9+MJztGH\nO9nYvLyDHODxi/dyBWCUaFCn8UKUZZx5GjclUe7V6YwhIi07ZIoXNzNYVeht\nGJgnCKLj//jiQfQnqr3fVi+v53sjbvJSKk4gc7sDrYmLIrjazFSOeeK7Ua7z\nddPVoWxx6+1VeXiKsZZZ+Hvrd7qVNUWTRWQhKqeJNRFoHclw6fjf1tI0wnzz\nlt6S4dDAL7sPjC0L/Qubo9PaOL8FIhaTOklICyZC9mEYod54CqCiFuH1W/I9\nX6XQ\r\n=74Gp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA0UAeg2DuR9O9eHBUuL+xRPpxMq58An4MdBkoId4+OVAiEAvU/BLMMg6lkmKIQuzfmLCr/7iD0odsXUzM11wgL+0bk="}]},"maintainers":[{"name":"saltycrane","email":"saltycrane+npm@gmail.com"}],"_npmUser":{"name":"saltycrane","email":"saltycrane+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-fit-text_1.0.1_1573870677966_0.5893818784928653"},"_hasShrinkwrap":false},"1.0.2":{"name":"use-fit-text","version":"1.0.2","description":"React hook used to fit text in a div","author":{"name":"saltycrane"},"license":"MIT","source":"index.ts","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/saltycrane/use-fit-text.git"},"keywords":["react","fit","text"],"scripts":{"build":"microbundle"},"prettier":{"trailingComma":"all"},"peerDependencies":{"react":">=16.8.0"},"devDependencies":{"@types/react":"^16.9.11","microbundle":"^0.11.0"},"gitHead":"787f466a1a47ddc835b774efb0dc6e9842b75b27","bugs":{"url":"https://github.com/saltycrane/use-fit-text/issues"},"homepage":"https://github.com/saltycrane/use-fit-text#readme","_id":"use-fit-text@1.0.2","_nodeVersion":"10.16.2","_npmVersion":"6.7.0","dist":{"integrity":"sha512-ZShjHvsCq5VAxHBfVhsfp4CPFk/ftZlwf+y/o/HSDnfhkeDuWxSHa9ErPb8RbMcYXY//YvZjVgN1VdGLBsdVbA==","shasum":"da8367d899b1f1185f2d0ac9e138947f61a8c5fa","tarball":"https://registry.npmjs.org/use-fit-text/-/use-fit-text-1.0.2.tgz","fileCount":13,"unpackedSize":13707,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdz185CRA9TVsSAnZWagAA6s8QAID4YlvK0E++uzrRckM4\n174ih57gNhTvhtiFEhWcBv3pRP1zzC5kymZ2k42MMtIgZLKEzTgf24AlFRs2\naXMHUbp5Wd/lcQZXsm4H7cVdymfx4XUhNmP09ukaJy7R5+G0TYIOviPMreLd\nkocNPpi/vymUnpWFD60lFB5PKYVadYuCDMH/pJvXj8GiuFoV4FpsGNACWrZo\nj5LbnCYA037phPVu8hcj277ImIYcDK1AJUsM0BmWx7GAqZG3Q2QoqwFlCIMt\nfdq95/CNvdgfU+WllWoJ8F8tlrbGX82yrvAh2vtenRHHj14Qf7u+VEZJ2QAR\nAQvd9Wf1HYWEm/BAt20gY0EqGFOfb5u7oJErdgc2ZzWaZurxb5IgWLwnAixh\nEqZi36wrJlfKo825Gjgh9yGrka7NBZe3B+khunRRtNX1VjNtigrvmYwhVt57\n+vctwsr8lA9NtYlwR5A9s0XZ9q0GSBzsqDEVPWp59PaQpC9n06EOxRHPEnt4\nGaoEBqtU92ZULA8cYvvrsN0yVTjM9jGEufKQ6z3mad5AzZ7DUnQ31Qli3fQc\nKBHJ+G7ZTFha6FBRxo4/HPbvqGbmebv8DMktjILw11PVZJ5Rt9CRabWAsDNz\n7jUBTK6QNnufnE6wWwzxQ0yoYU7wcxk2tOQGAHP+5eJgEmSmhBy7wRICelDi\nBBYR\r\n=Txta\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzmDebdWVNqIkvfzzNJKadtl2X50vzDWsr+xN8PMOcHAIhAKfX9S5WDg8ufYKXEquLOtGhIC0yHAS6DgFEfByUENDA"}]},"maintainers":[{"name":"saltycrane","email":"saltycrane+npm@gmail.com"}],"_npmUser":{"name":"saltycrane","email":"saltycrane+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-fit-text_1.0.2_1573871416729_0.7961994200006082"},"_hasShrinkwrap":false},"1.1.0":{"name":"use-fit-text","version":"1.1.0","description":"React hook used to fit text in a div","author":{"name":"saltycrane"},"license":"MIT","source":"index.ts","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/saltycrane/use-fit-text.git"},"keywords":["react","fit","text"],"scripts":{"build":"microbundle"},"prettier":{"trailingComma":"all"},"peerDependencies":{"react":">=16.8.0"},"devDependencies":{"@types/react":"^16.9.11","microbundle":"^0.11.0"},"gitHead":"d31ac74d6b1cafbd6ab2b7f1b9d59f27625f5c17","bugs":{"url":"https://github.com/saltycrane/use-fit-text/issues"},"homepage":"https://github.com/saltycrane/use-fit-text#readme","_id":"use-fit-text@1.1.0","_nodeVersion":"10.16.2","_npmVersion":"6.7.0","dist":{"integrity":"sha512-q5SElQ9QKgJ59MRFdyuLQ3bUpKfajtF0xLBKBPCoGNBLzJJ6CI6VkNqRKR8GHkL7iL11PA5YHICjWHMR6TnrFQ==","shasum":"4cbe415df3e3437b46b446bc560f1ff7adbc0e4a","tarball":"https://registry.npmjs.org/use-fit-text/-/use-fit-text-1.1.0.tgz","fileCount":13,"unpackedSize":17718,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdz53MCRA9TVsSAnZWagAAOHAP/1RPQtWVca5v+5XE9UUc\n7aOrmWKeWI+/P9cBfMeDc0qWnViuYaBbMSKppe2mAIdXh6ukjte1hKdfStir\nW9x9QL/ayCYsjK1STfoRd8AJ0hDkIhjWGMJmomnb9zU6pC+bwnprc1jlMHRU\n4ocvVdqf7GQdS/l56BF0eINeLEGJOpJhst9CNAiAyT0qy2Cev36EgrYQ1MQ8\nN7nXnvyRSmDLzC19Roq0lzAkWF4LFkzxzG4UZpgonO6V3MO7Dwe8J9PuPdWc\nP44G1HW4b1O7f4C1AGitAHcMA4Uo6UYvTflUeE2PttwbXj2qTsw3hSm6/jXT\nljQQVGfJCnWVQ+dCSN7fQN0crP/OdPOcPAag9yZaNuOf85DwZNcacCr0jGjU\n7YKh4PRZRBAUwOTtd/bgZdwNfzVkuMRS7xXT5sGyoXFvm0ExHF/plGZ5Hc0v\nLjSIo8pBO7pBoW4crj9EqLVjLwGqEzAHdEgrQUWoFA083O2O6GL2QcpkJnm4\ncp2PZgMVE7zJRpW6JEi9ahu9F0BueeFi9mdEiphtlJpLGASRleSiOnDMDc/C\nVzUFgSUZMDKaKP80VWEEm9gIgnl9S8Gt7n5YYEDthAb/OTxbK2SjiLGfaps/\n01S4o09gguaxkFeDPJREes4fiuQwnBh7NlOUx+xexMuVDFWgvKJbXi92Trac\nuQCk\r\n=T/wP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF41gsIndBLForMomwn9iLdwvukJmmB99ENsyfoUAQgzAiEA5+HAgPyviDfcnYwqIxetwWQ9JqNg6ksNEzBhnwvEhDQ="}]},"maintainers":[{"name":"saltycrane","email":"saltycrane+npm@gmail.com"}],"_npmUser":{"name":"saltycrane","email":"saltycrane+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-fit-text_1.1.0_1573887436355_0.7812113491232522"},"_hasShrinkwrap":false},"1.2.0":{"name":"use-fit-text","version":"1.2.0","description":"React hook used to fit text in a div","author":{"name":"saltycrane"},"license":"MIT","source":"index.ts","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/saltycrane/use-fit-text.git"},"keywords":["react","fit","text"],"scripts":{"build":"microbundle"},"prettier":{"trailingComma":"all"},"peerDependencies":{"react":">=16.8.0"},"devDependencies":{"@types/react":"^16.9.11","microbundle":"^0.11.0"},"gitHead":"0bd49d6605e7061c93ab6eb52391b0c62deb3a28","bugs":{"url":"https://github.com/saltycrane/use-fit-text/issues"},"homepage":"https://github.com/saltycrane/use-fit-text#readme","_id":"use-fit-text@1.2.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-fJl5lThEXlhBDGI83TFCP8XfKDtlmg3uZl+8ibB4eAcCwv4tOPzV8feTOlg5G10P/MghwmAp299kVswgNX1bew==","shasum":"3c3fd9860c71ae0fe1393e994252e34d8e00967e","tarball":"https://registry.npmjs.org/use-fit-text/-/use-fit-text-1.2.0.tgz","fileCount":13,"unpackedSize":24945,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5xQXCRA9TVsSAnZWagAAsGwP/0revhUra5b+D8GvhSUB\naP0nzV+ptlZbU5jKXEOySe431aAd9+2i1GR96tqYc2yR4SeA9c8mNNsUvZBs\nza6TXW5GC0K0LLIJi70iubS5GLQRsqAcpVHpaLMkMniktHQ8UbJ2qCPqQnZz\nKMQHpJZqwnziC3F579psnaj6wMcFXXrX9Q8DZZ1gbHVzjeFuwkvRe/bsjENm\nFpfEbWZsxNlL0X9xXo7TcPuEDwj2JPhmHcHMSdRPws6ZyyyJaD6n332AKN2n\ns/vgkw82hLGsiBm3a6y/KgUqtgmNIxapHmR8m0M1Wwv1egUttODdCFWfZ6oC\nTICq2wCuRprzaSy0lROPQh/+9NZyEy+XFhDYJGRnRm7OmxvLkArJgcjrWKnk\nt4+AL2uWsCTkQsT5M03vcuwr1fSR9BR3VlmkC5Sl7IDsUrsJ8fqmvYPgw/9n\nxkAzgWW9Kfz2xNc0GPyNj8S2euPj+d4P64xDzzkaZPxEGnvU47UhzY1GFLFf\nuRhQANEpHnNhcj7dcFdpdzhzj77wAB9KniuKw5S2gAJYwFL4hRs6eP+PBj9J\neyzfmA/6X56DKK2QdCKWfCqlcgBb3e76f94kYpTgLmU38I8vH8XfXaWzysKR\ncIDeqozX7pObdm9nQDoUnX4GblTPYU1heBkuPnx58ii/tEXUv8GYjI6KoHYv\n1/CX\r\n=P0Rv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID+tmHrBvcwGIzYeJdc82MyZ+BMvxFsvi0ppRqYOUfPFAiAHgIcbmqXLusKw1iMVUSGZ8sXsIWpME24pvvGVGxR/nw=="}]},"maintainers":[{"name":"saltycrane","email":"saltycrane+npm@gmail.com"}],"_npmUser":{"name":"saltycrane","email":"saltycrane+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-fit-text_1.2.0_1575425047049_0.6690481897282019"},"_hasShrinkwrap":false},"1.2.1":{"name":"use-fit-text","version":"1.2.1","description":"React hook used to fit text in a div","author":{"name":"saltycrane"},"license":"MIT","source":"index.ts","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/saltycrane/use-fit-text.git"},"keywords":["react","fit","text"],"scripts":{"build":"microbundle"},"prettier":{"trailingComma":"all"},"peerDependencies":{"react":">=16.8.0"},"devDependencies":{"@types/react":"^16.9.11","microbundle":"^0.11.0"},"gitHead":"c705737172e7bbadd22524c6964a9d7f9f6c9cdf","bugs":{"url":"https://github.com/saltycrane/use-fit-text/issues"},"homepage":"https://github.com/saltycrane/use-fit-text#readme","_id":"use-fit-text@1.2.1","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-V3MisGE8HG5inz/y+E4mIff34tIlziAgECcSbMDV/6VVN9159UC/smI42bUVCQwzED3xUkPRAWaTRnc9uifYBw==","shasum":"6b39098c4d9fff9bee20560d682cd1cbca04bfac","tarball":"https://registry.npmjs.org/use-fit-text/-/use-fit-text-1.2.1.tgz","fileCount":13,"unpackedSize":25271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd50MBCRA9TVsSAnZWagAARwsP/im9xg/XiZPMJPumn2Aq\no1rpy8yyPEvK60UaxziR+pmYRlXRwcbzW9ou8PiEE01pwkH2z1wV5CRB6cQc\nMYq1oKAWmO48W4zj9uB4aZo90vXCpPrHNu06XdK271FzKibFyR6XWXGsmuGH\n5Qq8dncz3mgMzTS/IIUHuEGVpxAQUdW3OPTWUUGVACMg4Sii1AocOy7HYhQN\nexhyLZeV3nehScTshxceyBHeQllVxfEzHU3ZNw5z7VCr1MQgyVMpxJeetc1M\nCjFGP5Q7jld4gDsaQQnYs4Ryr5fVFLvBdUR1rVTuEABh7D9unlzySxAYI0KY\nv7MpDt8WSv6rIwPB72R6BAUVZUOir6unyl9FXb6XQu15ahKZjB45LYMKx7Dq\nH32rj2Sh2yS8IN1vMQ5VIh/d+hjyWdNE8UjN1324C1a2sbmBLB/K1UY63Txi\nM6nJszYLI7mkfcbvsnhRbm/k5yzE8W5tX0KmUKWyuaEPNJ8PR4eyVzq9CnCl\nrtN5D1T8A6OeQC0uqCxWms2+caAdpK2Q2C62ozOgJkRQIqx42k3YQKtfnn67\nETWVxRYQ1BjbrCG+xGVxuVV2qYVRP52oksCE+WhZh0dAgy2PMRpsaazb4CMn\n2v1HHkroGQTrhsyTXSq0qT9R7Nd4UKW0lcF3iDjLozqR0wdiUSw93/afTS2T\npWSG\r\n=SMqL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDG5VEoM8MYxmUq9tZlTPyRnnpbM+Ehya8hLDFvAeZxnAIgHhwlllQ1UyfXPS5MROq2Cmm67zHWoy00/isNpBS/Ks8="}]},"maintainers":[{"name":"saltycrane","email":"saltycrane+npm@gmail.com"}],"_npmUser":{"name":"saltycrane","email":"saltycrane+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-fit-text_1.2.1_1575437057165_0.32269991523589336"},"_hasShrinkwrap":false},"2.0.0":{"name":"use-fit-text","version":"2.0.0","description":"React hook used to fit text in a div","author":{"name":"saltycrane"},"license":"MIT","source":"index.ts","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/saltycrane/use-fit-text.git"},"keywords":["react","fit","text"],"scripts":{"build":"microbundle"},"prettier":{"trailingComma":"all"},"peerDependencies":{"react":">=16.8.0"},"dependencies":{"resize-observer-polyfill":"^1.5.1"},"devDependencies":{"@types/react":"^16.9.17","microbundle":"^0.11.0"},"gitHead":"b58bd851fff04e8e44b65779fb75de0d9479f2b5","bugs":{"url":"https://github.com/saltycrane/use-fit-text/issues"},"homepage":"https://github.com/saltycrane/use-fit-text#readme","_id":"use-fit-text@2.0.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-eA2rMJecQ6WsdVNnVYFX5Xn1cQlAyGp4rJj4m69S7QJ/FNgcEWYpFtyslIM0YyV2Rh+e1N4LfOV1za7m2DfdmA==","shasum":"4fa0912b2f100465ac0b7d54c1605660f4263b86","tarball":"https://registry.npmjs.org/use-fit-text/-/use-fit-text-2.0.0.tgz","fileCount":16,"unpackedSize":27792,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeC43ZCRA9TVsSAnZWagAAjp4P/jTFxVOUbq9f8BsBMb6x\nYJk8dD1DHGYNtL8aT+Q2Pm3PK946RrHoDVkZ3aLS5n8ic9+cCI69ybQsZilK\n/afavlqQ7RSMIZY0LXqbqQEAFzXgkWv2jCckjaQH/k4oH1gPeb0DgAHLd9JV\nqSnrT++QiqVSL+OU/7jTf8hz5RpmGEADZ3cSWKgEUqZFzlOviDK0V5aMbGWx\n4yrcWConNTDeYUi6oy2/cvDCvO4M1rEKeaq032B7d7rJZFF5gD1N0nomAFax\nKKnQ7HZ1+nQU0kK+THq8jbWAZqPT+XXzjs55mS5KMem3iZMcYiIFPjDI5xTX\nCBgdTvLwxmvHnk4zhM39LrnuZq4gXNkz7puqOvZSGIvQlGGcZeuE3eeZwU8+\nKt40xfJ/AQbuczs6SiM7A3Vk2STAkxWdPDrRo+vNAWZTe33TenClWC/kHosl\nmKOeSd5P4EZ5A31uKtYUyA9LUKFWHDIhSPfJocEa7VnFVyRpJOrhBoDKu9yo\nHwd9U0sboAURNK/t6ZZT4aVml0M1EuxW/ic9trNpfTBYFmi85vicayG3RhvH\nbahop3uLEt4r8DfG5ehfHl/4rvR75fCtRJWP9TaAIB7UxVxDtIK4ouSR1BKb\nqZ2pD/DxcPy7e8tTh8vApJHOOdvbi9Qc7JoaA7fnNKOVHTF4qsK8X9XWqLcZ\nWL30\r\n=WbT/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBE/Fp9NMoDrWcdcG2Z9rhP/WkfKzJJvEw12FCbsU3PbAiBIVY20iQDjYA9C36MtM/kwlh7iZWpeo446um24R3Ak3Q=="}]},"maintainers":[{"name":"saltycrane","email":"saltycrane+npm@gmail.com"}],"_npmUser":{"name":"saltycrane","email":"saltycrane+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-fit-text_2.0.0_1577815512845_0.5184779728945825"},"_hasShrinkwrap":false},"2.1.0":{"name":"use-fit-text","version":"2.1.0","description":"React hook used to fit text in a div","author":{"name":"saltycrane"},"license":"MIT","source":"index.ts","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/saltycrane/use-fit-text.git"},"keywords":["react","fit","text"],"scripts":{"build":"microbundle"},"prettier":{"trailingComma":"all"},"peerDependencies":{"react":">=16.8.0"},"dependencies":{"resize-observer-polyfill":"^1.5.1"},"devDependencies":{"@types/react":"^16.9.17","microbundle":"^0.11.0"},"gitHead":"319c9ad03064ff81fd551eace450524631c193e8","bugs":{"url":"https://github.com/saltycrane/use-fit-text/issues"},"homepage":"https://github.com/saltycrane/use-fit-text#readme","_id":"use-fit-text@2.1.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-InsRwEFd0vcgNePeboz/d5+wgsp6GdJHYbrzpD+d1UW49SQYocQ2mxYq5UkWI+I5KQZ6f+t7jubzV4rH7Iberg==","shasum":"132d2373e262dcb0209fd91ce1a81f0254b907be","tarball":"https://registry.npmjs.org/use-fit-text/-/use-fit-text-2.1.0.tgz","fileCount":16,"unpackedSize":26885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeC9gvCRA9TVsSAnZWagAANhUP/jXCNQu/dVDGAlMyvdJT\n9ne4yfH0rPKmgvXH4rhAz3ysJkBJSAnpXdji5R5AcnXSW0RrI//SRWehdMpX\nHhZC4TmSipHIw/gYZBcncGfhNtamJEkR5PgpR8NlJDwxUuSn1DmGPQKZZeyJ\nS88GdUj3YI0ZfbpXfjTwLOhT2Gk1n4B2mgpFlK+Ek3g9KoJv6Rb5syp4OCQm\nvONSaivmIbdLVlnaw/4KKWbKjZuuzP7bDwTJ9Wsf8Pb1nZiDiqEQjL+eno/C\n3BDeMnKASZ2l8LOcOCi2llHTmvJBnViNURxcJXu5EuXmhDuU8jF89PIWjNzl\nZ0Lhvk9ZFooiA1o2pdF7REsTleo/bZDKpUxv3zu3L7klJ0+Q+p4G0E5wLZNO\ngm809dQi8XW98IDuShc+Akzyhvl7VOJxEUPjufEWCYHWPxbNpDL4enGenvZt\nj+rTcl0cGyHSMSjEMy7X0MbXBgYGIY9+8H3SS8Zn4UrOFAOipN/6EkHHggcp\ntYwvhEjRapIWk7+g2O/bB8qKO8QKoLBQhOszOglkc3m7D8PwS39yJuKTKmMP\newxlR2JwDWLuCKkd98CeRvpglleR4Nr7fhxWTsPMrRmBXXN/XPmaILksx+aQ\no+KJfpRxMYPJM+UGUOr3GlV/P6jxpBPQ9HanitTYEQ1yzCRX1gESSWDyjvzc\nHHO0\r\n=OInB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzHb8V0Lx1ul93iFFv5bSuzA4h1uve5e8i//KccEk2qwIgLels0tdzswIdpCsME5YISiZUJT6b6D6dpBPhN4j2MJY="}]},"maintainers":[{"name":"saltycrane","email":"saltycrane+npm@gmail.com"}],"_npmUser":{"name":"saltycrane","email":"saltycrane+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-fit-text_2.1.0_1577834543005_0.2596806785479804"},"_hasShrinkwrap":false},"2.1.1":{"name":"use-fit-text","version":"2.1.1","description":"React hook used to fit text in a div","author":{"name":"saltycrane"},"license":"MIT","source":"index.ts","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/saltycrane/use-fit-text.git"},"keywords":["react","fit","text"],"scripts":{"build":"microbundle"},"prettier":{"trailingComma":"all"},"peerDependencies":{"react":">=16.8.0"},"dependencies":{"resize-observer-polyfill":"^1.5.1"},"devDependencies":{"@types/react":"^16.9.23","microbundle":"^0.11.0"},"gitHead":"91dcf39babb8a33b9e643a3e3ada099ca9172b15","bugs":{"url":"https://github.com/saltycrane/use-fit-text/issues"},"homepage":"https://github.com/saltycrane/use-fit-text#readme","_id":"use-fit-text@2.1.1","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-xiGFDzdFTbOh0XQiYd6jrwan8oXJCkPLJQ+vd+o36aXAUya4a2e9U9I0u6+n/IdN0aUNtDkhXY/NuA7u9Xu57w==","shasum":"1565f94408124f101ff439923abdf75e81025583","tarball":"https://registry.npmjs.org/use-fit-text/-/use-fit-text-2.1.1.tgz","fileCount":16,"unpackedSize":27280,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeatJXCRA9TVsSAnZWagAAQH8P/AgYw42NBRCToNacTj/W\nrn+o3/K/zXhAPJ2ht+2tFmM9n3GwHjG/wPEqgSnyYWrvE9PEC3VOTReJeTWb\nPBIU8s0oPLuJbcyjhgJY8lwdgfSANIJTjw2jNBXvAHMg0b3SADpNMJbdOGgi\nvQjgS/xpHK9VtAm9jb8sFacJWwJ+g+06460xqT2hWPQLREWTryErIsQv6CnF\nGFgWrYwxySbP/BXG8iyWO5NCs9Sv7FT+pKMr6VIT+A8aH6BrwsRfp46NQiYK\nrhHAptQINiPCyVJikGMvWjdlHC7sTv/C2cEr/cLTr2ct4NbroKbRUf3RGKag\n05RLcROGM8PS6Enk3gtrMmck7DXGJlo+y3UMEwskiXQYiY7waOqE8XdAIwdR\n59lLjLekryYmz9YCIsYX0fZJ14mCWoeJ1QWilZPdOWM+sZrup+MbeFMsMNq6\nDkESCuLmRoPv1LEMy9SZkkrOdWLntBw/iYilVw0HwyJjpKNPLH+9B+skwOeI\nRQ5k5kvgTGqiVwjsMaGtGtzVzXoGzJoXH0Va7wpNgfE3O5ltkvUt+UVLrqGV\nM+OQsihIpMoNgbka7g69zGQpDWo9wEFQW/m/WXa8b7XBGaxw/QPyQ8qTsxbb\nAYvWi36NiZARoJartYBN6AKOG7oKNjLZw0bkLzINqBqV7P2G+A985NvkdLZd\ntC47\r\n=UKW7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTSUjBbWFIlOcNBxPbKv7SUcSJ9Iy1Zj4gHRP30S/U6wIhAPO3Qu8GRYPONxXwWcnydLJNcm7/T2//Rx+VyX06b3aA"}]},"maintainers":[{"name":"saltycrane","email":"saltycrane+npm@gmail.com"}],"_npmUser":{"name":"saltycrane","email":"saltycrane+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-fit-text_2.1.1_1584058967097_0.304632268570866"},"_hasShrinkwrap":false},"2.1.2":{"name":"use-fit-text","version":"2.1.2","description":"React hook used to fit text in a div","author":{"name":"saltycrane"},"license":"MIT","source":"index.ts","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/saltycrane/use-fit-text.git"},"keywords":["react","fit","text"],"scripts":{"build":"microbundle"},"prettier":{"trailingComma":"all"},"peerDependencies":{"react":">=16.8.0"},"dependencies":{"resize-observer-polyfill":"^1.5.1"},"devDependencies":{"@types/react":"^16.9.23","microbundle":"^0.11.0"},"gitHead":"c23e09c9bf92f66387395c9dd6e39f48b0b9efa4","bugs":{"url":"https://github.com/saltycrane/use-fit-text/issues"},"homepage":"https://github.com/saltycrane/use-fit-text#readme","_id":"use-fit-text@2.1.2","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-9ncxEqhbYzoycqmRZRrU+IZZ6ihIcFeVH0PirZgYEQLDsnnflv2Lds1AIMz9gYfKZlUhPmIoZnWDLXUIQC3sMw==","shasum":"9ff1dfd61faa127563764d0d98ae8d0c09a1f676","tarball":"https://registry.npmjs.org/use-fit-text/-/use-fit-text-2.1.2.tgz","fileCount":17,"unpackedSize":342589,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeatZeCRA9TVsSAnZWagAAyxkP/j1w9GY8C9njQFtlWP8Y\nU82UoY2MpMI+NXRCIgfAdr93Me5Y6dXTg5umEvBtPxFOH2OA8bhb1gVkjSyQ\nSV339imFrBn0+xym6bBU3oEsfesyqWIzjBr5JmsIeh7IQdWVkch/EVH2itDF\nvk6jPc6R1yUj2b8pj5O4+C8FOCQ17s17WXdPsHBafflAXeEWNNhuWXRDORuK\n4Un5iCyuz8/7Kk2imlS9Sc5gABsOzVXOvvDBOyXegTMn3VSrIFnBdbcu5UiG\nKz48Ndq88BwfSkuvuLHr8a6RL45T5jarPaHnmaWqLUAOoFfWETxIY4MMzPcx\nii9/CiwcLHiGYVEp7kvxm+yRkzopqzLrcmwzRPIEFa9a6WC/QUhMiF7eW7x+\nZ3NmEryPF/ZhQa/zmh6Gszdu1sJhVE+ShKtSZVmzzoaMG0b/P/JzRUVaf4Mb\nA8CSKTkMv3LhGp1+ZHOwa9fmCOQ3mnT6Icw4J6kyLlKF6ZJbeJ+OIG9RfgnG\nxN6KbPLV4q1L1JYg1DIWSk0fB+RSYkyoCnANeVcIr3leCYo3I+NVfFt0M9+m\n5tROHY5gKFcLnvvBAhRDtp1sW9dIEDp3iy+yvdI3k0MbUFPDbQo6cywvwzGK\nOGCdTyvJc+otsuUuEm0T5IpL7qz65d4iJgpHdxrrlWODn344g3a3WgONrnzg\n/U+A\r\n=t1Z6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDT+qTDQXJ3RP52gJnV7u2h03FcgjGEU2wWQW4s33puVAIgMW2y+/amk8wH/fTORU3mBSh5ZwOZz/7i1ia9C6YwK6A="}]},"maintainers":[{"name":"saltycrane","email":"saltycrane+npm@gmail.com"}],"_npmUser":{"name":"saltycrane","email":"saltycrane+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-fit-text_2.1.2_1584059997534_0.6768538037473373"},"_hasShrinkwrap":false},"2.1.3":{"name":"use-fit-text","version":"2.1.3","description":"React hook used to fit text in a div","author":{"name":"saltycrane"},"license":"MIT","source":"index.ts","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/saltycrane/use-fit-text.git"},"keywords":["react","fit","text"],"scripts":{"build":"microbundle"},"prettier":{"trailingComma":"all"},"peerDependencies":{"react":">=16.8.0"},"dependencies":{"resize-observer-polyfill":"^1.5.1"},"devDependencies":{"@types/react":"^16.9.34","microbundle":"^0.11.0"},"gitHead":"fd98e5e7769e5a4787765077be557422aef51be5","bugs":{"url":"https://github.com/saltycrane/use-fit-text/issues"},"homepage":"https://github.com/saltycrane/use-fit-text#readme","_id":"use-fit-text@2.1.3","_nodeVersion":"12.14.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-jsUl6e1kwcABmFdq0F94QqY0/opsqyRVrL4cYqDgy52RFnPoWz/+5tosxO6L301qIa+LckfYGuoFon5IX1v8tQ==","shasum":"cf9908aee8083d30ee53c78be1f5965e162292aa","tarball":"https://registry.npmjs.org/use-fit-text/-/use-fit-text-2.1.3.tgz","fileCount":17,"unpackedSize":309562,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqbzECRA9TVsSAnZWagAAiaQP/1zQieFzEpzMNUlNCZWJ\nsf5Ma+NLPDUbNJFe+TIN4BA0Wd3qb1qvLPco1PFwL7mTtco4NlO4na4rp2CU\n3gj5WevMZvqE47FZ+ScFlEEwZB8zjsrsUhTmnk2wykYjCtFVXN/dRVZseTds\nY2CkLX1v64cL3+2F9QJvpXvJ/w+5xDCvXBz77tgOcqmLI5gJ0rgMJcFS27pk\nc7hkuL2DoGYt3q4Mm9pE37R74BagwN3ijTwgYlGu13HqEWm599Wnb1fswl6j\nwBKYJWbmlWFz8yYBRTz22X4Pe2OysZ+AEt5WvL3FFsSi45itnRUjTVzbA8x9\nVviiXyvLvb5r1JRUYuzGs5QE+FCf2V7YAuiRFahvsyLLHAmpwj9cvu9i15LC\nL7aO0MPhUfq8pRlsmgHR1uILQWvLRfArseAdgSWe2oSCVQMfTnPqaUruwbnY\nPq1Gc/fro79cQVbtmlJErH+2MIKmksq6uKfxPm2+1zAiYk+lNyA1tIrGbdeS\niNBOj6M0atDjr2QjmL6BMNzDaa6jYjG3by2EAzftmmBcl6Ytct0EUFCg1BTQ\nUy4o5u01zy6KFc1y6/UU/lGewzFGDTCdeIxGhjieAFspSluYV79kTfjcGlIj\nxXQBRcB7YJm3gn+S3/ZgtsMpV0lEuWuizQzxHFis36+IJ0+IEXxZEkHfrNsp\n0Tqs\r\n=+QaG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJx5XjYDy6HuMzHyTQyfxvMYcsOe40CbdVNk5wVmkpawIgBjzdjf86DLNN1MGsb3koBm2C31rd3dcKteadtpJO3kM="}]},"maintainers":[{"name":"saltycrane","email":"saltycrane+npm@gmail.com"}],"_npmUser":{"name":"saltycrane","email":"saltycrane+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-fit-text_2.1.3_1588182211698_0.48088979538041143"},"_hasShrinkwrap":false},"2.2.0":{"name":"use-fit-text","version":"2.2.0","description":"React hook used to fit text in a div","author":{"name":"saltycrane"},"license":"MIT","source":"index.ts","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/saltycrane/use-fit-text.git"},"keywords":["react","fit","text"],"scripts":{"build":"microbundle"},"prettier":{"trailingComma":"all"},"peerDependencies":{"react":">=16.8.0"},"dependencies":{"resize-observer-polyfill":"^1.5.1"},"devDependencies":{"@types/react":"^16.9.34","microbundle":"^0.12.0"},"gitHead":"bedb53eeb772738b0ef655fa1e6d7000541324b9","bugs":{"url":"https://github.com/saltycrane/use-fit-text/issues"},"homepage":"https://github.com/saltycrane/use-fit-text#readme","_id":"use-fit-text@2.2.0","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-uA9pbeqFq+6mrip+XHoOyAeMRk6hPAR5h7e3kKSMy+Jhs6NafnKTlo4bEVzXtWMF4aqV+reRMXjphNTO77KX4A==","shasum":"170bcfdf801989337be7438d8c2e7b967a72ab00","tarball":"https://registry.npmjs.org/use-fit-text/-/use-fit-text-2.2.0.tgz","fileCount":21,"unpackedSize":341547,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4xzICRA9TVsSAnZWagAAmaEP/1BFcSYgvHroMdp9KUee\nEfqmHi/4p0h3dsh/17K9VOCWUE9sEaFoHVXrMZM/GzTQQH15HQjE8zn1ZbK/\n4qIS2IoBQupsnFF+of43TOgWzUNeh0wRB7xJHEoZkkhkAf0OVCFMcWducFUU\nHvLTNCNillxIsjIzWsQWPGXG5ZHcuVCwTOFrn7dSZxpgop8RpiwgwdKhQaOI\nhsw7hfoD97OXqqSe8lLU7L7xRysxdmIInTvJY7na2ROt+8R8MWr58fbiUtR0\noQoKnVgzC0zpFxPYz5ypOjmU/jkXe4v/+NwqV5IRox/a7ozJmYTSH4mNavas\nw1yeVKchFWt+O0GHGX2M6yg14bPZnLN02n+wR56Zx4pIpIZ7Uo4rOA0Cp3A5\nN79tKJEj6pbl84ISBrZlPwR+VKnT9YXc9bj9RGxUviDj2gRN6cKwXgBOYEUa\nWwn3i27dwDxe8eJ7f5xDnMpybvkdoPsN+mxwBaIiUYJONv2khdmlHaBJ7+Fu\nnREs7PNIS9F8yk1b9NuIncVUjht/Q6DafoyzP4EYXopClQv/4LCJEyHYR72X\naAPluDx1LJLa6S8kHEOCPI21uQBn9PlXnp71BXGwMGIlg81FYswAOvkBtaZ7\n/Co0t4++/kKr3dw2LGsM2LUL5Z2PbQ7D2FMJ3V0WIXBiCbJBi7fGApnS+RQf\nJ9LW\r\n=VbRL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEiHXyAtG5Gq2avgjaUSHgXyG40T+o73Xim8Ucm7+GleAiAcXxaofpZ/0qYppPeqHdp9tNXq/I4KarD1wHAl+DT9Ew=="}]},"maintainers":[{"name":"saltycrane","email":"saltycrane+npm@gmail.com"}],"_npmUser":{"name":"saltycrane","email":"saltycrane+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-fit-text_2.2.0_1591942343751_0.20055778459990958"},"_hasShrinkwrap":false},"2.3.0":{"name":"use-fit-text","version":"2.3.0","description":"React hook used to fit text in a div","author":{"name":"saltycrane"},"license":"MIT","source":"index.ts","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/saltycrane/use-fit-text.git"},"keywords":["react","fit","text"],"scripts":{"build":"microbundle"},"prettier":{"trailingComma":"all"},"peerDependencies":{"react":">=16.8.0"},"dependencies":{"resize-observer-polyfill":"^1.5.1"},"devDependencies":{"@types/react":"^16.9.36","microbundle":"^0.12.0"},"gitHead":"0172b68a00cefcb2b3f79344fda434b2a416ebf8","bugs":{"url":"https://github.com/saltycrane/use-fit-text/issues"},"homepage":"https://github.com/saltycrane/use-fit-text#readme","_id":"use-fit-text@2.3.0","_nodeVersion":"12.14.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-7z3SRLvGK8iUZ3H4W/CePWFcOA1QrYoC+yh/iYWoTQce1leJ5t+tktWZkMlSPRa0o6AOmqEieCCJlPExh3tIsg==","shasum":"ffec7f6a809422adf231793f6471655e55b1840c","tarball":"https://registry.npmjs.org/use-fit-text/-/use-fit-text-2.3.0.tgz","fileCount":21,"unpackedSize":351507,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe59bICRA9TVsSAnZWagAAzrsP/0bcxfodgc6XGDhvxoW1\nguMs3cHgW0sR4oTNbLXTAmclPozAhNJ13z/5HNw9DvgNglKRyq3xHGZ3ASRv\nmPPmzkkStnilYQd0HrmJdwWHFY4ZONme5W1V1trh/GWWCYEbnxWtmmtCNrU3\niEamBYea8dh5jaYF2oG5M6lFN8sc1UJbz9/CeX626NKJFP+mz9Z/wKjg0y7Q\n1+1ymE9gRDlPyPQ6KbzYUwLReyRj3a8xejJneqeMzU6r7mwhRLJ2CHiXjiHO\ntG1F6ZXzbuEHEQlTcmUhD0mWX/RB59PSTpbysajxyl35O2MuBueQ9UJHswXZ\nsk3fFiLOYLxYltSFGfkQsVXYc1MJNolSGtWeFdv4SPQG/vL+HxcIG8j0jKaC\nX0xb6+8A2QZx/DkqGs2ga0ASVan2hNeP9O5r+0xtfHqzitmOtjHUOLr/6uE/\nxQJe76AyNXg/x9iebBwKRYu8eQmrmT0dKsgBJ06KGG6Iw312PqB83sZQaN5+\nG1TWY1Iadr9a+HtoJoIrdAJyq3F4B2pRzFFHeRFAnSDeVJuN0NUBDhxZQn5S\nyx+Fu2buzajUCzZ+z3tZMmtvuILpFO9fSy0oHguDHK9HmmMvgIgnUEMn8MsA\nhtgyje754GXwmH/UcRGldXwO7KwUCt92slI3WqD4yn2WCvQdCUgN+nG8uEMl\n4PMz\r\n=3MBK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMrdG5cuXNEiCu8JMCxbeQnbgSYRo6wSgHEymRnvWjMwIhAP3jcLiw8Bb9dTzjAiVSFKQXAXPZFECX5BjkRqm/2WkO"}]},"maintainers":[{"name":"saltycrane","email":"saltycrane+npm@gmail.com"}],"_npmUser":{"name":"saltycrane","email":"saltycrane+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-fit-text_2.3.0_1592252104301_0.856149126169357"},"_hasShrinkwrap":false},"2.4.0-alpha":{"name":"use-fit-text","version":"2.4.0-alpha","description":"React hook used to fit text in a div","author":{"name":"saltycrane"},"license":"MIT","source":"index.ts","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/saltycrane/use-fit-text.git"},"keywords":["react","fit","text"],"scripts":{"build":"microbundle"},"prettier":{"trailingComma":"all"},"peerDependencies":{"react":">=16.8.0"},"dependencies":{"resize-observer-polyfill":"^1.5.1"},"devDependencies":{"@types/react":"^16.9.49","microbundle":"^0.12.3"},"gitHead":"1ab2138ccc608d9dc2390e2b7ea37ddec8843ede","bugs":{"url":"https://github.com/saltycrane/use-fit-text/issues"},"homepage":"https://github.com/saltycrane/use-fit-text#readme","_id":"use-fit-text@2.4.0-alpha","_nodeVersion":"12.14.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-eNHqUKkkmupSKK9OLLFHKfHVqPY+iMQ4xoPiZyZ8AXmz5HWTrBmKejPo3rMZveyQ5Hce4RN/91LgSm8KhkYNZA==","shasum":"f7c9f6c666b92cfa71a9e77a4d2a207cb1e07822","tarball":"https://registry.npmjs.org/use-fit-text/-/use-fit-text-2.4.0-alpha.tgz","fileCount":21,"unpackedSize":296635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWA4bCRA9TVsSAnZWagAAu5IP/RopAXgRInt7xQeAbCGe\nFIxyKkjfXBjNPUpvMcPxymyE9WDYJaPXWu5FRPZP1yKHrFcMVSS4+OPD/I6P\nNYMfqUkYHitnHTJmfsLsvEN2MIUmwB9qXnnNk3R2xw0QuEz8Lz43WpLr+N2k\n/svnBUYxn4wkqC9kChaxW8uQqmDe1sZE7+IsZkbpZE+cehvbIyd16+v5/7KP\nUKmf31ZJAtpMvAnSizA4fXbeBEUZ9aSjOkbgNDvcUb9NrM359Qv7zEBdyzBn\n0LG8qOIBV06rtikNVi36SF5bEaWmXHfx2s1UGpBXskKKwjcyqc7ZvE0W0SUd\n9FObuvUnKLPoYiKmidvCfEqWfKolKuWCA/H1Pj5RGayJpdoZkG8tuad91T7F\n5AdlNZkSSmQT8/r4ST1AqGng5/0HLjNOvBWuQ7qaQirYswP4hdMImakoai6N\n7xlX61eKPHld/eBuTfri9seN1v43NvmtsDagLWYqZ5liYHbimUcBP2vPzsSJ\nqj5ygTPxvq4nCh3wK1ke3Tnkf97wO5OjibO6J6Qo26aqr0XE2F1L+ED9JX8Q\nrk0OS2dSm+RnBy6JcLAo5NZARktTrQqIfsMWoxdkgNzva7NZa7Rj8O8NuAdq\ny2jVeT2qTpMXe03AWPtSH3AJUGP1EhwM5Sb1A2kaXGKxuaX5G+LMAe8oCe9l\n3DKK\r\n=gzcV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMrhPmAIRbeKCj1F8AdSWZLCBUK5k4r9bVhG/dU0lPrQIhANiIks9vtWVdxuig/4iR1M/ubM3dmBiFztaSJyFM67+k"}]},"maintainers":[{"name":"saltycrane","email":"saltycrane+npm@gmail.com"}],"_npmUser":{"name":"saltycrane","email":"saltycrane+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-fit-text_2.4.0-alpha_1599606298656_0.9111094725378204"},"_hasShrinkwrap":false},"2.4.0-alpha.2":{"name":"use-fit-text","version":"2.4.0-alpha.2","description":"React hook used to fit text in a div","author":{"name":"saltycrane"},"license":"MIT","source":"index.ts","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/saltycrane/use-fit-text.git"},"keywords":["react","fit","text"],"scripts":{"build":"microbundle"},"prettier":{"trailingComma":"all"},"peerDependencies":{"react":">=16.8.0"},"dependencies":{"resize-observer-polyfill":"^1.5.1"},"devDependencies":{"@types/react":"^16.9.49","microbundle":"^0.12.3"},"gitHead":"db9336412327f89c6d8f6c3726a36a9f39abc4c2","bugs":{"url":"https://github.com/saltycrane/use-fit-text/issues"},"homepage":"https://github.com/saltycrane/use-fit-text#readme","_id":"use-fit-text@2.4.0-alpha.2","_nodeVersion":"12.14.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-Joc87dtnTJolXaVEApVSkRCVQVESbWyXqEAXwg3vCm2Eu5qqbsMG70J9vCeyy8qM/RiAmvqsypWvdJ1ad59tkA==","shasum":"a32f04388b2bec6e0da54ae23ab8794927725307","tarball":"https://registry.npmjs.org/use-fit-text/-/use-fit-text-2.4.0-alpha.2.tgz","fileCount":23,"unpackedSize":299047,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWXIoCRA9TVsSAnZWagAAfjsP/jMCrcHruuagPpeivUTr\n89lX630uOpDL9lNL5/2XoTU4PH0buf4hzMOI8uIhGP/Pz3nqGWiy7cBE3/bJ\nAl45h/PfPh2I2m9REkKSW2cWwc1HnU+6Az2U9SKrBYXIfEJuN0sb75mT5Q7P\nmm3mi/K1EDaWX3+kR7ZGldphi8Yxjzr6iCUlABqvC27qRKPjaTEFHj3ON9ub\n6KXYEX1E0osm/0zpNVKtxFOc9abAHpDmv3I7gQ1pEc6ML+MGnV1kGojqYEC0\n9iyPgPlpHvXeEpqglH41iVujs4kTO8tTGfpdE0vLopktx4Rr/e26O0Ubi5cS\nfzuTtzSzLMuiXdcBTvJwrrbQMrZOnDY5mKlutU9n89laAyFtzX6lL+Qz2FUu\nxTJWgqyObkI7pPMiDDZU+R6LBXMOVdi8ufjwHjKLIn1hXpEZtHkppvfcwGl5\n7MBMAMCNd5JOsx/5F6kyG6P3LNfVbFAyZ1qkdgNCRZH+kJ52tfpULuhIlX0d\n16GIuOjnhkXQlFjpvvnc+P+uTCuw3JktY4ecBdIRo/OjsgDTzWpgB0pBi8/m\nNL3LFEihgPb/BsBO1+WJZjWyFawt2M3RInhUUGMdmhScu6Vn+BvHA72BIoCK\nzGWEECRBwYF/Aw5Nah+MpGzeQXf/TBE3itBwfog5+AeD6ow/qn/FHFSCS9su\nOvUx\r\n=En1+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeXGGoThhCCfmw8w5TpTy1XNiZ59dpoFfNoqxsV0UZGQIgIG2lk/vTBFmW/DZlnZ6Nv+ycRFbz+/CJl6H+H0wgjTg="}]},"maintainers":[{"name":"saltycrane","email":"saltycrane+npm@gmail.com"}],"_npmUser":{"name":"saltycrane","email":"saltycrane+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-fit-text_2.4.0-alpha.2_1599697448411_0.732508869153812"},"_hasShrinkwrap":false},"2.4.0":{"name":"use-fit-text","version":"2.4.0","description":"React hook used to fit text in a div","author":{"name":"saltycrane"},"license":"MIT","source":"index.ts","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/saltycrane/use-fit-text.git"},"keywords":["react","fit","text"],"scripts":{"build":"microbundle"},"prettier":{"trailingComma":"all"},"peerDependencies":{"react":">=16.8.0"},"dependencies":{"resize-observer-polyfill":"^1.5.1"},"devDependencies":{"@types/react":"^16.9.49","microbundle":"^0.12.3"},"gitHead":"c5420a4d02b51f9b34d19a48e7dd9e07c1785b5d","bugs":{"url":"https://github.com/saltycrane/use-fit-text/issues"},"homepage":"https://github.com/saltycrane/use-fit-text#readme","_id":"use-fit-text@2.4.0","_nodeVersion":"12.18.3","_npmVersion":"6.12.1","dist":{"integrity":"sha512-Iy4LMrXcdxWlyZ5phntMpJMgyXGB1p3tV73y2r0QrZ6f/thPh+/QU3ie6RCXmjF8tHMs20FKMPskXeDYIla/Ww==","shasum":"d3d1cd72f6d29cfb2233ec0e0b38c6f25d319f67","tarball":"https://registry.npmjs.org/use-fit-text/-/use-fit-text-2.4.0.tgz","fileCount":23,"unpackedSize":303727,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfX+hNCRA9TVsSAnZWagAA2CMQAInGA8O4qsReccuXkYa9\nF/fHPl4cLf4fjP6HmOrnuH8mKJ9Pen7xzkGtOnpND44hQTQ5IH004xmalt/n\nvKiFgEBLVUZZgMml7PpoAb7rhc/UzNSRtLjFHp5+BOYNKbyUHtMiJUkW5c7/\neELpggXhXSDUU2mlhoKA3zn/u+O6HMvF0oDwJd+bRQQAgFF0qHIt0iACVUUu\nMjO3/XKpkDJqNXqWzpAVl1h8qqsA94PLUJ/gu4WtqHZ3eTfq9LugAWXjWAi8\n1orz3Wp8jffI8rP68XtrpW55wtjIhkGZO0aQ+nXFFzlncdJt3sdFdSYQBOIn\nlVb5F7+HBWtB8iAjb0Ded3TUi9wKTp0NfzzTpbhSg6uT/Y5/v2MOWYntyUH0\nZ15f2OUIL1I9o1ePs5fSviR+Om9T/uqC7FoLNfylMDAc13tW9UvdyeFO4M78\nQm3R5JOAldS+489L1DIOpDGV0qXAm9SCVGqHDQfdBpDdvXMq87gjV4gbEFbe\n7phsuupWp2RkUSJXspVNXz5rmATBVL5uFoqiJprqVKBdgdPEKdnf/MjfqvWy\nBz+stNv0Hp3rH6/b4dbqNb9PEtI1AmtPtAd3nhSILH0HYB1w+9PgVb/CT1S8\ndQaeVgiL2GwFWmj57gcORyG1h+P4P6FFepqr+RvGaXKv1nktZnfeeqZhj36x\nTTj7\r\n=p7FI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFcNEJ2sZGOuP5zsb3kKxE2FeChOHsbDpqxpAIlhz6AQIhALPCrHtP5b0EgXyLWUE3Y3hrkDGa4a3vFiZ27pd1dC93"}]},"maintainers":[{"name":"saltycrane","email":"saltycrane+npm@gmail.com"}],"_npmUser":{"name":"saltycrane","email":"saltycrane+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-fit-text_2.4.0_1600120908573_0.31383237308287626"},"_hasShrinkwrap":false}},"time":{"created":"2019-11-16T01:35:03.299Z","1.0.0":"2019-11-16T01:35:03.415Z","modified":"2022-05-22T22:08:01.146Z","1.0.1":"2019-11-16T02:17:58.108Z","1.0.2":"2019-11-16T02:30:16.858Z","1.1.0":"2019-11-16T06:57:16.508Z","1.2.0":"2019-12-04T02:04:07.174Z","1.2.1":"2019-12-04T05:24:17.282Z","2.0.0":"2019-12-31T18:05:13.052Z","2.1.0":"2019-12-31T23:22:23.614Z","2.1.1":"2020-03-13T00:22:47.256Z","2.1.2":"2020-03-13T00:39:57.744Z","2.1.3":"2020-04-29T17:43:31.849Z","2.2.0":"2020-06-12T06:12:23.933Z","2.3.0":"2020-06-15T20:15:04.545Z","2.4.0-alpha":"2020-09-08T23:04:58.805Z","2.4.0-alpha.2":"2020-09-10T00:24:08.588Z","2.4.0":"2020-09-14T22:01:48.683Z"},"maintainers":[{"name":"saltycrane","email":"saltycrane+npm@gmail.com"}],"description":"React hook used to fit text in a div","author":{"name":"saltycrane"},"license":"MIT","readme":"# use-fit-text [![npm version](https://badge.fury.io/js/use-fit-text.svg)](https://badge.fury.io/js/use-fit-text)\n\nReact hook that iteratively adjusts the font size so that text will fit in a div.\n \n  - checks if text is overflowing by [using `scrollHeight` and `offsetHeight`](https://stackoverflow.com/a/10017343/101911)\n  - recalculates when container is resized (using ([polyfilled](https://github.com/que-etc/resize-observer-polyfill)) [`ResizeObserver`](https://developers.google.com/web/updates/2016/10/resizeobserver))\n  - recalculates when content changes\n  - uses binary search; with default options, makes a maximum of 5 adjustments with a resolution of 5% font size from 20-100%\n  - [< 4 kB](https://bundlephobia.com/result?p=use-fit-text@2.4.0) minified + gzipped\n  - written in TypeScript\n\n## Installation\n\n```\nnpm install --save use-fit-text\n```\n\n## Usage\n\n```js\nimport React from \"react\";\nimport useFitText from \"use-fit-text\";\n\nfunction Example() {\n  const { fontSize, ref } = useFitText();\n\n  return (\n    <div ref={ref} style={{ fontSize, height: 40, width: 100 }}>\n      Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n    </div>\n  );\n}\n```\n\n## Demo / example code\n\n- Demo site: https://saltycrane.github.io/use-fit-text/\n- [Example code](/examples/pages/index.tsx) is in the `/examples` folder\n\n## API\n\n### `useFitText(options)`\n- Returns an object with the following properties:\n  - `fontSize` (`string`) - the font size as a string (CSS percent) to be passed as the `fontSize` property of the `style` prop of the `div`\n  - `ref` (`React.MutableRefObject<HTMLDivElement>`) - the ref to be passed to the `ref` attribute of the `div`\n- `options` (optional) - an object with the following optional properties:\n\n  - `logLevel` (`string`, default: `info`) - one of `debug`, `info`, `warn`, `error`, or `none`\n  - `maxFontSize` (`number`, default: `100`) - maximum font size in percent\n  - `minFontSize` (`number`, default: `20`) - minimum font size in percent\n  - `onFinish` (`(fontSize: number) => void`, default: `undefined`) - function that is called when resizing\n      finishes. The final fontSize is passed to the function as an argument.\n  - `onStart` (`() => void`, default: `undefined`) - function that is called when resizing starts\n  - `resolution` (`number`, default: `5`) - font size resolution to adjust to in percent\n\n## Questions\n\n- Why doesn't it work with Flexbox `justify-content: flex-end;`?\n  This appears [to be](https://stackoverflow.com/questions/36130760/use-justify-content-flex-end-and-to-have-vertical-scrollbar) [a bug](https://github.com/philipwalton/flexbugs/issues/53) with Flexbox. Try using CSS Grid or `margin-top: auto;`\n- What does the \"reached `minFontSize = 20` without fitting text\" message in the console mean?\n  This means `use-fit-text` was not able to fit the text using the `minFontSize` setting of 20. To ensure the text fits, set `minFontSize` to a smaller value.\n\n## Changelog\n\n- v2.4.0\n  - handle case where `minFontSize` is set larger than the `fontSize` value needed to fit the text in the div. Log a message to the console in this case.\n  - fix final adjustment calcuation\n  - add `logLevel` option to control what is logged to the console\n- v2.3.0\n  - automatically recalculate font size when content changes\n  - fix bug where a recalculation was not done on resize if the text initially fit in the div\n- v2.2.0 - add `onStart` and `onFinish` callbacks\n- v2.1.3 - export `TOptions` TypeScript type\n- v2.1.2 - remove `/// <reference types=\"next\" />` in `dist/index.d.ts`\n- v2.1.0\n  - fix SSR/prerender issue where text did not resize\n  - suppress `useLayoutEffect` warning for server render\n- v2.0.0\n  - use `ResizeObserver` to always recalculate on container resize\n  - remove `recalcOnResize` option\n  - `useLayoutEffect` instead of `useEffect` to avoid flashing\n- v1.2.1 - fix scrollbar issue in example\n- v1.2.0 - add `recalcOnResize` and other options\n- v1.1.0 - fix binary search bug\n- v1.0.2 - add example\n- v1.0.0 - initial release\n","readmeFilename":"README.md","homepage":"https://github.com/saltycrane/use-fit-text#readme","keywords":["react","fit","text"],"repository":{"type":"git","url":"git+https://github.com/saltycrane/use-fit-text.git"},"bugs":{"url":"https://github.com/saltycrane/use-fit-text/issues"}}