{"_id":"@am-hooks/use-notification","_rev":"1-4656257166ecc80de0037ac487f86ec0","name":"@am-hooks/use-notification","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@am-hooks/use-notification","version":"1.0.0","description":"Send notification to user when using notification API","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/dorothy7964/am-hooks.git"},"keywords":["Notification"],"author":{"name":"wooami"},"license":"MIT","bugs":{"url":"https://github.com/dorothy7964/am-hooks/issues"},"homepage":"https://github.com/dorothy7964/am-hooks#readme","_id":"@am-hooks/use-notification@1.0.0","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-zCXKFEWXBFbef/S8U8YRELklKQoE3VYhCE606KEF0L+45htFCI6bgI4afRCALkqpOKrgZ80UC6RrvA3egbr0dQ==","shasum":"514ebccfcb9f723d335bc7ad6f8b54fc2fc0f3e8","tarball":"https://registry.npmjs.org/@am-hooks/use-notification/-/use-notification-1.0.0.tgz","fileCount":4,"unpackedSize":1839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeaAGpCRA9TVsSAnZWagAAdPYP/2tpq3+PL9cm8PKjtVvL\nKe8qdmpoD6bpNsGirsYo34Da+qzRFZTJNpmCuqjXTgtqQtS0RyxjLdR0qiWH\nZImKNl+dBHkEc56/IWM6htcxzGtIleHUfzr7OTltSwyQBANq40j+OfQV7YKZ\n7xmCqXPTWQkXwA9HA0SgxUtfFzW1TeMXPJyHV2Xv3iDnnrNBvaHPRPGMZjpL\na12BBXiMS5aIOdx7X+gXOv9id5M8PELzGpj4itdcuOQfQOumrELHTBYPYkvo\ns3QIjKa10f26rfB44xU6C/ZDXcSRciS6K+DHhEOqM3z16OgX3YHG3TebwTKU\n3XhW6Op/LrNE4eA1XlHNAZVNYhvbV+lGCHBw3+kd3ShOl632AimBCbp1Ixk9\nyzuJK5E+PxK+Cyey2pZZDGrq3FuOBuFDs4qYmIzc3CBdv7k+VPNoNWoa84TK\nsXNnfGalYXF+u/SvRI/+DDXL4NvUgW4SON29JO4d3qtRHy5Dpo6p0yGINeIz\n1hYFAD8dKzPiWrnRPhDM81qk5L0ntv0Fe5OwW/fKKNCaZYaUKttEKEdwnb1C\nHuALbatad/R59ssgHu5p2EJjf/pwogYNGTk2F7EBCkge19hR0UzUSN05Y0Xx\ngOYbG9JSFS0+y2oyMlT+0HWMrUV2vonGV31xCYxUtBsOEFJiBUREhb4/duCH\nOjFG\r\n=Rx9W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/BqNKhu2THFd1+jDzvM7RFgaJdtgcmb7k7GiTJe9+cAIgM5RobD1LHBkXDzZzzSG/7KhhWpiZzx5SO9oymH4cXtk="}]},"maintainers":[{"name":"wam-6577","email":"wam6577@gmail.com"}],"_npmUser":{"name":"wam-6577","email":"wam6577@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-notification_1.0.0_1583874472849_0.05441613528563405"},"_hasShrinkwrap":false}},"time":{"created":"2020-03-10T21:07:52.582Z","1.0.0":"2020-03-10T21:07:53.049Z","modified":"2022-04-04T13:42:29.558Z"},"maintainers":[{"name":"wam-6577","email":"wam6577@gmail.com"}],"description":"Send notification to user when using notification API","homepage":"https://github.com/dorothy7964/am-hooks#readme","keywords":["Notification"],"repository":{"type":"git","url":"git+https://github.com/dorothy7964/am-hooks.git"},"author":{"name":"wooami"},"bugs":{"url":"https://github.com/dorothy7964/am-hooks/issues"},"license":"MIT","readme":"# useNotification\r\nnotification API 를 사용할 때 유저에게 알림을 보내주기 <br><br>\r\n\r\n## Installation\r\n\r\n#### yarn\r\n\r\n`yarn add @am-hooks/use-notification`\r\n\r\n#### npm\r\n\r\n`npm i @am-hooks/use-notification` <br><br>\r\n\r\n## Usage\r\n\r\n```js\r\nimport useNotification from \"@am-hooks/use-notification\";\r\n\r\nconst App = () => {\r\n  const triggerNotif = useNotification(\"Title writing place\", {\r\n    body: \"Write on the body using options\"\r\n  });\r\n\r\n  return <button onClick={triggerNotif}>Woooow!</button>;\r\n}\r\n```\r\n\r\n<br><br>\r\n","readmeFilename":"README.md"}