{"_id":"nestjs-resend","_rev":"8-6c03cafd4d0edb8f4f8b6f6f25ad08b8","name":"nestjs-resend","dist-tags":{"latest":"1.1.0"},"versions":{"0.0.1":{"name":"nestjs-resend","version":"0.0.1","keywords":["nestjs","nest","resend","mailgun","email"],"author":{"name":"paullee"},"license":"MIT","_id":"nestjs-resend@0.0.1","maintainers":[{"name":"jiangtaste","email":"cn.paullee@gmail.com"}],"homepage":"https://github.com/jiangtaste/nestjs-resend#readme","bugs":{"url":"https://github.com/jiangtaste/nestjs-resend/issues"},"dist":{"shasum":"4587684ce943b259a20d9f79a49635ec1a24eb50","tarball":"https://registry.npmjs.org/nestjs-resend/-/nestjs-resend-0.0.1.tgz","fileCount":28,"integrity":"sha512-ycbkVUkUJ+TPDF9b48d3JHrqPl/R+Cu30b6mOLBuIc1w4Cmc60l/Ixuvt/+vs0C+0CPM/GmDzTDvlgpkARDp8w==","signatures":[{"sig":"MEYCIQCRqQFIlDEyVd2CAczJWsJXIE5mliOEj/XqiiwejmQ18AIhAMUKW1v1xE7XjUiK6+R1m8HgvMs3S17EVGm9+9coy5NY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":129473},"jest":{"rootDir":"src","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"testEnvironment":"node","coverageDirectory":"../coverage","collectCoverageFrom":["**/*.(t|j)s"],"moduleFileExtensions":["js","json","ts"]},"main":"dist/index.js","types":"./dist/index.d.ts","gitHead":"81bda6142c96551fec7ac291044e3d694eacf599","scripts":{"lint":"eslint \"{src,apps,libs,test}/**/*.ts\" --fix","test":"jest","build":"rimraf ./dist && tsc -p tsconfig.json","format":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\"","test:cov":"jest --coverage","test:e2e":"jest --config ./test/jest-e2e.json","start:dev":"tsc -w","test:watch":"jest --watch"},"_npmUser":{"name":"jiangtaste","email":"cn.paullee@gmail.com"},"repository":{"url":"git+https://github.com/jiangtaste/nestjs-resend.git","type":"git"},"_npmVersion":"9.6.7","description":"NestJS provider for sending emails with resend","directories":{"test":"test"},"_nodeVersion":"20.3.1","dependencies":{"resend":"^0.16.0","@nestjs/common":"^9.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"29.3.1","rxjs":"^7.8.1","eslint":"^8.0.1","ts-jest":"29.0.3","ts-node":"^10.0.0","prettier":"^2.3.2","supertest":"^6.1.3","ts-loader":"^9.2.3","typescript":"^4.7.4","@nestjs/cli":"^9.0.0","@types/jest":"29.2.4","@types/node":"18.11.18","@nestjs/core":"^10.0.3","@types/express":"^4.17.13","tsconfig-paths":"4.1.1","@nestjs/testing":"^9.0.0","@types/supertest":"^2.0.11","reflect-metadata":"^0.1.13","@nestjs/schematics":"^9.0.0","source-map-support":"^0.5.20","@nestjs/mapped-types":"^2.0.2","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","@nestjs/platform-express":"^10.0.3","@typescript-eslint/parser":"^5.0.0","@typescript-eslint/eslint-plugin":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-resend_0.0.1_1687860300344_0.9664146427308136","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"nestjs-resend","version":"0.0.2","keywords":["nestjs","nest","resend","mailgun","email"],"author":{"name":"paullee"},"license":"MIT","_id":"nestjs-resend@0.0.2","maintainers":[{"name":"jiangtaste","email":"cn.paullee@gmail.com"}],"homepage":"https://github.com/jiangtaste/nestjs-resend#readme","bugs":{"url":"https://github.com/jiangtaste/nestjs-resend/issues"},"dist":{"shasum":"3f2e82ff7ce29159263f508a5173f4b3174adf64","tarball":"https://registry.npmjs.org/nestjs-resend/-/nestjs-resend-0.0.2.tgz","fileCount":28,"integrity":"sha512-dBkojwGy5AmJOewdVAXo3AWBPkVmJ8WbqQLOI82cXoFxIB9RKcHrEX61Gq6HoCdfimF841HKBsMXsaiKAO6nBg==","signatures":[{"sig":"MEUCIQDe8Sm4DFzc0ohaGAhICXB7aGx98pPwkG1S0sWSY/3NaAIgSxd03ayjJ22BxiRn3aPDZqJ83JyhQ9HxoCZunKy+rCA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":129388},"jest":{"rootDir":"src","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"testEnvironment":"node","coverageDirectory":"../coverage","collectCoverageFrom":["**/*.(t|j)s"],"moduleFileExtensions":["js","json","ts"]},"main":"dist/index.js","types":"./dist/index.d.ts","gitHead":"b9ef9e25c7a9909df4414adc158ec03b0d2af270","scripts":{"lint":"eslint \"{src,apps,libs,test}/**/*.ts\" --fix","test":"jest","build":"rimraf ./dist && tsc -p tsconfig.json","format":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\"","test:cov":"jest --coverage","test:e2e":"jest --config ./test/jest-e2e.json","start:dev":"tsc -w","test:watch":"jest --watch"},"_npmUser":{"name":"jiangtaste","email":"cn.paullee@gmail.com"},"repository":{"url":"git+https://github.com/jiangtaste/nestjs-resend.git","type":"git"},"_npmVersion":"9.6.7","description":"NestJS provider for sending emails with resend","directories":{"test":"test"},"_nodeVersion":"20.3.1","dependencies":{"resend":"^0.16.0","@nestjs/common":"^9.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"29.3.1","rxjs":"^7.8.1","eslint":"^8.0.1","ts-jest":"29.0.3","ts-node":"^10.0.0","prettier":"^2.3.2","supertest":"^6.1.3","ts-loader":"^9.2.3","typescript":"^4.7.4","@nestjs/cli":"^9.0.0","@types/jest":"29.2.4","@types/node":"18.11.18","@nestjs/core":"^10.0.3","@types/express":"^4.17.13","tsconfig-paths":"4.1.1","@nestjs/testing":"^9.0.0","@types/supertest":"^2.0.11","reflect-metadata":"^0.1.13","@nestjs/schematics":"^9.0.0","source-map-support":"^0.5.20","@nestjs/mapped-types":"^2.0.2","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","@nestjs/platform-express":"^10.0.3","@typescript-eslint/parser":"^5.0.0","@typescript-eslint/eslint-plugin":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-resend_0.0.2_1687860586244_0.19820017636446163","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"nestjs-resend","version":"0.0.3","keywords":["nestjs","nest","resend","mailgun","email"],"author":{"name":"paullee"},"license":"MIT","_id":"nestjs-resend@0.0.3","maintainers":[{"name":"jiangtaste","email":"cn.paullee@gmail.com"}],"homepage":"https://github.com/jiangtaste/nestjs-resend#readme","bugs":{"url":"https://github.com/jiangtaste/nestjs-resend/issues"},"dist":{"shasum":"e40851de37ec3f6b87ebf4edb203a53ed56e22ed","tarball":"https://registry.npmjs.org/nestjs-resend/-/nestjs-resend-0.0.3.tgz","fileCount":19,"integrity":"sha512-nUIoAqwfYrF8cr45FDypDpyB/FkPFu25EY9MHOKjWobCsoYZ0ycSPv1lU6t5FTjf6IpgU0/NNdiVQJskafgfqQ==","signatures":[{"sig":"MEQCIA5JJlM1mIRNufpjFHZ6Oefc7+WSlqDbK7LtO9G3AAaHAiBqilFC+nLlxr1F1Jr5TVFD+d/ch52S+9nvx5NnKQiMJg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":125906},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"3fb94b2ed106a02a547b5ccd77639ffe8a27b0c2","scripts":{"build":"rimraf ./dist && tsc -p tsconfig.json","format":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\""},"_npmUser":{"name":"jiangtaste","email":"cn.paullee@gmail.com"},"repository":{"url":"git+https://github.com/jiangtaste/nestjs-resend.git","type":"git"},"_npmVersion":"9.8.0","description":"NestJS provider for sending emails with resend","directories":{},"_nodeVersion":"20.5.1","dependencies":{"rxjs":"^7.8.1","resend":"^1.1.0","@nestjs/common":"^10.2.6"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.49.0","rimraf":"^5.0.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^20.6.3","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","@typescript-eslint/parser":"^6.7.2","@typescript-eslint/eslint-plugin":"^6.7.2"},"peerDependencies":{"rxjs":"^7.8.1","typescript":"^5.1.6","@types/node":"^20.4.2","@nestjs/common":"^10.0.5"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-resend_0.0.3_1695392572131_0.9239424958391764","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"nestjs-resend","version":"1.0.0","keywords":["nestjs","nest","resend","mailgun","email"],"author":{"name":"paullee"},"license":"MIT","_id":"nestjs-resend@1.0.0","maintainers":[{"name":"jiangtaste","email":"cn.paullee@gmail.com"}],"homepage":"https://github.com/jiangtaste/nestjs-resend#readme","bugs":{"url":"https://github.com/jiangtaste/nestjs-resend/issues"},"dist":{"shasum":"50f20879e999df0ccbcdabdfabfd060637ebf597","tarball":"https://registry.npmjs.org/nestjs-resend/-/nestjs-resend-1.0.0.tgz","fileCount":22,"integrity":"sha512-to4RD0KSVVpGH0RTU4iiJurpgu68hyB5Gv3r5IoRwFSdoGrO/WRlTMu8GhxpHDP4LOUu8+ttiQcflt3fsGcGGA==","signatures":[{"sig":"MEUCIBp0qLLg0lP4yldXh9am17OOFF/eBwnefwElbTEGUzhCAiEAhNvjq4YbCPUbi0XVtEwnxoAJ+/HdPPm4bBpJzxPo4nM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":115656},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"f1e6046d1031c27d5f5f0e60b0998483b76da2ca","scripts":{"build":"rimraf ./dist && tsc -p tsconfig.json","format":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\""},"_npmUser":{"name":"jiangtaste","email":"cn.paullee@gmail.com"},"repository":{"url":"git+https://github.com/jiangtaste/nestjs-resend.git","type":"git"},"_npmVersion":"10.8.2","description":"NestJS provider for sending emails with resend","directories":{},"_nodeVersion":"22.7.0","dependencies":{"rxjs":"^7.8.1","resend":"^4.0.0","@nestjs/common":"^10.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.1.1","rimraf":"^6.0.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^22.5.2","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@typescript-eslint/parser":"^8.4.0","@typescript-eslint/eslint-plugin":"^8.4.0"},"peerDependencies":{"rxjs":"^7.8.1","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-resend_1.0.0_1725380372700_0.7937072834047703","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"nestjs-resend","version":"1.0.1","keywords":["nestjs","nest","resend","mailgun","email"],"author":{"name":"paullee"},"license":"MIT","_id":"nestjs-resend@1.0.1","maintainers":[{"name":"jiangtaste","email":"cn.paullee@gmail.com"}],"homepage":"https://github.com/jiangtaste/nestjs-resend#readme","bugs":{"url":"https://github.com/jiangtaste/nestjs-resend/issues"},"dist":{"shasum":"5901aa389100a7c50ab36942caff216850d23a89","tarball":"https://registry.npmjs.org/nestjs-resend/-/nestjs-resend-1.0.1.tgz","fileCount":22,"integrity":"sha512-EItn3pGEYl0zbxgGqz/weS1odxL9UUB+stXljVABEypXTCamxpPA9bOL/EKzIfxWb7SRVO7rGLbPAb0+kiLq9A==","signatures":[{"sig":"MEUCICokT7gHcTM5ub4WpUZdRv0T8OX+1EA9IEDP9LxrAoFvAiEA/oeqaDuP1KtWgwlvCbsEmHUuwGt+Nuu1Fb162UNuWDE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":111086},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"aae97ec3bc547f38fdfb8fe1b01f13a7f3a7fe21","scripts":{"build":"rimraf ./dist && tsc -p tsconfig.json","format":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\""},"_npmUser":{"name":"jiangtaste","email":"cn.paullee@gmail.com"},"repository":{"url":"git+https://github.com/jiangtaste/nestjs-resend.git","type":"git"},"_npmVersion":"10.8.3","description":"NestJS provider for sending emails with resend","directories":{},"_nodeVersion":"22.9.0","dependencies":{"rxjs":"^7.8.1","resend":"^4.0.0","@nestjs/common":"^10.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.1.1","rimraf":"^6.0.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^22.5.2","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@typescript-eslint/parser":"^8.4.0","@typescript-eslint/eslint-plugin":"^8.4.0"},"peerDependencies":{"rxjs":"^7.8.1","@nestjs/common":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-resend_1.0.1_1729089897617_0.892437286224185","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"nestjs-resend","version":"1.0.2","keywords":["nestjs","nest","resend","mailgun","email"],"author":{"name":"paullee"},"license":"MIT","_id":"nestjs-resend@1.0.2","maintainers":[{"name":"jiangtaste","email":"cn.paullee@gmail.com"}],"homepage":"https://github.com/jiangtaste/nestjs-resend#readme","bugs":{"url":"https://github.com/jiangtaste/nestjs-resend/issues"},"dist":{"shasum":"06c7a019cb4d1b534f1c10375bb0a8071d4c3b6b","tarball":"https://registry.npmjs.org/nestjs-resend/-/nestjs-resend-1.0.2.tgz","fileCount":3,"integrity":"sha512-cQzhczwUUJ83c/HUWErh22bBp5qM6STUfexwqfCY+b5/nDgOzXVlfFp45GVbQHF5b0eJ+VDCwgF7VvQiBM3Iog==","signatures":[{"sig":"MEYCIQC7I8PG2gNSdHX+06spobtItUnEKcGx0SUF+RoLG0+wCAIhAJ3Z8KjdX8Yb7uBBR1vPvwFwM/WIYdU9vfSblTIAMHdj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6369},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"35ef1ced45821a8c90f20403e7e55aaa40303911","scripts":{"build":"rimraf ./dist && tsc -p tsconfig.json","format":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\""},"_npmUser":{"name":"jiangtaste","actor":{"name":"jiangtaste","type":"user","email":"cn.paullee@gmail.com"},"email":"cn.paullee@gmail.com"},"repository":{"url":"git+https://github.com/jiangtaste/nestjs-resend.git","type":"git"},"_npmVersion":"10.8.2","description":"NestJS provider for sending emails with resend","directories":{},"_nodeVersion":"20.19.2","dependencies":{"rxjs":"^7.8.1","resend":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.1.1","rimraf":"^6.0.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^22.5.2","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@typescript-eslint/parser":"^8.4.0","@typescript-eslint/eslint-plugin":"^8.4.0"},"peerDependencies":{"rxjs":"^7.8.1","@nestjs/common":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-resend_1.0.2_1750237439937_0.39536712665391915","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"nestjs-resend","version":"1.0.3","keywords":["nestjs","nest","resend","mailgun","email"],"author":{"name":"paullee"},"license":"MIT","_id":"nestjs-resend@1.0.3","maintainers":[{"name":"jiangtaste","email":"cn.paullee@gmail.com"}],"homepage":"https://github.com/jiangtaste/nestjs-resend#readme","bugs":{"url":"https://github.com/jiangtaste/nestjs-resend/issues"},"dist":{"shasum":"63c4cb9b2f1fa83c6c375d8bdd37bdc7ff6547af","tarball":"https://registry.npmjs.org/nestjs-resend/-/nestjs-resend-1.0.3.tgz","fileCount":22,"integrity":"sha512-3VcqtE8gXTw1U5bwoPWp8ydHCHSRjpMcsd/Sl8lbHbEDpURsa+w02VKMeyPP4+lCdGtd/2J9Dzu/WrRq+veoNg==","signatures":[{"sig":"MEYCIQDelTeLeVu57gMQiijLkWY6bY9Q+Rh1glpVqcRTVGG8sQIhAI0lzU4mf9SWZft55X/7cv9kiINJ8xqYz1FMNZKOBrko","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":112161},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"039c1f79754ba9d01759f25763346b54d22303cc","scripts":{"build":"rimraf ./dist && tsc -p tsconfig.json","format":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\""},"_npmUser":{"name":"jiangtaste","actor":{"name":"jiangtaste","type":"user","email":"cn.paullee@gmail.com"},"email":"cn.paullee@gmail.com"},"repository":{"url":"git+https://github.com/jiangtaste/nestjs-resend.git","type":"git"},"_npmVersion":"10.8.2","description":"NestJS provider for sending emails with resend","directories":{},"_nodeVersion":"20.19.2","dependencies":{"rxjs":"^7.8.1","resend":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.1.1","rimraf":"^6.0.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/node":"^22.5.2","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","@typescript-eslint/parser":"^8.4.0","@typescript-eslint/eslint-plugin":"^8.4.0"},"peerDependencies":{"rxjs":"^7.8.1","@nestjs/common":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nestjs-resend_1.0.3_1750237598892_0.5040061387883181","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"nestjs-resend","version":"1.1.0","description":"NestJS provider for sending emails with resend","author":{"name":"paullee"},"license":"MIT","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"rimraf ./dist && tsc -p tsconfig.json","format":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\""},"dependencies":{"resend":"^4.0.0","rxjs":"^7.8.1"},"devDependencies":{"@types/node":"^24.0.10","@typescript-eslint/eslint-plugin":"^8.4.0","@typescript-eslint/parser":"^8.4.0","eslint":"^9.1.1","eslint-config-prettier":"^10.1.5","eslint-plugin-prettier":"^5.2.1","prettier":"^3.0.3","rimraf":"^6.0.1","typescript":"^5.2.2"},"peerDependencies":{"@nestjs/common":"^11.0.0","rxjs":"^7.8.1"},"repository":{"type":"git","url":"git+https://github.com/jiangtaste/nestjs-resend.git"},"keywords":["nestjs","nest","resend","mailgun","email"],"bugs":{"url":"https://github.com/jiangtaste/nestjs-resend/issues"},"homepage":"https://github.com/jiangtaste/nestjs-resend#readme","_id":"nestjs-resend@1.1.0","gitHead":"4ef217906c29c4cd4a6b0910df5e2e2785bf137e","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-Bj0l+o9gTdSKgd/Tzt/NpneAOHXECBdoYjXty15VF0tdIRyekXiXmDtyhlpWnHF4hg+mZ4MDNMhESDtNKWhFQg==","shasum":"82a1fff52c09332e05191a1191e8cb0ee5fdd113","tarball":"https://registry.npmjs.org/nestjs-resend/-/nestjs-resend-1.1.0.tgz","fileCount":22,"unpackedSize":139791,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCID47pT4DiLULzSQbo76B5NfYVOOgmVrJP0aF22nGAqk3AiEAjA6SlVWXaCc4bQKsnPdGMygHncCEYSpwKLCIXCdaV3I="}]},"_npmUser":{"name":"jiangtaste","email":"cn.paullee@gmail.com"},"directories":{},"maintainers":[{"name":"jiangtaste","email":"cn.paullee@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nestjs-resend_1.1.0_1761709450836_0.2644446787584047"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-27T10:05:00.344Z","modified":"2025-10-29T03:44:11.257Z","0.0.1":"2023-06-27T10:05:00.659Z","0.0.2":"2023-06-27T10:09:46.407Z","0.0.3":"2023-09-22T14:22:52.387Z","1.0.0":"2024-09-03T16:19:32.889Z","1.0.1":"2024-10-16T14:44:57.793Z","1.0.2":"2025-06-18T09:04:00.098Z","1.0.3":"2025-06-18T09:06:39.070Z","1.1.0":"2025-10-29T03:44:11.059Z"},"bugs":{"url":"https://github.com/jiangtaste/nestjs-resend/issues"},"author":{"name":"paullee"},"license":"MIT","homepage":"https://github.com/jiangtaste/nestjs-resend#readme","keywords":["nestjs","nest","resend","mailgun","email"],"repository":{"type":"git","url":"git+https://github.com/jiangtaste/nestjs-resend.git"},"description":"NestJS provider for sending emails with resend","maintainers":[{"name":"jiangtaste","email":"cn.paullee@gmail.com"}],"readme":"<p align=\"center\">\n  <a href=\"http://nestjs.com/\" target=\"blank\"><img src=\"https://nestjs.com/img/logo-small.svg\" width=\"200\" alt=\"Nest Logo\" /></a>\n</p>\n\n[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456\n[circleci-url]: https://circleci.com/gh/nestjs/nest\n\n  <p align=\"center\">A simple nestjs wrapper of <a href=\"https://resend.com\" target=\"_blank\">Resend</a>. It support send mail only</p>\n    <p align=\"center\">\n<a href=\"https://www.npmjs.com/nestjs-resend\" target=\"_blank\"><img src=\"https://img.shields.io/npm/v/nestjs-resend.svg\" alt=\"NPM Version\" /></a>\n<a href=\"https://www.npmjs.com/nestjs-resend\" target=\"_blank\"><img src=\"https://img.shields.io/npm/l/nestjs-resend.svg\" alt=\"Package License\" /></a>\n<a href=\"https://www.npmjs.com/nestjs-resend\" target=\"_blank\"><img src=\"https://img.shields.io/npm/dm/nestjs-resend.svg\" alt=\"NPM Downloads\" /></a>\n</p>\n  <!--[![Backers on Open Collective](https://opencollective.com/nest/backers/badge.svg)](https://opencollective.com/nest#backer)\n  [![Sponsors on Open Collective](https://opencollective.com/nest/sponsors/badge.svg)](https://opencollective.com/nest#sponsor)-->\n\n## Features\n\n1. send email\n2. send batch emails\n\n## Installation\n\n```bash\n# npm\n$ npm install nestjs-resend\n\n# yarn\n$ yarn add nestjs-resend\n\n# pnpm\n$ pnpm add nestjs-resend\n```\n\n## Usage\n\n### Importing module\n\n```typescript\nimport { ResendModule } from 'nestjs-resend';\n\n@Module({\n  imports: [\n    ResendModule.forRoot({\n      apiKey: 'your resend api key',\n    }),\n  ],\n  providers: [],\n  exports: [],\n})\n```\n\n### Importing module async\n\n```typescript\nimport { ResendModule } from 'nestjs-resend';\n\n@Module({\n  imports: [\n    ResendModule.forRootAsync({\n      useFactory: async () => ({\n        apiKey: 'your resend api key',\n      })\n    }),\n  ],\n  providers: [],\n  exports: [],\n})\n```\n\n## Interfaces\n\n```typescript\ninterface Options {\n  apiKey: string\n}\n```\n\n## Send Email\n\n```typescript\nimport { ResendService } from 'nestjs-resend';\n\n@Injectable()\nexport class YourService {\n  constructor(private readonly resendService: ResendService) {\n\n    // text\n    await this.resendService.send({\n      from: 'you@example.com',\n      to: 'user@gmail.com',\n      subject: 'hello world',\n      text: 'it works!',\n    });\n\n    // html\n    await this.resendService.send({\n      from: 'you@example.com',\n      to: 'user@gmail.com',\n      subject: 'hello world',\n      html: '<strong>it works!</strong>',\n    });\n\n    // react\n    await this.resendService.send({\n      from: 'you@example.com',\n      to: 'user@gmail.com',\n      subject: 'hello world',\n      react: <EmailTemplate firstName=\"John\" product=\"MyApp\" />,\n    });\n\n    // To include a friendly name, use the format \"Your Name <sender@domain.com>\"\n    await this.resendService.send({\n      from: 'Your Name <you@example.com>',\n      to: 'user@gmail.com',\n      subject: 'hello world',\n      react: <EmailTemplate firstName=\"John\" product=\"MyApp\" />,\n    });\n  }\n```\n\n## Send Batch Emails\n\n```typescript\nimport { ResendService } from 'nestjs-resend';\n\n@Injectable()\nexport class YourService {\n  constructor(private readonly resendService: ResendService) {\n\n\n    await this.resendService.sendBatch([\n      // text\n      {\n        from: 'you@example.com',\n        to: 'user@gmail.com',\n        subject: 'hello world',\n        text: 'it works!',\n      },\n      // html\n      {\n        from: 'you@example.com',\n        to: 'user@gmail.com',\n        subject: 'hello world',\n        html: '<strong>it works!</strong>',\n      },\n      // react\n      {\n        from: 'you@example.com',\n        to: 'user@gmail.com',\n        subject: 'hello world',\n        react: <EmailTemplate firstName=\"John\" product=\"MyApp\" />,\n      },\n      // To include a friendly name, use the format \"Your Name <sender@domain.com>\"\n      {\n        from: 'Your Name <you@example.com>',\n        to: 'user@gmail.com',\n        subject: 'hello world',\n        react: <EmailTemplate firstName=\"John\" product=\"MyApp\" />,\n      }\n    ]);\n  }\n```\n\n## License\n\nNestjs-Resend is [MIT licensed](LICENSE).\n","readmeFilename":"README.md"}