{"_id":"@2alheure/vue-safe-mail","_rev":"4-4c84f125d1df05be35fb397134f77aa5","name":"@2alheure/vue-safe-mail","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@2alheure/vue-safe-mail","version":"1.0.0","description":"A Vue.js component to safely print your email on your website","main":"src/SafeMail.vue","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/2alheure/safe_mail.git"},"keywords":["mail","vue.js"],"author":{"name":"2alheure","email":"contact@2alheure.fr"},"license":"WTFPL","bugs":{"url":"https://github.com/2alheure/safe_mail/issues"},"homepage":"https://github.com/2alheure/safe_mail#readme","gitHead":"ae7a0e06ed25ccf1914c6e8ced4fa59ace41a331","_id":"@2alheure/vue-safe-mail@1.0.0","_nodeVersion":"14.6.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-u3z9eXUCXophY8HYTThliwqej6kjtomzyHPkx7aj9c/ebUXYlfJwThoxXdw2u7Xtza91HFgSMV3Wbve80DGOmA==","shasum":"9106404639d9f6d0cab1e009d9a049a2797a9901","tarball":"https://registry.npmjs.org/@2alheure/vue-safe-mail/-/vue-safe-mail-1.0.0.tgz","fileCount":3,"unpackedSize":3694,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkT/pCRA9TVsSAnZWagAA+TIQAJ/M+j108/PkIObxVrot\nTHYTNvMjERYS/y2QdXAupxJ5vun+mLWu0C+QGjZAurQam8Q6Yctgz7tyLmUB\nULEcrrHn4anc19DANkjgfdf7k/glY9JviKp/I1XaOyEQwmKwtMCdDPr5hX7l\nZKr9/priSOkB/OsnobG0pGj5jlHmC32RUE92skBmHL2izcTgrXiweg2ROXZc\nTe8oGkIkgm7+K/9c3CkjjA8AeARomcnekpOzuzEKGuu4rnzncDIVaN//2Fzn\nIh2CnisNDkFyRQCRlzvWvM+C7RiO4UOiZKXA4UBbFRdM18MdI9pvX4tEqISk\nLkt41/2C/AHQugLwJW5BNJ3evyFcJm4FOrd8vQ8s5L9HopIbB5mjMvQRRKM5\nCz+5qZ6RsBpsJUpW1Q0KtZOH+eNNIntms1Tfv5l78U1sAAZAa3zxold7Y4DC\nUBgLUBA551e1gscNg/zCJGDfAjRNvGjdoLyj/+1ez/LTvxnvdLbuBXc2ZS1n\nXKrobpnXhs1rt9IagaVcMC37mSsgjXV6bNLNBxkRVkplAC06N+k+x3x+pSrG\n79+JviAuFK+CrSJqmGKlCUqZLCEDEDF2exkjwnAuKVD5rY7QWFG6cYspaYAq\nArXXOC4Ki/m+ion7hJ9dCdS9CnIFWaAWRJjt8zqqnVzbnbbbB5iiLZCpazf7\nz3VE\r\n=ND2Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFOhn7Trerb+VhuB59cswpVpSW9VhBf7eGyGlEsmdWRfAiBbMFwCp33oXg5HkbHhbqdCSS63t8b9wS4tuI+2WCvR7g=="}]},"_npmUser":{"name":"2alheure","email":"jordan.juventin@2alheure.fr"},"directories":{},"maintainers":[{"name":"2alheure","email":"jordan.juventin@2alheure.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-safe-mail_1.0.0_1620131817270_0.993732839920469"},"_hasShrinkwrap":false},"1.0.1":{"name":"@2alheure/vue-safe-mail","version":"1.0.1","description":"A Vue.js component to safely print your email on your website","main":"src/SafeMail.vue","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/2alheure/safe_mail.git"},"keywords":["mail","vue.js"],"author":{"name":"2alheure","email":"contact@2alheure.fr"},"license":"WTFPL","bugs":{"url":"https://github.com/2alheure/safe_mail/issues"},"homepage":"https://github.com/2alheure/safe_mail#readme","gitHead":"8b58fcf8f7302c25c8aba136b8d31137152aa78d","_id":"@2alheure/vue-safe-mail@1.0.1","_nodeVersion":"14.6.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-heArnq9w/p+y5ot2gFUk8qALO6GmbxEj4YdVyD70yiqOz9kilLolOMdrbgS68FfQxfiFHK/RA4xRjBqhvtAKVw==","shasum":"72131d7d166382390fc1e89ccf0fa58b0c105b12","tarball":"https://registry.npmjs.org/@2alheure/vue-safe-mail/-/vue-safe-mail-1.0.1.tgz","fileCount":3,"unpackedSize":3694,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkUAgCRA9TVsSAnZWagAA5TkP/iKqkOPFTSIstga4y4C0\ndB3qUIpLF1+DdJqvIqT4/plFEbU18mewWpWAttnLrn7daK+WUUGh2NSj9W27\ncjpBhj2MefWWpIgaLFaFXG1d5XTKWRC/a/ccuZg9LWM+hXBcsogBDbGbQkM7\nuw6907d+ZAAw9hyAHi2iu1MyF32tdtZuNGEXuBy9FUDzWBO07T2IDb3+L/01\n1auju0Flb5FDxlScP+l39Oa0eNIr2HNzYHTrLD5mqu9I1jgBASV7qEcLo4es\n6rTE6B0UT7Hi9aykZi+1KKQHtHK+Iz7KJ5QISHp3lO3L3+1tjyUHd+wD3PoX\nuWG8DRdzccEi/hwl/F/taUMHxWCkTWC8RSKprCAz/CWrSDJcYvP8laFr8xXO\ncEbEmdiFOiVDwe/yooKITzK5aCIeyIdrfTOxZosHoQ/0a77mztbEBozNeZod\nnhdxgd1SJLRM+UoSfbQLRIAVHcqR9U8MDxvu4aM2W6jSMxeuA1jcQ1BH72GF\nYyd0rZPKZyOLHMClz/KrjqQt4V98zn1qbFAo+LQe/MFVW0ulU6aRSJx24nMO\naw/mAEdDXC0yBf8ObFS7p2qPga5R8tMHTth58xF8/4WgTgGMQqx8gz9TFyl2\ny4LN2q46ybG9LLQA57b3B8011okPZnLivrNB33bfaz8GB+9o05VMh18Zz6M3\nZVmP\r\n=VfWo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYsBpQrHGocaoyEEYtpEUz0EZmVwvGvjt+zZbvJ1BU8gIgNLWYHxUZkFANeTIBdq2Dgh6BWROKx90ZDJ3zi46Nkp4="}]},"_npmUser":{"name":"2alheure","email":"jordan.juventin@2alheure.fr"},"directories":{},"maintainers":[{"name":"2alheure","email":"jordan.juventin@2alheure.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-safe-mail_1.0.1_1620131872128_0.914911000502739"},"_hasShrinkwrap":false},"1.0.2":{"name":"@2alheure/vue-safe-mail","version":"1.0.2","description":"A Vue.js component to safely print your email on your website","main":"src/SafeMail.vue","scripts":{"test":"vue serve src/SafeMail.vue"},"repository":{"type":"git","url":"git+https://github.com/2alheure/safe_mail.git"},"keywords":["mail","vue.js"],"author":{"name":"2alheure","email":"contact@2alheure.fr"},"license":"WTFPL","bugs":{"url":"https://github.com/2alheure/safe_mail/issues"},"homepage":"https://github.com/2alheure/safe_mail#readme","gitHead":"77cca6524b5262e3b3f63ba9cc0b35c9b427aef0","_id":"@2alheure/vue-safe-mail@1.0.2","_nodeVersion":"14.6.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-8FVh10D1bQDsvlVOTp041fwN1fat0JKoWcYuIMI00PRK4DqU8ECsea2GM+DUIbAE7ucs3c7otnVHTVM3ScYpMA==","shasum":"8b6c309e1554f6c4c14edf88ab52f2c7449378ab","tarball":"https://registry.npmjs.org/@2alheure/vue-safe-mail/-/vue-safe-mail-1.0.2.tgz","fileCount":3,"unpackedSize":4061,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkU9sCRA9TVsSAnZWagAAWGQP/1jLn2Jk7y6qJR5OiDOz\n87N151jJxrFMxsw6xf5m7H1ih2vDPErr5H7PJwtU6rP8Qz/285vMRUwXNEzZ\n7nUHTsT3T77tRThdy/P38VWOn1LFqLQlm4eDL837pNXE+bluvyhbbkrMBVVb\n3I5GYgKFsD5x6qv63rR1Xbw/AP9xfGn00C3taKNfuZd94UN8C4aYjrWFw9KC\nAqbxKFwz9yluvgsP6VtG0OMQajv5xMIdwHVV74osCDw4dyOiu0qaFfIKgP4N\nJBm+dMn5LlFRZzADHlH9L5QbgMmIpJEBklBkZsJXZefXHqh39CZ2zj8JRn0d\nOZ9HCehZxJSU2K/U4Y0WAsjkKrxVoruxcatJVybDCMipsG6TqYoUUbkAlHfT\nzH08vv+b78ONPEUGT9YYBGB6oxVGrTU+Kz7PMf9jad/+84p0q/rUUEYIR6uU\nFU1rDOtxWtWtT2MnVWrj9hKL9egqR9fzfkE5JfST2fU5W6zHJVNF6togdX1k\nKco0oVFKsh1AG1h5z93MzV/oN2p/WPgxJvPEavbTLuAX7U3w4d8H8NyJqtR+\nTXZHKHakpr+1WnAYlHTiQi8v8ErBxltG8VsXMdRfqlp6t7JoUWec/V/2m2bl\nk4Lo1J8hHdUDcbRz3Wz9tdzfA9T/nT4dwrzdlqk2rjyqWq3MSo4hD8qq65TR\nNKGL\r\n=8O0t\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHOtXiYiCnjrxyxA90rt6dbzuVFzWYH4sR5Xc1egMv+VAiEAuFjsSri3/w8dg1S5HOOGdFxZs1D0umbeoaAq/ak/K/w="}]},"_npmUser":{"name":"2alheure","email":"jordan.juventin@2alheure.fr"},"directories":{},"maintainers":[{"name":"2alheure","email":"jordan.juventin@2alheure.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-safe-mail_1.0.2_1620135787959_0.19203725145844075"},"_hasShrinkwrap":false},"1.0.3":{"name":"@2alheure/vue-safe-mail","version":"1.0.3","description":"A Vue.js component to safely print your email on your website","main":"src/SafeMail.vue","scripts":{"test":"vue serve src/SafeMail.vue"},"repository":{"type":"git","url":"git+https://github.com/2alheure/safe_mail.git"},"keywords":["mail","Vue 3","vue.js"],"author":{"name":"2alheure","email":"contact@2alheure.fr"},"license":"WTFPL","bugs":{"url":"https://github.com/2alheure/safe_mail/issues"},"homepage":"https://github.com/2alheure/safe_mail#readme","gitHead":"0eaf678cac64de0947f10c008bf50ffb0724df9a","_id":"@2alheure/vue-safe-mail@1.0.3","_nodeVersion":"14.6.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-VCK1kAp3V4DD1hs30T4JgClqIQjpVIt8dNOQvPYX/xQLJ/SRLuuJsI33p0cB3tblzIOFS8kzvzy46qT9PBJ14A==","shasum":"22f11b7872582b83ba8ef883871271aca7f625c8","tarball":"https://registry.npmjs.org/@2alheure/vue-safe-mail/-/vue-safe-mail-1.0.3.tgz","fileCount":3,"unpackedSize":4047,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhLer1CRA9TVsSAnZWagAAww8QAI7fbRttAfxU2hZJfnoA\nIqmdi7J/Uz3uqs4D2CXy+sIL/V5izGCKT5rEdpa+ZwsM99ovtTRmj88goAQT\na1vQoeyud+2gm12F768Hu0dfgBddDsdDoycioXX9FUso7aN7zaZs92fFITM/\nS/wDPqB5yE0XapNiUwRcOc9Gjpli5W/+n42QkWEeW7+fLRHaNNOWQEkQSO+2\ng1o1Nq/T+zLnhfQM2xlvt6SipCwk3A2oh8Kio7X3gTQyMiuzzhpJVTcTXWn8\nGacLuLhj8ifUSL2jVyjBZc7T2XQdLT3C2zOO8lY5HC45yjWPeFNAxkWEdqmc\nZ1t1F1EnovCxMz8NgzP6zA4dCVnM7kMSpr5r4ZQfehs3YA7FLRLgxsB/6I50\nsQc6qQbGhG+MuWxXt5++ohfuBXZbyy3Om7Q8HA2BISHQkqBXrc/fEiLi4hck\nlSv3pbrsLRR6GAiKhgoQuypwKQbRIKlZ8vgJO1Byl8+8WIxc5STS1rkGxHFp\nVYYlkS3st369qC3hAg/0kZ3UCU2p4pE/MH2YcWeMog7oHBPboU9FF94JKzNZ\nQp6fcxK182917t5dIIb+n9FQCcNXeigUtspuWwa5dgVEDkUnnbpAQqLmPAbF\nLv0OS+jIvnpldMP5cObakNs3B2YypJHVQhfgEpq6Nohh6pykNu8xKlYBdx1F\nGCJO\r\n=QGKC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICoyPmV1hmkxjBHqkME3JI9AO9Ltoas+UcRlzPW+YFqTAiBiIHvh9Tj1R8obH81ZMZXuaz+hL3pkOJ1a/2mM7MTcEg=="}]},"_npmUser":{"name":"2alheure","email":"jordan.juventin@2alheure.fr"},"directories":{},"maintainers":[{"name":"2alheure","email":"jordan.juventin@2alheure.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-safe-mail_1.0.3_1630399221385_0.1471718267125035"},"_hasShrinkwrap":false}},"time":{"created":"2021-05-04T12:36:57.216Z","1.0.0":"2021-05-04T12:36:57.458Z","modified":"2022-04-04T10:41:59.647Z","1.0.1":"2021-05-04T12:37:52.287Z","1.0.2":"2021-05-04T13:43:08.114Z","1.0.3":"2021-08-31T08:40:21.536Z"},"maintainers":[{"name":"2alheure","email":"jordan.juventin@2alheure.fr"}],"description":"A Vue.js component to safely print your email on your website","homepage":"https://github.com/2alheure/safe_mail#readme","keywords":["mail","Vue 3","vue.js"],"repository":{"type":"git","url":"git+https://github.com/2alheure/safe_mail.git"},"author":{"name":"2alheure","email":"contact@2alheure.fr"},"bugs":{"url":"https://github.com/2alheure/safe_mail/issues"},"license":"WTFPL","readme":"# Vue.js Safe Mail\r\nA Vue.js component to safely print your email on your website.  \r\nThis component is compatible with Vue 3.\r\n\r\n- [Vue.js Safe Mail](#vuejs-safe-mail)\r\n  - [Description](#description)\r\n    - [And then it begins...](#and-then-it-begins)\r\n    - [Do not just delete it](#do-not-just-delete-it)\r\n  - [This component](#this-component)\r\n  - [Usage](#usage)\r\n  - [Props](#props)\r\n\r\n## Description\r\nWe all know this kind of situation: you have a landing page, allowing people to send you a contact message at the bottom of the page.  \r\nTo do so, you made a nice form, and for accessibility purpose, you also add a link with your email address next to it.\r\n\r\n### And then it begins...\r\nDozens, if not hundreds of mails! You're happy, you're telling youself \"It's the begining of my fortune! I have plenty of people wanting to chat with me! I'm so happy\".  \r\nBut it turns out that on 100 emails you've got, 99 are from spam bots which read your email address and sold it.\r\n\r\n### Do not just delete it\r\nStop undergoing this!  \r\nThere are plenty of tips allowing you to display an email address *relatively safely*.  \r\n  \r\nThe main point is, not to allow bots to get your email address as is. So people add scripts that encrypt their addresses. But bots do read the HTML generated.  \r\nSo if you simply write `<a htref=\"mailto:{encryptedmail}\">clear@mail.com</a>`... It's not good enough.\r\n\r\n## This component\r\nThis components hides your email address in both the `<a>` tag **AND** its `href`.  \r\nJust give it a try, it'll change your life... Or at least your box's one.^^'\r\n\r\n## Usage\r\nRun `npm install @2alheure/vue-safe-mail`. Import it. Use it.  \r\nIt's as simple as that! =D\r\n\r\n```js\r\n<SafeMail :email=\"email\" :title=\"title\" />\r\n\r\n<script>\r\nimport SafeMail from \"@2alheure/vue-safe-mail\";\r\n\r\nexport default {\r\n  components: {\r\n    SafeMail\r\n  },\r\n  data() {\r\n    return {\r\n      email: \"my.address@email.com\",\r\n      title: \"Click here to send me a nice message which is not spam!\"\r\n    }\r\n  }\r\n};\r\n</script>\r\n```\r\n\r\nIt renders a `<a>` tag with a `href` attribute pointing to the given email... but protected against bots harvest. =P\r\n\r\n## Props\r\n| Name  |  Type  | Default value | Description                                       |\r\n| :---- | :----: | :-----------: | ------------------------------------------------- |\r\n| email | String |    `null`     | The email.                                        |\r\n| title | String |    `null`     | The `title` attribute of the generated `<a>` tag. |\r\n","readmeFilename":"README.md"}