{"_id":"@btglr/svelte-french-toast","name":"@btglr/svelte-french-toast","dist-tags":{"latest":"1.3.2"},"versions":{"1.3.2":{"name":"@btglr/svelte-french-toast","version":"1.3.2","description":"Buttery smooth Svelte toasts. Lightweight, customizable, and beautiful by default.","keywords":["svelte","notifications","toast","snackbar"],"repository":{"type":"git","url":"git+https://github.com/kbrgl/svelte-french-toast.git"},"license":"MIT","author":{"name":"Kabir Goel"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"svelte":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"build":"vite build && pnpm run package","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","dev":"vite dev","format":"prettier --plugin-search-dir . --write .","lint":"prettier --plugin-search-dir . --check . && eslint .","package":"svelte-kit sync && svelte-package && publint && cp README.md header-image.png dist/","prepare":"svelte-kit sync","prepublishOnly":"pnpm run package","preview":"vite preview","test":"playwright test","test:unit":"vitest"},"dependencies":{"svelte-writable-derived":"^3.1.1"},"peerDependencies":{"svelte":"^3.57.0 || ^4.0.0 || ^5.0.0-next.137"},"devDependencies":{"@playwright/test":"^1.44.0","@sveltejs/adapter-auto":"^3.2.1","@sveltejs/kit":"^2.5.10","@sveltejs/package":"^2.3.1","@types/prismjs":"^1.26.4","@typescript-eslint/eslint-plugin":"^7.10.0","@typescript-eslint/parser":"^7.10.0","autoprefixer":"^10.4.19","eslint":"^8.36.0","eslint-config-prettier":"^9.1.0","eslint-plugin-svelte":"^2.39.0","postcss":"^8.4.38","prettier":"^3.2.5","prettier-plugin-svelte":"^3.2.3","prism-svelte":"^0.5.0","prismjs":"^1.29.0","publint":"^0.2.8","svelte":"^5.0.0-next.137","svelte-check":"^3.7.1","tailwindcss":"^3.4.3","tslib":"^2.6.2","typescript":"~5.4.5","vite":"^5.2.11","vitest":"^1.6.0"},"_id":"@btglr/svelte-french-toast@1.3.2","gitHead":"572bceabc01c5ef2835a3aec8fe8d4c3910b9e9f","bugs":{"url":"https://github.com/kbrgl/svelte-french-toast/issues"},"homepage":"https://github.com/kbrgl/svelte-french-toast#readme","_nodeVersion":"21.7.1","_npmVersion":"10.8.0","dist":{"integrity":"sha512-KgXtGdiHO7tFo/smdjgK20DFsCpZMAjn6gLo5NsZAQYkg9xA/VMeAdlgwZczQ7OA1x+eOcOEGb20BHo1qtGOxA==","shasum":"5681d4dcac5db17f583a5766b1c97421b70ff20e","tarball":"https://registry.npmjs.org/@btglr/svelte-french-toast/-/svelte-french-toast-1.3.2.tgz","fileCount":33,"unpackedSize":161832,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHsQfZhRoWsVwHFHpfiR55rheK5rTTyD/s1RokuOC01UAiB/NLCSoh4KXDmtWnQvtVkY3MtpTUx65fFxxM7ZupVU/w=="}]},"_npmUser":{"name":"btglr","email":"npm@taglia.ro"},"directories":{},"maintainers":[{"name":"btglr","email":"npm@taglia.ro"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-french-toast_1.3.2_1716384637833_0.10637007825986111"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-22T13:30:37.731Z","1.3.2":"2024-05-22T13:30:37.963Z","modified":"2024-05-22T13:30:38.284Z"},"maintainers":[{"name":"btglr","email":"npm@taglia.ro"}],"description":"Buttery smooth Svelte toasts. Lightweight, customizable, and beautiful by default.","homepage":"https://github.com/kbrgl/svelte-french-toast#readme","keywords":["svelte","notifications","toast","snackbar"],"repository":{"type":"git","url":"git+https://github.com/kbrgl/svelte-french-toast.git"},"author":{"name":"Kabir Goel"},"bugs":{"url":"https://github.com/kbrgl/svelte-french-toast/issues"},"license":"MIT","readme":"<img src=\"./header-image.png\" alt=\"\" />\n<p align=\"center\">\n<img src=\"https://badgen.net/badge/license/MIT/blue\" />\n<img src=\"https://badgen.net/npm/v/svelte-french-toast\" />\n</p>\n<p align=\"center\">\n<a href=\"https://svelte-french-toast.vercel.app\">Website</a> · <a href=\"https://npmjs.com/package/svelte-french-toast\">NPM Package</a>\n</p>\n\n# svelte-french-toast\n\n> Buttery smooth Svelte notifications.\n\nsvelte-french-toast is a Svelte port of Timo Lins’s react-hot-toast, a lightweight, customizable, and beautiful-by-default toast notification library.\n\n## Installation\n\nInstall the package with your favorite package manager:\n\n```\nnpm install svelte-french-toast\n```\n\n```\npnpm install svelte-french-toast\n```\n\n```\nyarn add svelte-french-toast\n```\n\n## Basic usage\n\nMount a `<Toaster />` at the top level of your app and use the `toast` API to display toasts.\n\n```js\n<script>\n\timport toast, {Toaster} from 'svelte-french-toast'\n\n\tfunction handleClick() {\n\t\ttoast.success('Hello, world!')\n\t}\n</script>\n\n<Toaster />\n<button type=\"button\" on:click={handleClick}>Toast</button>\n```\n\nFor more usage examples, see [the website](https://svelte-french-toast.vercel.app).\n\n## Thanks\n\nThanks to the original author of React Hot Toast and its contributors.\n\n```\nMIT License\n\nCopyright (c) 2020 Timo Lins\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","readmeFilename":"README.md"}