Skip to content

Category: JavaScript

JavaScript

Adding Promise Support to a Node.js Library

I know that when I am working in JavaScript, I prefer to keep everything to using promises or async/await instead of occasionally using callbacks because a library doesn't support them.

May 2, 2022
JSForce Logo
JavaScript

Connecting to the Salesforce APIs through Node.js

There are a number of different JavaScript modules or libraries that are available on npm to connect to the different REST based Salesforce APIs. In this post, I show my favourite library.

May 1, 2022
JavaScript

How to read an Excel file in NodeJs

My favourite library for reading, writing, and manipulating Excel files in Node.JS is ExcelJS. In this tutorial, we'll look at how to install the library and how to dynamically read an Excel file.

February 8, 2022
JavaScript

Outputting a CSV File from Node.js

After reading this article, you will understand how to export data from a database or other system using a csv library in Node.js. CSV stands for common separated values file which means that data can be stored in a tabular format with commas separating each value.

June 22, 2021
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
JavaScript

How to Perform SOAP Requests With Node.js

SOAP is basically an XML based API that existed before the REST API existed. SOAP stands for Simple Object Access Protocol - it's a mostly legacy protocol that was designed for doing remote api requests in a language independent way. From time to time unfortunately, we'll need to call a SOAP API.

July 7, 2020
Cloud Computing

Best Practices for AWS Lambda & Logging

Having your application / system produce the right amount and quality of logs is just as important as having the system process the needed data because it helps make debugging easier and allows us to better optimize data. Logging on AWS lambda can be really costly if it's not done correctly.

June 16, 2020
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
What is Test Driven Development?
JavaScript

What is Test Driven Development?

TDD is a lot more than vanity metrics like the percentage of code covered by tests. Test Driven Development (TDD) is a development process that consists of the tests being designed and written before most of the code is written.

May 19, 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

Functional Programming with JavaScript

JavaScript is really suitable for function programming because of functions being first class. Functions being first class means that JavaScript treats them as a type of object.

April 28, 2020
Serverless Framework Logo
Cloud Computing

Running Serverless Framework Functions Locally

Developing locally makes a lot more sense than deploying to a dev environment consistently because it helps save time, save some cloud costs, and avoids obvious embarrassment. :)

April 21, 2020
Using Prettier to Automatically Format JavaScript
JavaScript

Using Prettier to Automatically Format JavaScript

Prettier is a code formatter that can automatically format code when save is pressed. I like using prettier to format my code because it saves me a lot of time and a lot of energy.

March 31, 2020
JavaScript

Is jQuery Dead?

I don't think jQuery is dead at this point, but it's growth seems to be slowing.

February 25, 2020