ts-mailer
Version:
This lib provide a class and function as singleton instance to compile a hbs template adding data and send it as an email using aws-ses. ## Send email using hbs template and aws-ses
58 lines (57 loc) • 1.55 kB
JSON
{
"name": "ts-mailer",
"version": "1.1.9",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",
"author": "Alessandro Dev",
"devDependencies": {
"@types/handlebars": "^4.1.0",
"@types/jest": "^27.4.1",
"@types/node": "^22.9.1",
"env-cmd": "^10.1.0",
"jest": "^27.5.1",
"rimraf": "^5.0.10",
"ts-jest": "^27.1.3",
"ts-node": "^10.9.2",
"typescript": "^4.9.5"
},
"dependencies": {
"@aws-sdk/client-sesv2": "^3.696.0",
"handlebars": "^4.7.8",
"reflect-metadata": "^0.2.2",
"tsyringe": "^4.8.0"
},
"files": [
"dist/*",
"package.json"
],
"repository": {
"type": "git",
"url": "git+https://github.com/4lessandrodev/ts-mailer.git"
},
"bugs": {
"url": "https://github.com/4lessandrodev/ts-mailer/issues"
},
"homepage": "https://github.com/4lessandrodev/ts-mailer/",
"engines": {
"node": ">=14"
},
"keywords": [
"Mailer",
"SendEmail",
"Email template",
"Template hbs email",
"Send html template",
"Mail",
"Aws ses mailer",
"Aws"
],
"scripts": {
"test": "AWS_MAILER_REGION=us-east-1 jest --runInBand",
"test:e2e": "env-cmd jest -c ./jest.integration-config.json --runInBand",
"dev": "env-cmd ts-node lib/index.ts",
"prebuild": "rimraf ./dist",
"build": "yarn tsc --p ./compile-tsconfig.json"
}
}