All notable changes to this project will be documented in this file.
- For any new features that have been added since the last version was released
- [Issue Number](Link to your ISSUE) | Added this.
const nodemailer = require('nodemailer'); | |
const sendgridTransport = require('nodemailer-sendgrid-transport'); | |
const transport = nodemailer.createTransport(sendgridTransport({ | |
auth: { | |
api_key: 'paste-your-api-key-here' | |
} | |
})) | |
transport.sendMail({ |
const sharp = require("sharp"); | |
sharp("Niagara-Falls-Casinos.jpg") | |
.resize({ width: 250, height: 350 }) | |
.greyscale() | |
.grayscale() | |
.negate(false) | |
.blur() | |
.toFile("output1.jpg"); |
<button type="button" onclick="printJS('docs/printjs.pdf')"> | |
Print PDF | |
</button> |