Using TypeScript with Node.js

Complete guide to using TypeORM and TypeScript for data persistence in Node.js module

(July 16, 2019) TypeORM is an advanced object-relations-management module that runs in Node.js. As the name implies, TypeORM is meant to be used with TypeScript. In this article we'll learn about using TypeORM to set up Entity objects to store data in a database, how to use a CustomRepository instance to manipulate a database table, and to use Relations between Entity instances to simulate database joins.

How to create Node.js modules using Typescript

(June 16, 2019) To use TypeScript on the Node.js platform, a core thing to learn is how to create a Node.js module using TypeScript. Obviously using TypeScript on Node.js means transpiling the TypeScript code to JavaScript in a form that is useful on Node.js. Any use of TypeScript means transpiling it to JavaScript, tailoring the generated code to the targeted environment. To target TypeScript for client side use in the browser we need one set of compiler options, and to target Node.js we need a different set of compiler options.

How to set up Typescript compiler and editing environment with Node.js

(June 2, 2019) TypeScript is growing rapidly in popularity within the JavaScript ecosystem. Where interest in JavaScript interest is relatively flat, TypeScript popularity (gauged by Google Trends) is growing fast. TypeScript offers us important data type enforcement, implemented in the compiler, for what is otherwise JavaScript code. This is potentially attractive to any large project written in JavaScript. TypeScript is easy to use on the Node.js platform, so let's see how to do so.