Skip to content

Tag: NodeJS

JavaScript

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.

February 2, 2021
nodeJS Logo
JavaScript

Connecting to MySQL from Node.js

For the most part, it seems to be that NodeSQL databases are the defacto standard with Node and JavaScript developers. Using MySQL is still an option and can make a lot of sense if the project already has an existing database.

June 2, 2020
Writing Data to An Excel File in NodeJs
JavaScript

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.

May 12, 2020
JavaScript

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

January 8, 2019
JavaScript

Introduction to the Knex.js Database Module

Knex is a JavaScript / Node.js library that is designed to make working with relational databases easier. Knex.js is a SQL query builder. It has the potential to make tdd and database versioning much easier.

May 29, 2018
JavaScript

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.

February 9, 2016