{"_id":"@am-hooks/use-mouseleave","_rev":"1-2b637de624ad34a44382000673aca46a","name":"@am-hooks/use-mouseleave","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@am-hooks/use-mouseleave","version":"1.0.0","description":"Running when the mouse leaves","main":"index.js","repository":{"type":"git","url":"git+https://github.com/dorothy7964/am-hooks.git"},"keywords":["mouseleave","popup"],"author":{"name":"wooami"},"license":"MIT","bugs":{"url":"https://github.com/dorothy7964/am-hooks/issues"},"homepage":"https://github.com/dorothy7964/am-hooks#readme","peerDependencies":{"react":"^16.13.0","react-dom":"^16.13.0"},"_id":"@am-hooks/use-mouseleave@1.0.0","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-JxIB5/LYnDPiaqfoGMqSpP/g32OqACZwKJ6U/PtZ+g/3gf1Hgr7gZ4ULFdrojmpm3hTGq7dMl7TJiCa2w4NdbA==","shasum":"6894ec7c92eac6395d22cb51230e27c3473c0b5e","tarball":"https://registry.npmjs.org/@am-hooks/use-mouseleave/-/use-mouseleave-1.0.0.tgz","fileCount":4,"unpackedSize":1587,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeZ/WECRA9TVsSAnZWagAAbzIP/Aprf0yQ+EUYPOk/fFRQ\nVi5AZvKTUmEeM4FlY9yrjOowdPGwVqxMcdUBiAz1m29wIA0cHkxNMmT1zxKZ\nLhM0kIUuk7ckpRbVpS+8nxfHVy5yKzBKbZNTwlQOIuQYjV5cat9lhA9w+Pjm\n47wfzG0Bs37q22rs4PUdsTwgR2XNXTUIZwhRHo/ZJa2+AY81gHs9oTics+GD\nA/gHMCt/sQ/ck5tUzMhk5jyYMm5afT1uzbD1llCbUp+hPjHW9clywvh1eWI6\nnkaWE0RHDKdDnVXT/BjucdLzH7UpTYPliyKYZsnW6pAXzNLNvGAsToBx5aCS\nAtkonFvzHHURKFcCvvtJ4NPvkoQln8xsUXeicjaPx8RfpVMORjLoWdxXu5mD\n6GXzQkN5BfS7VkM2CpLvhbE1+/UgVhpUlePg6itjIbSEGcSeecgMwb6QWMiS\nrVQKNk9bGx6vrYlynJZthIMANkuOzf34CgJV7SZ5ZsZWLdRPBpE238LNc1lJ\n1hr+Oin/NYE2BbR2+vHvMshBlMnoZAaDqyHg2m2Y2t0mSeNMkAoZPXPdgceg\novV9cemr0YJIKQ5jsi3E/w3+yYn0uRkt0tyStLPftwhLuw7886g1T2nhav9/\nfzr4iObuD1ku2Xvp2ZF6exeJOBzgdCTCQ1gB7idzjbQkrspj32rKKGXhsWOY\nzuZF\r\n=ZcuS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDW0tjJbhMdp00WiZbxkkhR7eN8cAjeXJKkGzny8EOU6wIhAMQpYs8jjIwttbl48xT7rfb++sWzvQmKzVP8rlyZTUS3"}]},"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-mouseleave_1.0.0_1583871364192_0.20767648944745054"},"_hasShrinkwrap":false}},"time":{"created":"2020-03-10T20:16:03.965Z","1.0.0":"2020-03-10T20:16:04.309Z","modified":"2022-04-04T13:42:29.147Z"},"maintainers":[{"name":"wam-6577","email":"wam6577@gmail.com"}],"description":"Running when the mouse leaves","homepage":"https://github.com/dorothy7964/am-hooks#readme","keywords":["mouseleave","popup"],"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":"# useBeforeLeave\r\n마우스가 벗어날 때 실행하는 것<br><br>\r\n\r\n## Installation\r\n\r\n#### yarn\r\n\r\n`yarn add @am-hooks/use-mouseleave`\r\n\r\n#### npm\r\n\r\n`npm i @am-hooks/use-mouseleave` <br><br>\r\n\r\n## Usage\r\n\r\n```js\r\nimport React from \"react\";\r\nimport useBeforeLeave from \"@am-hooks/use-mouseleave\";\r\n\r\nconst App = () => {\r\n  const beForLife = () => {\r\n    console.log(\"Pls don`t leave\");\r\n  };\r\n  useBeforeLeave(beForLife);\r\n  \r\n  return <h1>HELLO</h1>;\r\n}\r\n```\r\n\r\n<br><br>\r\n","readmeFilename":"README.md"}