{"_id":"@bobthered/nodemailer","_rev":"2-530bed162555ca7957e0bf300e1e8a85","name":"@bobthered/nodemailer","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@bobthered/nodemailer","version":"1.0.0","description":"Nodemailer wrapper helper.","main":"index.js","scripts":{"test":"node --experimental-vm-modules node_modules/jest/bin/jest.js"},"keywords":[],"author":{"name":"Bob McAleavey","email":"bobmcaleavey@gmail.com"},"license":"MIT","dependencies":{"dotenv":"^10.0.0","nodemailer":"^6.7.2"},"type":"module","devDependencies":{"jest":"^27.4.3"},"gitHead":"316a23c9c032583d93f90295f8ef4f7dbd3e4799","_id":"@bobthered/nodemailer@1.0.0","_nodeVersion":"14.17.0","_npmVersion":"7.24.1","dist":{"integrity":"sha512-4yXUGDcrVWM1K4hlsM6fBkLBRyly9f4KIHIKhXtMIghIsCyEfB4iD0UYibxwSVg6uqVX5v9KzDvP1D1msQakUw==","shasum":"a58e5c59af0b4f8cf54c23a1eb07df8f635b3b2c","tarball":"https://registry.npmjs.org/@bobthered/nodemailer/-/nodemailer-1.0.0.tgz","fileCount":9,"unpackedSize":4029,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhr3LlCRA9TVsSAnZWagAAFHEQAJT6ItbL8JkSKR0h5gkG\nN4KSz3Zm878HxgOp5yZ1OblHgJ8CZEqYNqmL8KpwFtCQcRuffzN9nsD2GjE6\n3DfV1+iR0MUM5JurqrCE1I5qhxhTBqjJp8mqdM7ce1l1XSXWYtpaFKTsWa2J\nRytHoeS9Qtaa3l4jwTGT5fCe9JRKxNq99HWO1RpDuqCwJq3k4xmvliHGiad8\nnk8aIJ222GPUfoWtB/NY7WXl6P2jptQQruK17G29GfkKGz/94Az6ruy8HeZV\nskc6S0QVY622lv4IxdHjTbCFmSVkVVEAPr0bTUc89cXfk6PUDz2JaxSMLEBP\n6UGz1jOdI92PPHA8flmhooOhei2OLQhPaknBWep0TIek6Xv4M8gmDycWp777\n/7yOu5IelBN+kPSJuTdP0k4YEnhcOYEfZc31fP4ONyy6cBrjLOcqfluJ0KjL\nZVeqyrIhKJ+JNfSBVS/xhT2LnR2tBEvG2p57lGWWcPq5rUlfTaUB2NPmOZoJ\ngy5Mvldn3vS846Ymlc2mBQ7dhkycIEAdjn6yMQrjOwM+WfOwILN32B939pKA\nCKS7aH6jp9eJi+hnPLKoJZdfsxC5If9j5cKBrGw76K455udZ2q7X2OkaSYKc\nRgdDbuUthLBVVhKT5q3ap5drkvTKCP1XwfoKQ7s59aPGytmNCJNlkbHN8fHq\nHVJ9\r\n=/pjR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICHuKGdl0F2B6adeAn5aMno6zuSvoWUxv57fpKPGqXlmAiEAn5eOa7fiTmi2xtLFJ5dOL8EmrLjF8ZaI0IkN9kbIrfI="}]},"_npmUser":{"name":"bobthered","email":"bobmcaleavey@gmail.com"},"directories":{},"maintainers":[{"name":"bobthered","email":"bobmcaleavey@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nodemailer_1.0.0_1638888164889_0.6568604638457809"},"_hasShrinkwrap":false},"1.0.1":{"name":"@bobthered/nodemailer","version":"1.0.1","description":"Nodemailer wrapper helper.","main":"index.js","scripts":{"test":"node --experimental-vm-modules node_modules/jest/bin/jest.js"},"repository":{"type":"git","url":"git+https://github.com/bobthered/nodemailer.git"},"keywords":[],"author":{"name":"Bob McAleavey","email":"bobmcaleavey@gmail.com"},"license":"MIT","dependencies":{"dotenv":"^10.0.0","nodemailer":"^6.7.2"},"type":"module","devDependencies":{"jest":"^27.4.3"},"gitHead":"3b2d0cb09badc0084067778e8156c28a5622bd8b","bugs":{"url":"https://github.com/bobthered/nodemailer/issues"},"homepage":"https://github.com/bobthered/nodemailer#readme","_id":"@bobthered/nodemailer@1.0.1","_nodeVersion":"14.17.0","_npmVersion":"7.24.1","dist":{"integrity":"sha512-Gr1wIyu32lMEuVal0ieLfKaanBAGDmXRePg86fBTdeeBZ4yHuvCXP1TJdCy+JaiV+ROROvpf/j/bjN21rLgjWA==","shasum":"b1af9318d82a405448e7e3babcf27893a78f92f3","tarball":"https://registry.npmjs.org/@bobthered/nodemailer/-/nodemailer-1.0.1.tgz","fileCount":10,"unpackedSize":4863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhr3ZYCRA9TVsSAnZWagAAYEEQAI7AZNSbmqLFDrae2o98\nPwEU9pwrCK7zbDxTjcmvvJmgYpODN++OjC/CkSbmL3bqLpIhPLuY+ZJ9m0No\nKcrvMlfR/MsAcvSEYkoTXRTAcIYoCdeOtrlSi6OYT/Je9r6l03uj/7gfdmcB\n1fXnxGtToaEuY1Mf/g6TAI6G9xeIcilBC0sxTcWrrEhkuKrjO3fRfu+5sfWm\nsHopoowUXAhjqUykmbSfoc3lswxlsN7JB+wIYbsG8LW43izc7VIRoWwSTQhA\neNCB/vKQLkbmVHGFbADn6z1BvlZMb2wLoDdiSyz24ghlcrAhl32zW6kWWmUL\nZNLvLYoTzqBTEbujxpNKD+ERW/YoPtOF2Omi+Vga4F4deKgVWtUUleBCh8by\nkqDzeYIaVnPZIuwNH98L6gD+fQ0wwZrcQXs6lPIpkKr6vIfg/rxNYBDAtDf+\n6D4r820bfNIpp+B5G2KE2o/dsf/D5Ci8PK7JC4pcOg1DDeCvii86pW3/KbOA\nFbSJR9CdaTdkzyaBAIFeQbGwdt/VcDDG/aSYoc1p13WgR4oC3rEKbsAoz9gr\noyMLNr4UVz+a6rnPzxa1VdYEckvO+UC/ndfi2FhVdC89atUJgLZ6ypBUoDRw\n4bKFET6emvxJrZ9GheKu7r1oO6r+1bcIVAwpXiQzD3k/qzAPlr6eNRWZpCMS\nzDao\r\n=SV4k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5k3PV2Jg9TkL5yhmK5jwGKF1A0k8HAylFQ0V9tBNRMQIgPvfBpyTV3iWi0HbQjSXCQPh7Z3j2vCwUC/YZ5zXD5ak="}]},"_npmUser":{"name":"bobthered","email":"bobmcaleavey@gmail.com"},"directories":{},"maintainers":[{"name":"bobthered","email":"bobmcaleavey@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nodemailer_1.0.1_1638889048648_0.5724122408644798"},"_hasShrinkwrap":false}},"time":{"created":"2021-12-07T14:42:44.834Z","1.0.0":"2021-12-07T14:42:45.124Z","modified":"2022-04-04T19:55:31.519Z","1.0.1":"2021-12-07T14:57:28.785Z"},"maintainers":[{"name":"bobthered","email":"bobmcaleavey@gmail.com"}],"description":"Nodemailer wrapper helper.","keywords":[],"author":{"name":"Bob McAleavey","email":"bobmcaleavey@gmail.com"},"license":"MIT","readme":"# @bobthered/nodemailer\r\n\r\n## Description\r\nNodemailer wrapper helper.\r\n\r\n## Installation\r\n```\r\nnpm i @bobthered/nodemailer\r\n```\r\n\r\n## Basic Usage\r\n```js\r\n// import sendMail from repo\r\nimport { sendMail } from '@bobthered/nodemailer'\r\n\r\n// initiate mail transport\r\nconst transport = {\r\n  service: 'gmail',\r\n  auth: {\r\n    pass: 'gmail_password',\r\n    user: 'gmail_username_with_email'\r\n  }\r\n}\r\n\r\n// initiate mail options\r\nconst options = {\r\n  transport,\r\n  from: 'John Doe <john.doe@johndoe.com>',\r\n  to: 'jane.doe@janedoe.com',\r\n  subject: 'Email Subject',\r\n  text: 'Body of the email goes here',\r\n  html: '<b>Body> of the email goes here',\r\n}\r\n\r\ntry {\r\n  await sendMail(options);\r\n} catch (error) {\r\n  console.error(error)\r\n}\r\n```","readmeFilename":"README.md","homepage":"https://github.com/bobthered/nodemailer#readme","repository":{"type":"git","url":"git+https://github.com/bobthered/nodemailer.git"},"bugs":{"url":"https://github.com/bobthered/nodemailer/issues"}}