Step by step: Building and publishing an NPM Typescript package.

C-J Kihl
ITNEXT
Published in
11 min readMay 30, 2018

--

Introduction

In this guide, we will build a reusable module in Typescript and publish it as a Node.js package. I’ve seen it being done in many different ways so I want to show you how you can use the best practices and tools out there to create your own package, step by step using Typescript, Tslint, Prettier, and Jest.

--

--

Writer for

Full-stack developer and Entrepreneur. Coding and traveling the world. 🌍