Skip to content

Instantly share code, notes, and snippets.

View vuk's full-sized avatar

Vuk Stanković vuk

View GitHub Profile
@vuk
vuk / mailgun.ts
Created June 21, 2021 07:21
NodeJS Mailgun
import Mailgun from 'mailgun.js';
import formData from 'form-data';
export class Util {
public static async sendEmail(
fromAddress: string,
toAddress: string,
subject: string,
html: string,
text: string,
@vuk
vuk / package.json
Last active February 28, 2018 08:17
Jest package.json config
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.{ts}",
"!src/**/*.module.{ts}",
"!src/environments/**/*.{ts}",
"!**/node_modules/**",