{"_id":"hof-emailer","_rev":"72-551dd62ca00907f823b78bfea887930f","name":"hof-emailer","dist-tags":{"version-1":"1.6.2","latest":"2.1.1"},"versions":{"1.0.0":{"name":"hof-emailer","version":"1.0.0","author":{"name":"UKHomeOffice"},"license":"MIT","_id":"hof-emailer@1.0.0","maintainers":[{"name":"joefitter","email":"hello@joefitter.com"}],"contributors":[{"url":"http://joefitter.com/","name":"Joe Fitter","email":"hello@joefitter.com"}],"homepage":"https://github.com/UKHomeOffice/hof-emailer","bugs":{"url":"https://github.com/UKHomeOffice/hof-emailer/issues"},"dist":{"shasum":"513b92427232380164185babda8d47e05c1db4ff","tarball":"https://registry.npmjs.org/hof-emailer/-/hof-emailer-1.0.0.tgz","integrity":"sha512-Zmdy3rDeGrCuu+YEcQcT8HcJVM1oVusQKeY8xS0uNc+SiE8LLj1RktPcsLVIBINXYnViY8JiwnT478AQ5fLpFQ==","signatures":[{"sig":"MEUCIEpCrmQN6FdHd4Hny6+Korg2XKAf4wZO+Gr3byIaxyZoAiEAtknTmcoJuCoknM2Dd22le/UNu3zx0xxMQGs3hYI2uyI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"513b92427232380164185babda8d47e05c1db4ff","gitHead":"8da087b0e7d1c6371f4e85ba137347f5727abfeb","scripts":{"lint":"eslint .","snyk":"snyk test","test":"npm-run-all lint unit style coverage snyk","unit":"mocha","cover":"istanbul cover _mocha","style":"jscs .","coverage":"npm-run-all cover check-coverage","snyk:dev":"snyk test --dev","check-coverage":"istanbul check-coverage --statement 100 --branch 100 --function 100 --line 100"},"_npmUser":{"name":"joefitter","email":"hello@joefitter.com"},"deprecated":"hof-emailer has been added directly into hof v19.0.1 <(^_^)> and should not be installed separately","pre-commit":["test"],"_npmVersion":"3.10.8","description":"A service for generating and sending html and raw emails for use with HOF services","directories":{},"_nodeVersion":"6.2.2","dependencies":{"express":"^4.14.0","nodemailer":"^2.6.4","hogan-express-strict":"^0.5.4","express-partial-templates":"^0.2.0","nodemailer-smtp-transport":"^2.7.2","nodemailer-stub-transport":"^1.1.0"},"devDependencies":{"chai":"^3.5.0","jscs":"^3.0.7","snyk":"^1.19.1","mocha":"^3.1.1","sinon":"^1.17.6","xmldom":"^0.1.22","istanbul":"^0.4.5","pre-commit":"^1.1.3","proxyquire":"^1.7.10","sinon-chai":"^2.8.0","npm-run-all":"^3.1.1","eslint-config-homeoffice":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hof-emailer-1.0.0.tgz_1477566556574_0.20774307870306075","host":"packages-18-east.internal.npmjs.com"}},"1.1.0":{"name":"hof-emailer","version":"1.1.0","author":{"name":"UKHomeOffice"},"license":"MIT","_id":"hof-emailer@1.1.0","maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"joefitter","email":"hello@joefitter.com"},{"name":"josephchapman","email":"info@josephchapman.com"}],"contributors":[{"url":"http://joefitter.com/","name":"Joe Fitter","email":"hello@joefitter.com"}],"homepage":"https://github.com/UKHomeOffice/hof-emailer","bugs":{"url":"https://github.com/UKHomeOffice/hof-emailer/issues"},"dist":{"shasum":"d17d52c3a680d5df248c28d7ecc5495ef71453f4","tarball":"https://registry.npmjs.org/hof-emailer/-/hof-emailer-1.1.0.tgz","integrity":"sha512-asZLWqn2KWWjb7/aKXP3HklGVdM22vGqG4ITpV2xTH9Q50A8mZ/VEAuLGaYg4uaciti2hbQnAbGxfhhSryB8yg==","signatures":[{"sig":"MEQCIFl5WGaiXKVidxgBLj1/8v9MdTV6klf1jz+TRFitHyz0AiBn7O50as2ge7Ghyg9z48gnAy8kyWugfZnua/cShrY1Kw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"d17d52c3a680d5df248c28d7ecc5495ef71453f4","gitHead":"48f778534a9426d37bfd01f94cb48041dc991f11","scripts":{"lint":"eslint .","snyk":"snyk test","test":"npm-run-all lint unit style coverage snyk","unit":"mocha","cover":"istanbul cover _mocha","style":"jscs .","coverage":"npm-run-all cover check-coverage","snyk:dev":"snyk test --dev","check-coverage":"istanbul check-coverage --statement 100 --branch 100 --function 100 --line 100"},"_npmUser":{"name":"josephchapman","email":"info@josephchapman.com"},"deprecated":"hof-emailer has been added directly into hof v19.0.1 <(^_^)> and should not be installed separately","pre-commit":["test"],"_npmVersion":"3.10.8","description":"A service for generating and sending html and raw emails for use with HOF services","directories":{},"_nodeVersion":"4.2.2","dependencies":{"express":"^4.14.0","nodemailer":"^2.6.4","hogan-express-strict":"^0.5.4","nodemailer-ses-transport":"^1.5.0","express-partial-templates":"^0.2.0","nodemailer-smtp-transport":"^2.7.2","nodemailer-stub-transport":"^1.1.0"},"devDependencies":{"chai":"^3.5.0","jscs":"^3.0.7","snyk":"^1.19.1","mocha":"^3.1.1","sinon":"^1.17.6","xmldom":"^0.1.22","istanbul":"^0.4.5","pre-commit":"^1.1.3","proxyquire":"^1.7.10","sinon-chai":"^2.8.0","npm-run-all":"^3.1.1","eslint-config-homeoffice":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hof-emailer-1.1.0.tgz_1478176392290_0.009847492910921574","host":"packages-18-east.internal.npmjs.com"}},"1.2.0":{"name":"hof-emailer","version":"1.2.0","author":{"name":"UKHomeOffice"},"license":"MIT","_id":"hof-emailer@1.2.0","maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"joefitter","email":"hello@joefitter.com"},{"name":"josephchapman","email":"info@josephchapman.com"}],"contributors":[{"url":"http://joefitter.com/","name":"Joe Fitter","email":"hello@joefitter.com"}],"homepage":"https://github.com/UKHomeOffice/hof-emailer","bugs":{"url":"https://github.com/UKHomeOffice/hof-emailer/issues"},"dist":{"shasum":"b6e91c25eb8cb88d28874ef72c38e47f7e4699ee","tarball":"https://registry.npmjs.org/hof-emailer/-/hof-emailer-1.2.0.tgz","integrity":"sha512-/QBX6kXkak2MJ+utGDfAa/X/pcL5W5R9QQ9WnPRqCDFUZj1EdTMW87YzqeJ7MhR/IACwXjQdwTb10CjxSvQp+w==","signatures":[{"sig":"MEUCIQCB/LQ+p6TZygdr4lwBF/UvjdIufPw/FDmto1lp755nUAIgHYQZnGWfGBI51kEps163FPTlOEvaiBYAie6DvQOwkH0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"b6e91c25eb8cb88d28874ef72c38e47f7e4699ee","gitHead":"2de95fbce73e49ec6a4456c5467f41b28a5c93d3","scripts":{"lint":"eslint .","snyk":"snyk test","test":"npm-run-all lint unit style coverage snyk","unit":"mocha","cover":"istanbul cover _mocha","style":"jscs .","coverage":"npm-run-all cover check-coverage","snyk:dev":"snyk test --dev","check-coverage":"istanbul check-coverage --statement 100 --branch 100 --function 100 --line 100"},"_npmUser":{"name":"josephchapman","email":"info@josephchapman.com"},"deprecated":"hof-emailer has been added directly into hof v19.0.1 <(^_^)> and should not be installed separately","pre-commit":["test"],"_npmVersion":"3.10.8","description":"A service for generating and sending html and raw emails for use with HOF services","directories":{},"_nodeVersion":"4.2.2","dependencies":{"express":"^4.14.0","nodemailer":"^2.6.4","hogan-express-strict":"^0.5.4","nodemailer-ses-transport":"^1.5.0","express-partial-templates":"^0.2.0","nodemailer-smtp-transport":"^2.7.2","nodemailer-stub-transport":"^1.1.0"},"devDependencies":{"chai":"^3.5.0","jscs":"^3.0.7","snyk":"^1.19.1","mocha":"^3.1.1","sinon":"^1.17.6","xmldom":"^0.1.22","istanbul":"^0.4.5","pre-commit":"^1.1.3","proxyquire":"^1.7.10","sinon-chai":"^2.8.0","npm-run-all":"^3.1.1","eslint-config-homeoffice":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hof-emailer-1.2.0.tgz_1478512644784_0.9210154123138636","host":"packages-18-east.internal.npmjs.com"}},"1.3.0":{"name":"hof-emailer","version":"1.3.0","author":{"name":"UKHomeOffice"},"license":"MIT","_id":"hof-emailer@1.3.0","maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"joefitter","email":"hello@joefitter.com"},{"name":"josephchapman","email":"info@josephchapman.com"}],"contributors":[{"url":"http://joefitter.com/","name":"Joe Fitter","email":"hello@joefitter.com"}],"homepage":"https://github.com/UKHomeOffice/hof-emailer","bugs":{"url":"https://github.com/UKHomeOffice/hof-emailer/issues"},"dist":{"shasum":"3c5edaaa5906998e19e70af705450fa78e9ea515","tarball":"https://registry.npmjs.org/hof-emailer/-/hof-emailer-1.3.0.tgz","integrity":"sha512-eO7bQPq+l+zQri+mFUojTRAfh22d2WtKTKvpff4rV3IGQnp3Bxdp8BTfxGZNcxnKqQwzwDJmlEMm07h3iBlKOA==","signatures":[{"sig":"MEUCIQCDyQNsrFqmF8T39X+w0An6kRFhd05y9p4R2xQ+HC+RLAIgKa1LM5Ur/1DVNBlGy6tu2SLLQY72yu2pgaoSSfb4sW4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"3c5edaaa5906998e19e70af705450fa78e9ea515","gitHead":"7e79ea8969208aa94e3b3f25b2b89c2e245d9bb9","scripts":{"lint":"eslint .","snyk":"snyk test","test":"npm-run-all lint unit style coverage snyk","unit":"mocha","cover":"istanbul cover _mocha","style":"jscs .","coverage":"npm-run-all cover check-coverage","snyk:dev":"snyk test --dev","check-coverage":"istanbul check-coverage --statement 100 --branch 100 --function 100 --line 100"},"_npmUser":{"name":"josephchapman","email":"info@josephchapman.com"},"deprecated":"hof-emailer has been added directly into hof v19.0.1 <(^_^)> and should not be installed separately","pre-commit":["test"],"_npmVersion":"3.10.8","description":"A service for generating and sending html and raw emails for use with HOF services","directories":{},"_nodeVersion":"4.2.2","dependencies":{"express":"^4.14.0","nodemailer":"^2.6.4","hogan-express-strict":"^0.5.4","nodemailer-ses-transport":"^1.5.0","express-partial-templates":"^0.2.0","nodemailer-smtp-transport":"^2.7.2","nodemailer-stub-transport":"^1.1.0"},"devDependencies":{"chai":"^3.5.0","jscs":"^3.0.7","snyk":"^1.19.1","mocha":"^3.1.1","sinon":"^1.17.6","xmldom":"^0.1.22","istanbul":"^0.4.5","pre-commit":"^1.1.3","proxyquire":"^1.7.10","sinon-chai":"^2.8.0","npm-run-all":"^3.1.1","eslint-config-homeoffice":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hof-emailer-1.3.0.tgz_1478782329473_0.434967452660203","host":"packages-12-west.internal.npmjs.com"}},"1.3.1":{"name":"hof-emailer","version":"1.3.1","author":{"name":"UKHomeOffice"},"license":"MIT","_id":"hof-emailer@1.3.1","maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"joefitter","email":"hello@joefitter.com"},{"name":"josephchapman","email":"info@josephchapman.com"}],"contributors":[{"url":"http://joefitter.com/","name":"Joe Fitter","email":"hello@joefitter.com"}],"homepage":"https://github.com/UKHomeOffice/hof-emailer","bugs":{"url":"https://github.com/UKHomeOffice/hof-emailer/issues"},"dist":{"shasum":"21a7ae3e8c64528b5b133f37ebc3a3e4a1c25ed5","tarball":"https://registry.npmjs.org/hof-emailer/-/hof-emailer-1.3.1.tgz","integrity":"sha512-P5urjRcXbhN+zp0kNgfMrg3+8m9ZzNFv2k1ZrEK0LKFXRSwlDK5WmlhiAIZGrMhMyu/8uqdSWO50iT8dO2c8ag==","signatures":[{"sig":"MEYCIQDJ0jesKB/au9NGaW3hWJifctOOTLF779sqmHb0gTRP8wIhAKHSbEoT9hWNLT0W0pov5Am+mFhkEB6DW1Tj/TzakA2q","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"21a7ae3e8c64528b5b133f37ebc3a3e4a1c25ed5","gitHead":"08b4e9e02d7e0c1539ad98985749aa1362b5a217","scripts":{"lint":"eslint .","snyk":"snyk test","test":"npm-run-all lint unit style coverage snyk","unit":"mocha","cover":"istanbul cover _mocha","style":"jscs .","coverage":"npm-run-all cover check-coverage","snyk:dev":"snyk test --dev","check-coverage":"istanbul check-coverage --statement 100 --branch 100 --function 100 --line 100"},"_npmUser":{"name":"joefitter","email":"hello@joefitter.com"},"deprecated":"hof-emailer has been added directly into hof v19.0.1 <(^_^)> and should not be installed separately","pre-commit":["test"],"_npmVersion":"3.10.8","description":"A service for generating and sending html and raw emails for use with HOF services","directories":{},"_nodeVersion":"6.2.2","dependencies":{"express":"^4.14.0","nodemailer":"^2.6.4","hogan-express-strict":"^0.5.4","nodemailer-ses-transport":"^1.5.0","express-partial-templates":"^0.2.0","nodemailer-smtp-transport":"^2.7.2","nodemailer-stub-transport":"^1.1.0"},"devDependencies":{"chai":"^3.5.0","jscs":"^3.0.7","snyk":"^1.19.1","mocha":"^3.1.1","sinon":"^1.17.6","xmldom":"^0.1.22","istanbul":"^0.4.5","pre-commit":"^1.1.3","proxyquire":"^1.7.10","sinon-chai":"^2.8.0","npm-run-all":"^3.1.1","eslint-config-homeoffice":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hof-emailer-1.3.1.tgz_1479312965483_0.42004192201420665","host":"packages-18-east.internal.npmjs.com"}},"1.4.0":{"name":"hof-emailer","version":"1.4.0","author":{"name":"UKHomeOffice"},"license":"MIT","_id":"hof-emailer@1.4.0","maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"joefitter","email":"hello@joefitter.com"},{"name":"josephchapman","email":"info@josephchapman.com"}],"contributors":[{"url":"http://joefitter.com/","name":"Joe Fitter","email":"hello@joefitter.com"}],"homepage":"https://github.com/UKHomeOffice/hof-emailer","bugs":{"url":"https://github.com/UKHomeOffice/hof-emailer/issues"},"dist":{"shasum":"ed31958f5c6aa46bc1ce2ddf10e4d1a3af25363b","tarball":"https://registry.npmjs.org/hof-emailer/-/hof-emailer-1.4.0.tgz","integrity":"sha512-ptQ0147CAutc11w+B+O7UX0B0o9svQ21LH5RlkuHzM0Eu1VsNYUkTZjGbB+Fc+FbKeTz7wy27cG7+OZN3tO6gg==","signatures":[{"sig":"MEQCIC+3kUN81Kr9rtFwJke5yClC442YAshI/05Ee6BMXYVxAiB270qkz/RN4aSfzE83iAL7bc/Wg0Npwm/9WhGMFG8JbA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"ed31958f5c6aa46bc1ce2ddf10e4d1a3af25363b","gitHead":"3ace62ae408b6c1c4f191e64fb602dc34297195f","scripts":{"lint":"eslint .","snyk":"snyk test","test":"npm-run-all lint unit style coverage snyk","unit":"mocha","cover":"istanbul cover _mocha","style":"jscs .","coverage":"npm-run-all cover check-coverage","snyk:dev":"snyk test --dev","check-coverage":"istanbul check-coverage --statement 100 --branch 100 --function 100 --line 100"},"_npmUser":{"name":"joefitter","email":"hello@joefitter.com"},"deprecated":"hof-emailer has been added directly into hof v19.0.1 <(^_^)> and should not be installed separately","pre-commit":["test"],"_npmVersion":"3.10.8","description":"A service for generating and sending html and raw emails for use with HOF services","directories":{},"_nodeVersion":"6.2.2","dependencies":{"express":"^4.14.0","nodemailer":"^2.6.4","hogan-express-strict":"^0.5.4","nodemailer-ses-transport":"^1.5.0","express-partial-templates":"^0.2.0","nodemailer-smtp-transport":"^2.7.2","nodemailer-stub-transport":"^1.1.0"},"devDependencies":{"chai":"^3.5.0","jscs":"^3.0.7","snyk":"^1.19.1","mocha":"^3.1.1","sinon":"^1.17.6","xmldom":"^0.1.22","istanbul":"^0.4.5","pre-commit":"^1.1.3","proxyquire":"^1.7.10","sinon-chai":"^2.8.0","npm-run-all":"^3.1.1","eslint-config-homeoffice":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hof-emailer-1.4.0.tgz_1479468575014_0.2139251003973186","host":"packages-12-west.internal.npmjs.com"}},"1.5.0":{"name":"hof-emailer","version":"1.5.0","author":{"name":"UKHomeOffice"},"license":"MIT","_id":"hof-emailer@1.5.0","maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"joefitter","email":"hello@joefitter.com"},{"name":"josephchapman","email":"info@josephchapman.com"}],"contributors":[{"url":"http://joefitter.com/","name":"Joe Fitter","email":"hello@joefitter.com"}],"homepage":"https://github.com/UKHomeOffice/hof-emailer","bugs":{"url":"https://github.com/UKHomeOffice/hof-emailer/issues"},"dist":{"shasum":"96e2fb49fce07216d9e4cf2f3173c79fa43affaf","tarball":"https://registry.npmjs.org/hof-emailer/-/hof-emailer-1.5.0.tgz","integrity":"sha512-+kBzV1K8ZbN+jdEkhBBz/0Q1VpmJKqwRlWy534CinfxVpBxrLqSP9cKtDHxB07WbnsIHxFyeO1/4AVcSMqiYJA==","signatures":[{"sig":"MEUCIQDtnSgDrb4cANpj3un6I3G86O91VKBjhnVEZzzSUg0OhgIgIWxQUiWiFZ/mK/oAE1kIF4F9mFRo2FJYyjViKGnhtj0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"96e2fb49fce07216d9e4cf2f3173c79fa43affaf","gitHead":"af9cd295d7f0e68c850fad64fe9cf1a47edbdf8d","scripts":{"lint":"eslint .","snyk":"snyk test","test":"npm-run-all lint unit style coverage snyk","unit":"mocha","cover":"istanbul cover _mocha","style":"jscs .","coverage":"npm-run-all cover check-coverage","snyk:dev":"snyk test --dev","check-coverage":"istanbul check-coverage --statement 100 --branch 100 --function 100 --line 100"},"_npmUser":{"name":"joefitter","email":"hello@joefitter.com"},"deprecated":"hof-emailer has been added directly into hof v19.0.1 <(^_^)> and should not be installed separately","pre-commit":["test"],"_npmVersion":"3.10.8","description":"A service for generating and sending html and raw emails for use with HOF services","directories":{},"_nodeVersion":"6.2.2","dependencies":{"express":"^4.14.0","nodemailer":"^2.6.4","hogan-express-strict":"^0.5.4","nodemailer-ses-transport":"^1.5.0","express-partial-templates":"^0.2.0","nodemailer-smtp-transport":"^2.7.2","nodemailer-stub-transport":"^1.1.0"},"devDependencies":{"chai":"^3.5.0","jscs":"^3.0.7","snyk":"^1.19.1","mocha":"^3.1.1","sinon":"^1.17.6","xmldom":"^0.1.22","istanbul":"^0.4.5","pre-commit":"^1.1.3","proxyquire":"^1.7.10","sinon-chai":"^2.8.0","npm-run-all":"^3.1.1","eslint-config-homeoffice":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hof-emailer-1.5.0.tgz_1479471772549_0.6969553984235972","host":"packages-12-west.internal.npmjs.com"}},"1.5.1":{"name":"hof-emailer","version":"1.5.1","author":{"name":"UKHomeOffice"},"license":"MIT","_id":"hof-emailer@1.5.1","maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"joefitter","email":"hello@joefitter.com"},{"name":"josephchapman","email":"info@josephchapman.com"}],"contributors":[{"url":"http://joefitter.com/","name":"Joe Fitter","email":"hello@joefitter.com"}],"homepage":"https://github.com/UKHomeOffice/hof-emailer","bugs":{"url":"https://github.com/UKHomeOffice/hof-emailer/issues"},"dist":{"shasum":"e321619e5be17de02dad093ecaa4ca3d0f448df6","tarball":"https://registry.npmjs.org/hof-emailer/-/hof-emailer-1.5.1.tgz","integrity":"sha512-T4kOUhmC2G9Fwetjie6Tve5xYJdR1beOO01ixeuciy7+G1myFFwX2HBrr/TMumwR/lfqRMHqRSQFpvB4Zol/iQ==","signatures":[{"sig":"MEQCIEKCDm0zuTkx7KGqR/jTrKij3C2AHa7aaG/v8moSTDoXAiBO1RDjG3S2fdsXoLKcogMgvh64JcBreJ8UI/AVdmkkug==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"e321619e5be17de02dad093ecaa4ca3d0f448df6","gitHead":"f5e91b12e2a147e0321cb33bd0f973dd35a63f93","scripts":{"lint":"eslint .","snyk":"snyk test","test":"npm-run-all lint unit style coverage snyk","unit":"mocha","cover":"istanbul cover _mocha","style":"jscs .","coverage":"npm-run-all cover check-coverage","snyk:dev":"snyk test --dev","check-coverage":"istanbul check-coverage --statement 100 --branch 100 --function 100 --line 100"},"_npmUser":{"name":"josephchapman","email":"info@josephchapman.com"},"deprecated":"hof-emailer has been added directly into hof v19.0.1 <(^_^)> and should not be installed separately","pre-commit":["test"],"_npmVersion":"3.10.8","description":"A service for generating and sending html and raw emails for use with HOF services","directories":{},"_nodeVersion":"4.2.2","dependencies":{"express":"^4.14.0","nodemailer":"^2.6.4","hogan-express-strict":"^0.5.4","nodemailer-ses-transport":"^1.5.0","express-partial-templates":"^0.2.0","nodemailer-smtp-transport":"^2.7.2","nodemailer-stub-transport":"^1.1.0"},"devDependencies":{"chai":"^3.5.0","jscs":"^3.0.7","snyk":"^1.19.1","mocha":"^3.1.1","sinon":"^1.17.6","xmldom":"^0.1.22","istanbul":"^0.4.5","pre-commit":"^1.1.3","proxyquire":"^1.7.10","sinon-chai":"^2.8.0","npm-run-all":"^3.1.1","eslint-config-homeoffice":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hof-emailer-1.5.1.tgz_1479830843746_0.27241124329157174","host":"packages-18-east.internal.npmjs.com"}},"1.6.0":{"name":"hof-emailer","version":"1.6.0","author":{"name":"UKHomeOffice"},"license":"MIT","_id":"hof-emailer@1.6.0","maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"joefitter","email":"hello@joefitter.com"},{"name":"josephchapman","email":"info@josephchapman.com"}],"contributors":[{"url":"http://joefitter.com/","name":"Joe Fitter","email":"hello@joefitter.com"}],"homepage":"https://github.com/UKHomeOffice/hof-emailer","bugs":{"url":"https://github.com/UKHomeOffice/hof-emailer/issues"},"dist":{"shasum":"948a3f268b866682fa3ec5759567a91ac9a2f600","tarball":"https://registry.npmjs.org/hof-emailer/-/hof-emailer-1.6.0.tgz","integrity":"sha512-9hA3F3hvOYtu3ns7pRlFcjjRw58z1Oyt0eaVoGakZjcqZ331vMkwS8fBUT778fCQB1+wwugevnzgBpshU4CjVw==","signatures":[{"sig":"MEUCIQCwf2iW6M2oJ8z42+8SAGinK452LSI0LyiJ7IaSMBRzGQIgKfbo5KTbcbXMxh1lNZhcnTbdMUxdk1NT/ec1y08Vft0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"948a3f268b866682fa3ec5759567a91ac9a2f600","gitHead":"50e1885d12cbdfcb281debe4f23bedb9793f54d2","scripts":{"lint":"eslint .","snyk":"snyk test","test":"npm-run-all lint unit style coverage snyk","unit":"mocha","cover":"istanbul cover _mocha","style":"jscs .","coverage":"npm-run-all cover check-coverage","snyk:dev":"snyk test --dev","check-coverage":"istanbul check-coverage --statement 100 --branch 100 --function 100 --line 100"},"_npmUser":{"name":"joefitter","email":"hello@joefitter.com"},"deprecated":"hof-emailer has been added directly into hof v19.0.1 <(^_^)> and should not be installed separately","pre-commit":["test"],"_npmVersion":"3.10.8","description":"A service for generating and sending html and raw emails for use with HOF services","directories":{},"_nodeVersion":"6.2.2","dependencies":{"express":"^4.14.0","nodemailer":"^2.6.4","hogan-express-strict":"^0.5.4","nodemailer-ses-transport":"^1.5.0","express-partial-templates":"^0.2.0","nodemailer-smtp-transport":"^2.7.2","nodemailer-stub-transport":"^1.1.0"},"devDependencies":{"chai":"^3.5.0","jscs":"^3.0.7","snyk":"^1.19.1","mocha":"^3.1.1","sinon":"^1.17.6","xmldom":"^0.1.22","istanbul":"^0.4.5","pre-commit":"^1.1.3","proxyquire":"^1.7.10","sinon-chai":"^2.8.0","npm-run-all":"^3.1.1","eslint-config-homeoffice":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hof-emailer-1.6.0.tgz_1481041683658_0.2722407444380224","host":"packages-12-west.internal.npmjs.com"}},"1.6.1":{"name":"hof-emailer","version":"1.6.1","author":{"name":"UKHomeOffice"},"license":"MIT","_id":"hof-emailer@1.6.1","maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"joefitter","email":"hello@joefitter.com"},{"name":"josephchapman","email":"info@josephchapman.com"}],"contributors":[{"url":"http://joefitter.com/","name":"Joe Fitter","email":"hello@joefitter.com"}],"homepage":"https://github.com/UKHomeOffice/hof-emailer","bugs":{"url":"https://github.com/UKHomeOffice/hof-emailer/issues"},"dist":{"shasum":"e99b440b6a581557c6f08ab5349b38723e763a7a","tarball":"https://registry.npmjs.org/hof-emailer/-/hof-emailer-1.6.1.tgz","integrity":"sha512-dDqw+zrToxR4UnEgdGzSAdIrvQRBAnpnzsJ7EDUyhO7WkS1cl+c1L7yOxy/5XE3tDuFlJEYFicjD965wRhTS2A==","signatures":[{"sig":"MEYCIQD2hKyWtYGvU2sx4Q2fjIuOn+hYKUu+fBio7P0oE8QgCQIhAMreASxOY2DROKCCjPoa2bp8iyKETHa3hv3g0mwQNTL0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"e99b440b6a581557c6f08ab5349b38723e763a7a","gitHead":"0880582302431be82298cb1530c3c06576aa880a","scripts":{"lint":"eslint .","snyk":"snyk test","test":"npm-run-all lint unit style coverage snyk","unit":"mocha","cover":"istanbul cover _mocha","style":"jscs .","coverage":"npm-run-all cover check-coverage","snyk:dev":"snyk test --dev","check-coverage":"istanbul check-coverage --statement 100 --branch 100 --function 100 --line 100"},"_npmUser":{"name":"easternbloc","email":"ben@marvell-consulting.com"},"deprecated":"hof-emailer has been added directly into hof v19.0.1 <(^_^)> and should not be installed separately","pre-commit":["test"],"_npmVersion":"3.10.5","description":"A service for generating and sending html and raw emails for use with HOF services","directories":{},"_nodeVersion":"4.2.3","dependencies":{"express":"^4.14.0","nodemailer":"^2.6.4","hogan-express-strict":"^0.5.4","nodemailer-ses-transport":"^1.5.0","express-partial-templates":"^0.2.0","nodemailer-smtp-transport":"^2.7.2","nodemailer-stub-transport":"^1.1.0"},"devDependencies":{"chai":"^3.5.0","jscs":"^3.0.7","snyk":"^1.19.1","mocha":"^3.1.1","sinon":"^1.17.6","xmldom":"^0.1.22","istanbul":"^0.4.5","pre-commit":"^1.1.3","proxyquire":"^1.7.10","sinon-chai":"^2.8.0","npm-run-all":"^3.1.1","eslint-config-homeoffice":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hof-emailer-1.6.1.tgz_1481627983070_0.7616298911161721","host":"packages-18-east.internal.npmjs.com"}},"2.0.0":{"name":"hof-emailer","version":"2.0.0","author":{"name":"UKHomeOffice"},"license":"MIT","_id":"hof-emailer@2.0.0","maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"joefitter","email":"hello@joefitter.com"},{"name":"josephchapman","email":"info@josephchapman.com"},{"name":"lennym","email":"leonard.martin@gmail.com"}],"contributors":[{"url":"http://joefitter.com/","name":"Joe Fitter","email":"hello@joefitter.com"}],"homepage":"https://github.com/UKHomeOffice/hof-emailer","bugs":{"url":"https://github.com/UKHomeOffice/hof-emailer/issues"},"dist":{"shasum":"fe241522c44f0d8e25679d06139bb497eaacfe1e","tarball":"https://registry.npmjs.org/hof-emailer/-/hof-emailer-2.0.0.tgz","integrity":"sha512-TBRnNr2LcTY9JaPJeqoFGW/X9qd8XStVN6vyRlmlMbkiZhBQn9rxppMisJs+Y0tkr9WdMkAxReK5AoB4Z08ZYw==","signatures":[{"sig":"MEUCIEEQEg0WxtD0rhCM/WU1NbebzgPf0Ov7mDzYJDRnCscpAiEAmxk/monSCeN3QhiIfdDjil0wOmb6e+YOhZQIolxDZ5M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"fe241522c44f0d8e25679d06139bb497eaacfe1e","gitHead":"d90c15c6b8afc08a7c004055030323d107bfce91","scripts":{"lint":"eslint .","snyk":"snyk auth $SNYK_AUTH && snyk test","test":"npm-run-all lint unit coverage snyk","unit":"mocha","cover":"istanbul cover _mocha","coverage":"npm-run-all cover check-coverage","snyk:dev":"snyk test --dev","check-coverage":"istanbul check-coverage --statement 100 --branch 100 --function 100 --line 100"},"_npmUser":{"name":"lennym","email":"leonard.martin@gmail.com"},"deprecated":"hof-emailer has been added directly into hof v19.0.1 <(^_^)> and should not be installed separately","pre-commit":["test"],"_npmVersion":"4.1.2","description":"A service for generating and sending html and raw emails for use with HOF services","directories":{},"_nodeVersion":"6.9.4","dependencies":{"debug":"^2.6.1","hogan.js":"^3.0.2","nodemailer":"^2.6.4","nodemailer-ses-transport":"^1.5.0","nodemailer-smtp-transport":"^2.7.2","nodemailer-stub-transport":"^1.1.0"},"devDependencies":{"chai":"^3.5.0","snyk":"^1.19.1","mocha":"^3.1.1","sinon":"^1.17.6","xmldom":"^0.1.22","istanbul":"^0.4.5","pre-commit":"^1.1.3","proxyquire":"^1.7.10","sinon-chai":"^2.8.0","npm-run-all":"^3.1.1","eslint-config-homeoffice":"^2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/hof-emailer-2.0.0.tgz_1489167758875_0.025419187266379595","host":"packages-18-east.internal.npmjs.com"}},"1.6.2":{"name":"hof-emailer","version":"1.6.2","author":{"name":"UKHomeOffice"},"license":"MIT","_id":"hof-emailer@1.6.2","maintainers":[{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"josephchapman","email":"info@josephchapman.com"},{"name":"joefitter","email":"hello@joefitter.com"}],"contributors":[{"url":"http://joefitter.com/","name":"Joe Fitter","email":"hello@joefitter.com"}],"homepage":"https://github.com/UKHomeOffice/hof-emailer","bugs":{"url":"https://github.com/UKHomeOffice/hof-emailer/issues"},"dist":{"shasum":"b90aee54634a2abd76ed1ff077ae956c930a90dc","tarball":"https://registry.npmjs.org/hof-emailer/-/hof-emailer-1.6.2.tgz","integrity":"sha512-0w3Fnj0oK1gMK5aAA/em+iheCsmViueDrStODXjKWaCjb33z+1DMi6fK7/N+RtR/Hs/6So6dEZjH1+CkhLL0Yg==","signatures":[{"sig":"MEQCIDL2hcWJ7Losigcrcm7Ipvnr9bqVws9ty5Yos8BAeqyOAiB5dxl+aFuVdobgmi1rUtkMTtEyYIfdSzmlS5vYz9TDzA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"b90aee54634a2abd76ed1ff077ae956c930a90dc","gitHead":"0b4a75c365e6abcca9e03814fe8645dfd15eb156","scripts":{"lint":"eslint .","snyk":"snyk auth $SNYK_AUTH && snyk test","test":"npm-run-all lint unit style coverage snyk","unit":"mocha","cover":"istanbul cover _mocha","style":"jscs .","coverage":"npm-run-all cover check-coverage","snyk:dev":"snyk test --dev","check-coverage":"istanbul check-coverage --statement 100 --branch 100 --function 100 --line 100"},"_npmUser":{"name":"lennym","email":"leonard.martin@gmail.com"},"deprecated":"hof-emailer has been added directly into hof v19.0.1 <(^_^)> and should not be installed separately","pre-commit":["test"],"_npmVersion":"4.5.0","description":"A service for generating and sending html and raw emails for use with HOF services","directories":{},"_nodeVersion":"6.9.4","dependencies":{"lodash":"^4.17.4","express":"^4.15.3","nodemailer":"^2.6.4","hogan-express-strict":"^0.5.4","nodemailer-ses-transport":"^1.5.0","express-partial-templates":"^0.2.0","nodemailer-smtp-transport":"^2.7.2","nodemailer-stub-transport":"^1.1.0"},"devDependencies":{"chai":"^3.5.0","jscs":"^3.0.7","snyk":"^1.19.1","mocha":"^3.1.1","sinon":"^1.17.6","xmldom":"^0.1.22","istanbul":"^0.4.5","pre-commit":"^1.1.3","proxyquire":"^1.7.10","sinon-chai":"^2.8.0","npm-run-all":"^3.1.1","eslint-config-homeoffice":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hof-emailer-1.6.2.tgz_1495466070980_0.3788371030241251","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"hof-emailer","version":"2.1.0","author":{"name":"UKHomeOffice"},"license":"MIT","_id":"hof-emailer@2.1.0","maintainers":[{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"josephchapman","email":"info@josephchapman.com"},{"name":"joefitter","email":"hello@joefitter.com"}],"contributors":[{"url":"http://joefitter.com/","name":"Joe Fitter","email":"hello@joefitter.com"}],"homepage":"https://github.com/UKHomeOffice/hof-emailer","bugs":{"url":"https://github.com/UKHomeOffice/hof-emailer/issues"},"dist":{"shasum":"1a61561a74b357059e7071646c358e715764b4b8","tarball":"https://registry.npmjs.org/hof-emailer/-/hof-emailer-2.1.0.tgz","integrity":"sha512-p4QvBU20QxGp6eBP2mi5ZBANgICcGPPa2F3mTUv+wYIfoTlPyrpmv4KwfxCNxxh7SwxWiUwSORmewRwj4Tyq+A==","signatures":[{"sig":"MEYCIQC3trZ8WBZa2Z4rau1qV/Ic0MUpAUOGhzbB/31euKr90gIhAKZ1DHGK5PJw7m5v+IxGjn6usvjqezCqHMX66Oy9Iz4F","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","gitHead":"97e68f4fc686897127fe2d5afbf60e4a0014ae9a","scripts":{"lint":"eslint .","snyk":"snyk auth $SNYK_AUTH && snyk test","test":"npm-run-all lint unit coverage snyk","unit":"mocha","cover":"istanbul cover _mocha","coverage":"npm-run-all cover check-coverage","snyk:dev":"snyk test --dev","check-coverage":"istanbul check-coverage --statement 90 --branch 90 --function 90 --line 90"},"_npmUser":{"name":"lennym","email":"leonard.martin@gmail.com"},"deprecated":"hof-emailer has been added directly into hof v19.0.1 <(^_^)> and should not be installed separately","pre-commit":["test"],"_npmVersion":"5.5.1","description":"A service for generating and sending html and raw emails for use with HOF services","directories":{},"_nodeVersion":"8.1.3","dependencies":{"debug":"^2.6.1","mkdirp":"^0.5.1","hogan.js":"^3.0.2","nodemailer":"^2.6.4","nodemailer-ses-transport":"^1.5.0","nodemailer-smtp-transport":"^2.7.2","nodemailer-stub-transport":"^1.1.0"},"devDependencies":{"chai":"^3.5.0","snyk":"^1.19.1","mocha":"^3.1.1","sinon":"^1.17.6","xmldom":"^0.1.22","istanbul":"^0.4.5","pre-commit":"^1.1.3","proxyquire":"^1.7.10","sinon-chai":"^2.8.0","npm-run-all":"^3.1.1","mocha-sandbox":"^1.0.0","eslint-config-homeoffice":"^2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/hof-emailer-2.1.0.tgz_1509115431965_0.829399501439184","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"hof-emailer","version":"2.1.1","author":{"name":"UKHomeOffice"},"license":"MIT","_id":"hof-emailer@2.1.1","maintainers":[{"name":"mohameduwais","email":"mohamed.uwais@digital.homeoffice.gov.uk"},{"name":"cmedland","email":"christopher.medland@digital.homeoffice.gov.uk"},{"name":"maxosully","email":"max.osullivan@digital.homeoffice.gov.uk"},{"name":"sarahjaneluff","email":"Sarah-Jane.Luff@digital.homeoffice.gov.uk"},{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"josephchapman","email":"joe@creatify.io"},{"name":"joefitter","email":"hello@joefitter.com"},{"name":"coupey","email":"paul@coupey.co.uk"},{"name":"sulthan-ahmed","email":"sulthanahmeduk@gmail.com"},{"name":"andrew.moody.ho","email":"andrew.moody@digital.homeoffice.gov.uk"},{"name":"alexfranklin","email":"alex.franklin@digital.homeoffice.gov.uk"},{"name":"aswann","email":"alex_swann@hotmail.co.uk"},{"name":"robertdeniszczyc2","email":"Robert.deniszczyc@digital.homeoffice.gov.uk"},{"name":"agraham19","email":"andrew.graham@digital.homeoffice.gov.uk"},{"name":"aaron.robinson","email":"aaron.robinson@digital.homeoffice.gov.uk"}],"contributors":[{"url":"http://joefitter.com/","name":"Joe Fitter","email":"hello@joefitter.com"}],"homepage":"https://github.com/UKHomeOffice/hof-emailer","bugs":{"url":"https://github.com/UKHomeOffice/hof-emailer/issues"},"dist":{"shasum":"010554b26ce2102afe2f6e7fb4410a5230b7866c","tarball":"https://registry.npmjs.org/hof-emailer/-/hof-emailer-2.1.1.tgz","fileCount":35,"integrity":"sha512-MiKzaoDxmBsYqWVmYs+Gl+ckyAGMhlGXruVFHRykcApCk6BRrdsJ9/rtZNTnlBsThEgZhSKUBM54ur+mlu0auA==","signatures":[{"sig":"MEQCIA6ItYGid5aXKfK8IbIjYwk6jqaafGB0TiprriuHP7KFAiAqLr9wcVfXmDd59zId6+wkBdsO3NEmGsDNsZhlLlyghA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47555,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnPObCRA9TVsSAnZWagAAB1gP/0Rf9R55uoOXK7n91297\nEZXRLDop//i1ll97auhbhZfBdxu4CiTZ2UX8xfzxSPgVnf7dWTaWgdRVLuxM\n1Zcb2obMrhQbW2TDd2aRwhqvg/UE+4PlBi3VpJRZy6HsTixjY6D6KTTX+DSR\nbHiYbkVtAX5LqVAlgjGBH1Z2NIM5jvRe/K3EjJdl3GnyUgNAv+jibDyHWBJY\nDTURIavNMam5IxV3HAL4i7dDIwYBmWlKYv6KgC+nTHwotxkFF7xC+eoc2kwu\n1gQH7ZEWzlEFUTWrKIXhU0d1nl0tnTDnaZUWrvaMO2fmtMd1TC5xboeu72gK\nWLroFCTAmM46vT7CG4qa0kJEdyD5pF6fg4BD7POT65bPBldI5EI80N/ZMV4q\nDvwnsqdaPa/i+o7KfF/v1I2ICWuxhsuMYrK9JNjk1DOga24SFWzAOEc4d+36\naOyDhq6+otRKKIyxGQWZS8F+rtfGV7L6PonFDSEi2ihJcqlPGwI5ym1utuau\nOEC3A9XFIC+F0MXkQv1DcviE2McxNpYWMaCQkBKw2G5xX5SolQM7YBZDu1cT\n4Dqv/lb22tRSPjUmPDJK+FBmxsov/3N/OY+4wCOKPt/nocP75yv6n1MtO0d+\ny9pF56cXRmMkJywLT6p1qAE1+F/07T0EWg4jdxmJBEYUwnijt0+SWZLBHY9i\nadvv\r\n=XW3k\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"5a5b478eeaeea77830a83065e0f39e3fc312f0f0","scripts":{"lint":"eslint .","snyk":"snyk auth $SNYK_AUTH && snyk test","test":"npm-run-all lint unit coverage","unit":"mocha","cover":"istanbul cover _mocha","coverage":"npm-run-all cover check-coverage","snyk:dev":"snyk test --dev","check-coverage":"istanbul check-coverage --statement 90 --branch 90 --function 90 --line 90"},"_npmUser":{"name":"sarahjaneluff","email":"Sarah-Jane.Luff@digital.homeoffice.gov.uk"},"deprecated":"hof-emailer has been added directly into hof v19.0.1 <(^_^)> and should not be installed separately","pre-commit":["test"],"_npmVersion":"6.14.11","description":"A service for generating and sending html and raw emails for use with HOF services","directories":{},"_nodeVersion":"10.24.0","dependencies":{"debug":"^2.6.1","mkdirp":"^0.5.1","hogan.js":"^3.0.2","nodemailer":"^6.4.16","nodemailer-ses-transport":"^1.5.0","nodemailer-smtp-transport":"^2.7.2","nodemailer-stub-transport":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^3.5.0","snyk":"^1.19.1","mocha":"^3.1.1","sinon":"^1.17.6","xmldom":"^0.1.22","istanbul":"^0.4.5","pre-commit":"^1.1.3","proxyquire":"^1.7.10","sinon-chai":"^2.8.0","npm-run-all":"^3.1.1","mocha-sandbox":"^1.0.0","eslint-config-homeoffice":"^2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/hof-emailer_2.1.1_1620898714675_0.5065527492176416","host":"s3://npm-registry-packages"}}},"time":{"created":"2016-10-27T11:09:19.369Z","modified":"2026-09-21T15:12:51.970Z","1.0.0":"2016-10-27T11:09:19.369Z","1.1.0":"2016-11-03T12:33:12.967Z","1.2.0":"2016-11-07T09:57:25.373Z","1.3.0":"2016-11-10T12:52:11.537Z","1.3.1":"2016-11-16T16:16:06.062Z","1.4.0":"2016-11-18T11:29:37.326Z","1.5.0":"2016-11-18T12:22:54.388Z","1.5.1":"2016-11-22T16:07:24.305Z","1.6.0":"2016-12-06T16:28:05.747Z","1.6.1":"2016-12-13T11:19:43.694Z","2.0.0":"2017-03-10T17:42:39.441Z","1.6.2":"2017-05-22T15:14:31.947Z","2.1.0":"2017-10-27T14:43:52.890Z","2.1.1":"2021-05-13T09:38:34.792Z"},"bugs":{"url":"https://github.com/UKHomeOffice/hof-emailer/issues"},"author":{"name":"UKHomeOffice"},"license":"MIT","homepage":"https://github.com/UKHomeOffice/hof-emailer","description":"A service for generating and sending html and raw emails for use with HOF services","contributors":[{"url":"http://joefitter.com/","name":"Joe Fitter","email":"hello@joefitter.com"}],"maintainers":[{"email":"aaron.russell@digital.homeoffice.gov.uk","name":"aaronrussellho"},{"email":"sas-hof-test@digital.homeoffice.gov.uk","name":"hof-bot-user"},{"email":"dk4g.blob@gmail.com","name":"dk4g"},{"email":"gregory.wolverson@digital.homeoffice.gov.uk","name":"greg_wolverson_ho"},{"email":"vinodha.samiyappan@digital.homeoffice.gov.uk","name":"vinodha.s"},{"email":"megan.john@digital.homeoffice.gov.uk","name":"meganjohn"},{"email":"nese.zorba@digital.homeoffice.gov.uk","name":"nzorba"},{"email":"rayhannur.rohman@digital.homeoffice.gov.uk","name":"rayhannurrohmanho"},{"email":"vivek.kumar1@digital.homeoffice.gov.uk","name":"vivekkumar-ho"},{"email":"ben@marvell-consulting.com","name":"easternbloc"},{"email":"joseph.chapman@creatify.io","name":"josephchapman"},{"email":"leonard.martin@gmail.com","name":"lennym"},{"email":"hello@joefitter.com","name":"joefitter"}],"readme":"# HOF Emailer\n\nAn emailer service for HOF applications.\n\n## Installation\n\n```bash\n$ npm install hof-emailer --save\n```\n\n## Usage\n\n```js\n// first create an emailer instance\nconst Emailer = require('hof-emailer');\nconst emailer = new Emailer({\n  from: 'sender@example.com',\n  transport: 'smtp',\n  transportOptions: {\n    host: 'my.smtp.host',\n    port: 25\n  }\n});\n\n// then you can use your emailer to send emails\nconst to = 'recipient@example.com';\nconst body = 'This is the email body';\nconst subject = 'Important email!'\nemailer.send(to, body, subject)\n  .then(() => {\n    console.log(`Email sent to ${to}!`);\n  });\n```\n\n## Options\n\n- `from`: <String>: Address to send emails from. Required.\n- `transport`: <String>: Select what mechanism to use to send emails. Defaults: 'smtp'.\n- `transportOptions`: <Object>: Set the options for the chosen transport, as defined below. Required.\n- `layout`: <String>: Optional path to use a custom layout for email content.\n\n## Transports\n\nThe following transport options are available:\n\n### `smtp`\n\n[nodemailer-smtp-transport](https://github.com/andris9/nodemailer-smtp-transport)\n\n#### Options\n\n- `host` <String>: Address of the mailserver. Required.\n- `port` <String|Number>: Port of the mailserver. Required.\n- `ignoreTLS` <Boolean>: Defaults to false.\n- `secure` <Boolean>: Defaults to true.\n- `auth.user` <String>: Mailserver authorisation username.\n- `auth.pass` <String>: Mailserver authorisation password.\n\n### `ses`\n[nodemailer-ses-transport](https://github.com/andris9/nodemailer-ses-transport)\n\n#### Options\n\n- `accessKeyId` <String>: AWS accessKeyId. Required.\n- `secretAccessKey` <String>: AWS accessKeyId. Required.\n- `sessionToken` <String>\n- `region` <String>. Defaults to 'eu-west-1'.\n- `httpOptions` <String>\n- `rateLimit` <String>\n- `maxConnections` <String>\n\n### `debug`\n\nA development option to write the html content of the email to a file for inspection.\n\n`transport: 'debug'`\n\n#### debug options\n\n- `dir` <String>: The location to save html to. Default: `./.emails`. This directory will be created if it does not exist.\n- `open` <Boolean>: If set to true, will automatically open the created html file in a browser.\n\n#### debug example\n\n```\ntransport: 'debug'\ntransportOptions: {\n  dir: './emails',\n  open: true\n}\n```\n### `stub`\n\nDisables sending email. No options are required.\n","readmeFilename":"README.md"}