{"_id":"@aurory/react-hot-toast","_rev":"3-b05346f8f169602989994ec5afd3d845","name":"@aurory/react-hot-toast","dist-tags":{"latest":"2.4.1"},"versions":{"2.4.1":{"name":"@aurory/react-hot-toast","version":"2.4.1","keywords":["react","notifications","toast","snackbar"],"author":{"name":"Timo Lins"},"license":"MIT","_id":"@aurory/react-hot-toast@2.4.1","maintainers":[{"name":"bahdcoder","email":"bahdcoder@gmail.com"},{"name":"jt-aurory","email":"jonathan.tang@aurory.io"},{"name":"ezdarod","email":"levani@aurory.io"},{"name":"mitch_aurory","email":"mitch@aurory.io"}],"homepage":"https://github.com/timolins/react-hot-toast#readme","bugs":{"url":"https://github.com/timolins/react-hot-toast/issues"},"dist":{"shasum":"eacfed461c73cded6909217fc175b26e3d854330","tarball":"https://registry.npmjs.org/@aurory/react-hot-toast/-/react-hot-toast-2.4.1.tgz","fileCount":26,"integrity":"sha512-mDnYAD28eTnGPakVhHt9x7o0mMIhbm+2TxXhGLLOn2tmiVkjCifi5LNk8hor4K8b3ecsM79kEDtLhdPCWxj5/w==","signatures":[{"sig":"MEYCIQDegCKIE4ThTN84zKIJsyIil93u2wVLCxxIGHk+0/BoHgIhAInf3/wL1+QCCdOr2AU7tW/6DKu8Eia4cO7Tx13Ebmiz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":173723},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"prettier src --ignore-unknown --write"}},"types":"dist/index.d.ts","engines":{"node":">=10"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./headless":{"types":"./headless/index.d.ts","import":"./headless/index.mjs","require":"./headless/index.js"},"./package.json":"./package.json"},"gitHead":"16aa28d1410a4b5c3b5a499c1265fec0829e4edb","scripts":{"link":"pnpm link ./site/node_modules/react && pnpm link ./site/node_modules/react-dom","size":"size-limit","test":"jest --runInBand","build":"tsup","setup":"pnpm i && cd site && pnpm i && cd .. && pnpm run link","start":"tsup --watch"},"_npmUser":{"name":"mitch_aurory","email":"mitch@aurory.io"},"prettier":{"semi":true,"printWidth":80,"arrowParens":"always","singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/timolins/react-hot-toast.git","type":"git"},"size-limit":[{"path":"dist/index.js","limit":"5.5 KB"},{"path":"dist/index.mjs","limit":"5 KB"},{"path":"headless/index.js","limit":"2 KB"},{"path":"headless/index.mjs","limit":"2 KB"}],"_npmVersion":"9.6.7","description":"Smoking hot React Notifications. Lightweight, customizable and beautiful by default.","directories":{},"_nodeVersion":"18.17.1","dependencies":{"goober":"^2.1.10"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.3","tsup":"^6.7.0","react":"^18.2.0","tslib":"^2.4.0","csstype":"^3.1.0","ts-jest":"^28.0.6","prettier":"^2.7.1","react-dom":"^18.2.0","size-limit":"^7.0.8","typescript":"^5.0.4","@jest/types":"^28.1.3","@types/jest":"^28.1.5","@types/react":"^18.0.15","@types/react-dom":"^18.0.6","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28.1.3","@testing-library/jest-dom":"^5.16.4","@size-limit/preset-small-lib":"^7.0.8","@types/testing-library__jest-dom":"^5.14.5"},"peerDependencies":{"react":">=16","react-dom":">=16"},"_npmOperationalInternal":{"tmp":"tmp/react-hot-toast_2.4.1_1717595186634_0.7659400450841447","host":"s3://npm-registry-packages"}}},"time":{"created":"2024-06-05T13:46:26.518Z","modified":"2024-10-29T17:37:19.121Z","2.4.1":"2024-06-05T13:46:26.825Z"},"bugs":{"url":"https://github.com/timolins/react-hot-toast/issues"},"author":{"name":"Timo Lins"},"license":"MIT","homepage":"https://github.com/timolins/react-hot-toast#readme","keywords":["react","notifications","toast","snackbar"],"repository":{"url":"git+https://github.com/timolins/react-hot-toast.git","type":"git"},"description":"Smoking hot React Notifications. Lightweight, customizable and beautiful by default.","maintainers":[{"email":"wendell@aurory.io","name":"wndell-aurory"},{"email":"deruere.julien@gmail.com","name":"jderuere"},{"email":"jonathan.tang@aurory.io","name":"jt-aurory"},{"email":"levani@aurory.io","name":"ezdarod"},{"email":"mitch@aurory.io","name":"mitch_aurory"}],"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"}