Generating A PDF in Nodejs
The PDF format is one of the most common file formats for transmitting static information. It’s a really common request for businesses to be able to export a document or data into a really well-formatted PDF file whether it be an invoice or a report.
Connecting to MySQL from Node.js
How to Write Data to An Excel file in NodeJS
Excel is a really commonly used spreadsheet program that lots of companies use to transmit data. Finding a really good library that doesn’t require Excel to exist on the server can be really hard.
Automatically Compressing Images With NodeJs
Over the years, I’ve worked on a number of projects where we deal with user or company provided images which are often very large resolutions which take a long time to download on mobile phones or or poor internet connections. This is a simple script that can be used to compress images and avoid potential costs of a service like Kraken.io
Introduction to the Knex.js Database Module
Simple Git Ignore File For NodeJS
Here’s a simple gitignore file that I start with most NodeJS projects.
5 Reasons to Use Node.js on Your Next Project
Node.js & Environment Variables
Environment variables, also known as env, allow us to have applications we build behave differently based on the environment that they are running in. Well designed applications use environment variables and allow us to rapidly deploy to new environments.