{"_id":"@codingscape/react-hot-toast","_rev":"1-773bbdc2dbd4e5d969da9c5fd5b079f9","name":"@codingscape/react-hot-toast","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.3":{"name":"@codingscape/react-hot-toast","version":"1.0.3","author":{"name":"Timo Lins"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/timolins/react-hot-toast.git"},"keywords":["react","notifications","toast","snackbar"],"main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","lint":"tsdx lint","test":"echo \"No test specified\"","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16","react-dom":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"arrowParens":"always","trailingComma":"es5"},"module":"dist/react-hot-toast.esm.js","size-limit":[{"path":"dist/react-hot-toast.cjs.production.min.js","limit":"5 KB"},{"path":"dist/react-hot-toast.esm.js","limit":"5 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^4.9.1","@types/react":"^17.0.0","@types/react-dom":"^17.0.0","size-limit":"^4.9.1","tsdx":"^0.14.1"},"dependencies":{"goober":"^2.0.15"},"gitHead":"680c56c835d80000fa9fac14112aa2fa4aa745c6","description":"<a href=\"https://react-hot-toast.com/\"><img alt=\"react-hot-toast - Try it out\" src=\"https://github.com/timolins/react-hot-toast/raw/main/assets/header.svg\"/></a>","bugs":{"url":"https://github.com/timolins/react-hot-toast/issues"},"homepage":"https://github.com/timolins/react-hot-toast#readme","_id":"@codingscape/react-hot-toast@1.0.3","_nodeVersion":"15.14.0","_npmVersion":"7.12.0","dist":{"integrity":"sha512-NBYK+VDoT5tEX/8mIRKcKoiBWdcoIt8GaIFHhoyu/Py8gK5WxcyDVIEBqxLXaHcPfzT3CRoItePhWJ3HGvpZ8Q==","shasum":"188118f575eeb3b9cd0cee598a0b97106b5cd1db","tarball":"https://registry.npmjs.org/@codingscape/react-hot-toast/-/react-hot-toast-1.0.3.tgz","fileCount":38,"unpackedSize":213753,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglpyrCRA9TVsSAnZWagAAvk4P/2l77bdIFW1CvhS5LQOH\n47T3hLThUlta4Aht73cEeMICtwchAN33sy9nLu/WXBHplrJXOw7/xb1VnT/F\nw0rB+trr9tm4rme2jM6FknQjjyASe0AyR3xZ3fvUkwj8FK3xJd66h2XXjUrN\nxQIZJJZx7vdxEsQPRC9PXkzpCGjWiJOIazvdNWSHCi4S777yQ7/CTKOtjcfI\nsf0I3r5rf9ituKrH5m/yQBstYULRw4tv0fb5Gan7YEDNBGspTSfsVIepxKxc\nQk3rlOt2X2rKyPLOHK89X3pqXGnvWSIAJUpZILrdgEz/9uT2AUIM0+G+dzE/\nRWocJPnUuDC+tq+e6HQ7NJg5HBf42Mz4ZyJ9gasKDjATSe0uAoMonsvywFqD\nLAyEX03SpCY3SLob0xO5u9cWmKlV00wT10ZD8PU9O8TdcoH7vo1dcom/tGGq\n7rTBEXMGIYz/Z9/mR8gNDw3GcRmgJRuMY/CcZ9SN65WgWYUKFmfC/VzdIUkA\nw1y2kppaNVbMVK7f5aewpQy5dZ/lCKdGYdZEGgx+IGbYCgwTHJ5WraLLjvTI\n+qZjxvu0g+0r9RJl4XdzGOHcIoB1vVmpeUpg4kJp1W1rdouAm/DcK1whCtVz\nUuxyRFiUioT0AWu7KbUfBSjIIyNq0nxjJ3VwIrY5ocysbjR+8JauUTJAQoYx\ngO07\r\n=OjKY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEaPFeUS+/etIn07huChs6TNVkaW8GEDkrByLSQT14GeAiBqVqa+hRQz/WFeRfIeU671Q6RFrrhNJpHcUCbUE7mlXA=="}]},"_npmUser":{"name":"zpnk","email":"z@zpnk.me"},"directories":{},"maintainers":[{"name":"zpnk","email":"z@zpnk.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-hot-toast_1.0.3_1620483243093_0.9490775557008937"},"_hasShrinkwrap":false}},"time":{"created":"2021-05-08T14:14:02.748Z","1.0.3":"2021-05-08T14:14:03.236Z","modified":"2022-04-05T00:09:43.450Z"},"maintainers":[{"name":"zpnk","email":"z@zpnk.me"}],"description":"<a href=\"https://react-hot-toast.com/\"><img alt=\"react-hot-toast - Try it out\" src=\"https://github.com/timolins/react-hot-toast/raw/main/assets/header.svg\"/></a>","homepage":"https://github.com/timolins/react-hot-toast#readme","keywords":["react","notifications","toast","snackbar"],"repository":{"type":"git","url":"git+https://github.com/timolins/react-hot-toast.git"},"author":{"name":"Timo Lins"},"bugs":{"url":"https://github.com/timolins/react-hot-toast/issues"},"license":"MIT","readme":"<a href=\"https://react-hot-toast.com/\"><img alt=\"react-hot-toast - Try it out\" src=\"https://github.com/timolins/react-hot-toast/raw/main/assets/header.svg\"/></a>\n\n<div align=\"center\">\n    <img src=\"https://badgen.net/npm/v/react-hot-toast\" alt=\"NPM Version\" />\n  <img src=\"https://badgen.net/bundlephobia/minzip/react-hot-toast\" alt=\"minzipped size\"/>\n    <img src=\"https://github.com/timolins/react-hot-toast/workflows/CI/badge.svg\" alt=\"Build Status\" />\n</a>\n</div>\n<br />\n<div align=\"center\"><strong>Smoking hot  Notifications for React.</strong></div>\n<div align=\"center\"> Lightweight, customizable and beautiful by default.</div>\n<br />\n<div align=\"center\">\n<a href=\"https://react-hot-toast.com/\">Website</a> \n<span> · </span>\n<a href=\"https://react-hot-toast.com/docs\">Documentation</a> \n<span> · </span>\n<a href=\"https://twitter.com/timolins\">Twitter</a>\n</div>\n\n<br />\n<div align=\"center\">\n  <sub>Cooked by <a href=\"https://twitter.com/timolins\">Timo Lins</a> 👨‍🍳</sub>\n</div>\n\n<br />\n\n## Features\n\n- 🔥 **Hot by default**\n- 🔩 **Easily Customizable**\n- ⏳ **Promise API** - _Automatic loader from a promise_\n- 🕊 **Lightweight** - _less than 5kb including styles_\n- ✅ **Accessible**\n- 🤯 **Headless Hooks** - _Create your own with [`useToaster()`](https://react-hot-toast.com/docs/use-toaster)_\n\n## Installation\n\n#### With yarn\n\n```sh\nyarn add react-hot-toast\n```\n\n#### With NPM\n\n```sh\nnpm install react-hot-toast\n```\n\n## Getting Started\n\nAdd the Toaster to your app first. It will take care of rendering all notifications emitted. Now you can trigger `toast()` from anywhere!\n\n```jsx\nimport toast, { Toaster } from 'react-hot-toast';\n\nconst notify = () => toast('Here is your toast.');\n\nconst App = () => {\n  return (\n    <div>\n      <button onClick={notify}>Make me a toast</button>\n      <Toaster />\n    </div>\n  );\n};\n```\n\n## Documentation\n\nFind the full API reference on [official documentation](https://react-hot-toast.com/docs).\n","readmeFilename":"README.md"}